smalltalk
/
osmo-st-msc
Archived
1
0
Fork 0
Commit Graph

129 Commits

Author SHA1 Message Date
Holger Hans Peter Freyther 507e1f150f bsc: Provide a log message when we do not handle the incoming connection 2011-10-20 12:51:33 +02:00
Holger Hans Peter Freyther b71af1f9d2 bsc: Create handleOneConnection so we can patch the code more easily 2011-10-20 12:17:27 +02:00
Holger Hans Peter Freyther 637f2f821e misc: Provide proper categories for the classes 2011-09-27 17:59:10 +02:00
Holger Hans Peter Freyther 141f7c640f contrib: Make sure the output is detached... 2011-09-25 14:20:41 +02:00
Holger Hans Peter Freyther 2a92c99cf2 bsc: Add another default BSC to the MSC config 2011-09-25 10:59:02 +02:00
Holger Hans Peter Freyther b2765cbd48 msc: Provide some files to generate a nice image. 2011-09-24 20:29:42 +02:00
Holger Hans Peter Freyther 53b10145d9 msc: Add an init script... 2011-09-24 20:28:38 +02:00
Holger Hans Peter Freyther e77d990cf0 msc: Bind the SIP port local too 2011-09-24 20:28:17 +02:00
Holger Hans Peter Freyther a515493057 misc: Move the sources into a subdirectory
I am still searching for a better way to group these files for
their specific main functionality.
2011-09-24 12:00:37 +02:00
Holger Hans Peter Freyther f2f0b71b04 tests: Move tests to the test directory 2011-09-24 11:38:50 +02:00
Holger Hans Peter Freyther e0f5ed1f04 call-routing: Some very simple call routing in the SWITCH 2011-09-23 16:02:58 +02:00
Holger Hans Peter Freyther 2ebffd8918 msc: Fix the state for the MO Call
It is this state now, the other one got removed.
2011-09-23 15:32:19 +02:00
Holger Hans Peter Freyther 0788326db6 mo-call: Work on ringing the phone 2011-07-21 00:03:06 +02:00
Holger Hans Peter Freyther 69282eadb1 mo-call: Remove some printf style debugging from the code 2011-07-21 00:02:35 +02:00
Holger Hans Peter Freyther 773add207e osmo: There is a one offset on timeslots and timeslots in assignment
It is most likely a bug in the osmo calculation...
2011-07-20 23:36:50 +02:00
Holger Hans Peter Freyther bc37d06fcc mo-call: Document short comings with the state handling
Point to the documentation in the hope that it will help to
understand what needs to be changed.
2011-07-20 23:35:31 +02:00
Holger Hans Peter Freyther 7a68ef5c29 mo-call: Work on connecting the two legs on callbacks
This will now connect the GSM part to the call.
2011-07-20 20:54:51 +02:00
Holger Hans Peter Freyther a0e8393e98 call: Work on connecting two legs of a call 2011-07-20 16:21:07 +02:00
Holger Hans Peter Freyther 0d9e38cc4e test: Make the smoke test run again 2011-07-15 10:06:52 +02:00
Holger Hans Peter Freyther acef6cb076 bsc: Implement queuing of MGCP messages
Introduce a queue of MGCP messages, this way we can just schedule
MDCX, MDCX, DLCX without having to worry about when things will be
executed. The assumption is that MDCX/DLCX will not be scheduled when
CRCX is in-fly and then if things timeout.
2011-06-29 14:43:07 +02:00
Holger Hans Peter Freyther 039cb8a337 mo-call: Second part of the GSM48CCStatus handling
If we did something wrong, log it somewhere and close
the transaction.
2011-06-29 14:25:19 +02:00
Holger Hans Peter Freyther b8730c4fc7 mo-call: Use Symbols for the name of the state 2011-06-29 14:18:37 +02:00
Holger Hans Peter Freyther 3b6deba99f bsc: Dispatch IPA messages using the OsmoDispatcher
Handle the incoming IPA message in the OsmoDispatcher
context. This way we don't need to care about locking.
2011-06-29 14:16:46 +02:00
Holger Hans Peter Freyther 95097f2e10 mo-call: Handle incoming GSM CC Status in case we did something wrong
GSM CC Status will inform us about stuff we didn't do correctly,
keep it and log it.
2011-06-28 21:30:48 +02:00
Holger Hans Peter Freyther 5b9377dfd4 gsmproc: Implement dispatchDTAP:, send data and sapi forward 2011-06-28 21:29:59 +02:00
Holger Hans Peter Freyther 8fec553135 gsmproc: Use channel type supported by OsmoBSC. 2011-06-28 21:28:30 +02:00
Holger Hans Peter Freyther bc3ac4e343 mo-call: take the right locks for timeouts 2011-06-28 11:58:29 +02:00
Holger Hans Peter Freyther 6d68f43046 mo-call: Deal with a disconnect, send a release, detroy on release complete 2011-06-28 11:57:54 +02:00
Holger Hans Peter Freyther dcc3a0d23f mo-call: Server side the sequence numbers must always be 0. 2011-06-28 11:57:21 +02:00
Holger Hans Peter Freyther dc7ee665f1 bsc: Send a ID ACK to the BSC once to make the osmo-bsc happy 2011-06-27 21:54:08 +02:00
Holger Hans Peter Freyther 6a7dd697fb msc: Make it possible to specify different ips for MGCP/SIP
Fall back to the normal ip if the specialized ip is not set
2011-06-25 17:12:35 +02:00
Holger Hans Peter Freyther 2bf21c0bd1 bsc: Send the call proceeding before we send the assignment command
Do not automatically send the assignment when we allocate an
endpoint but allocate it after the proceeding has been sent.
2011-06-25 16:33:18 +02:00
Holger Hans Peter Freyther a298c7a249 bsc: Save the SDP file coming from the the MGCP MGW 2011-06-25 16:31:57 +02:00
Holger Hans Peter Freyther 07bd5cd885 bsc: Remove the inspect on the incoming data, there is no value in it 2011-06-25 16:31:11 +02:00
Holger Hans Peter Freyther 263915b45b mo-call: Make it possible to provide the cause to the release method 2011-06-25 16:30:43 +02:00
Holger Hans Peter Freyther 20e32e0183 bsc: Send the assignment command first, then do MGCP
The codec selection is part of the assignment command, this is
means we can only do MGCP handling after the BSC has selected
the audio codecs and assigned the circuits. So start with the
GSM0808 assigment command, this means that we might have a MGCP
Endpoint that is reserved but doesn't have a CallID, we handle
this in the releaseAudio and free the endpoint.
2011-06-25 14:34:02 +02:00
Holger Hans Peter Freyther 4edaa36860 mo-call: Make sure we cancel the transaction properly.
Otherwise we do not stop the timer and then try to release
things twice which right now only provides a warning.
2011-06-25 14:34:02 +02:00
Holger Hans Peter Freyther 86ba2dd4d7 bsc: Provide a simple selector to take all the locks in order 2011-06-25 14:34:02 +02:00
Holger Hans Peter Freyther 7812e89b99 bsc: Use the variables inside the MGCP Endpoint 2011-06-25 14:34:02 +02:00
Holger Hans Peter Freyther b501a6c015 mgcp: Keep TS=1 blocked by default. This is not configurable right now 2011-06-25 14:34:02 +02:00
Holger Hans Peter Freyther 30883f4089 callagent: Release the audio after we get the release complete 2011-06-25 14:34:02 +02:00
Holger Hans Peter Freyther 86351baf88 misc: Add simple utility that will load all the source
This is useful when not wanting to deal with namespaces on
the CLI. Ideally this should come out of the package or create
the package.
2011-06-25 14:34:02 +02:00
Holger Hans Peter Freyther a70e8464b8 bsc: Work on MGCP and resource assignment
This will allocate a circuit on creation of a CC Setup message
and it will tear it down when the connection is going way. It
does not support MDCX or such as this will require queuing. It
also needs to be moved to a class of its own and be hooked with
a remote party...
The most confusing part is how this will morph for call holding
and such as there is only one assignment but we would have multiple
users for the audio.
2011-06-25 14:34:01 +02:00
Holger Hans Peter Freyther f365e989db mgcp: Create a MGCP CallAgent in the MSC. 2011-06-23 23:03:02 +02:00
Holger Hans Peter Freyther 20af7ec751 bsc: Remove unused code from the project 2011-06-23 22:57:00 +02:00
Holger Hans Peter Freyther 303ea0908e bsc: Make each BSC connection have a MGCPDSTrunk with the peer 2011-06-23 22:49:41 +02:00
Holger Hans Peter Freyther 7dd329388c bsc: Change order to make sure config and msc are assigned before
Make sure that #config and #msc are assigned before creating
all the other instances in socket:.
2011-06-23 21:47:23 +02:00
Holger Hans Peter Freyther 0cb46592b8 bsc: Cancel transactions without forwarding exceptions from here 2011-06-22 20:36:29 +02:00
Holger Hans Peter Freyther 5935cc373e bsc: Open a new transaction, clarify locking, test release 2011-06-21 22:02:49 +02:00
Holger Hans Peter Freyther 0b981c486d gsm: Work more on dispatching incoming messages. 2011-06-20 21:41:53 +02:00