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

129 Commits

Author SHA1 Message Date
Holger Hans Peter Freyther 6dce5cca43 api: Catch up with GNU Smalltalk changes to >>#new
In master >>#new will call initialize but we don't want to call
>>#initialize before we have set some instance variables. Use the
>>#basicNew to avoid that.
2016-08-07 18:03:51 +02:00
Holger Hans Peter Freyther d78dfc41aa call: Fix syntax error and see how smoke test looks like after 2016-08-07 17:55:54 +02:00
Holger Hans Peter Freyther befb7a50f7 mgcp: Catch-up with latest API change in the MGCPCommand code
>>#parameterAdd: string has been remove we now want to have the
key/value of it.
2014-05-28 18:50:20 +02:00
Holger Hans Peter Freyther f815b6dece sip: In case the redirect does not return a call release the other end
Deal with a possible failure in the redirect case. Release the
remoteLeg if no new B-leg could be selected.
2014-04-22 17:44:04 +02:00
Holger Hans Peter Freyther 333d67ef4f sip: Assign an MSC identity to a call
For some usecases we have a list of identities and when selecting
a route an unused identity/line needs to be used. Keep track of
which lines/identities we are using.

The code might release a line too early. There should probably
be another call in Osmo.SIPCall to inform the code when the call
has "terminated" in one way or another (busy, cancel, failure,
remote hangup, local hangup, redirected, etc). Right now it could
still happen than an identity remains used.
2014-04-22 17:40:42 +02:00
Holger Hans Peter Freyther 547b7e1531 sip: Introduce a SIPIdentityManager to register and manage identities
A list of identities can be added and they will be re-gistered
and re-registered. The manager can be asked which of the of the
identities are available. This is understood as being registered.
2014-04-22 16:50:45 +02:00
Holger Hans Peter Freyther 8c4ca4a6d4 fallout: Fix the package.xml, load OsmoSIP and move the call class 2014-04-22 16:46:14 +02:00
Holger Hans Peter Freyther 58ce6ef2b9 start: Fix-up the Start script with the split-up classes 2014-04-22 14:50:25 +02:00
Holger Hans Peter Freyther 1347876255 auth: Split the authentication code into one file per class 2014-04-07 16:29:25 +02:00
Holger Hans Peter Freyther 74f873e219 call: Move things around to provide a better structure 2014-04-07 16:14:41 +02:00
Holger Hans Peter Freyther fab3bf3d7c call; Handle "180 ringing" as ringing as well
Without handling "180 ringing" as alert we will not inform the
other side of the leg about our progress. A mobile station will
send a CC disconnect 30 seconds after it received the proceeding
information.
2014-04-07 16:10:37 +02:00
Holger Hans Peter Freyther b98ef6f373 misc: Forget about some of the objects to help the GC
After we are done using these objects we can set the
reference to nil. This way the GC can recycle them
more quickly.
2014-04-07 16:08:40 +02:00
Holger Hans Peter Freyther 0481c085f1 audio: Implement handling SIP 30X redirects by starting another call
When we receive a SIP 30X redirect we need to open a new leg and
replace it. We do this through the MSCApplication and tell the
other one.
2014-04-07 16:08:40 +02:00
Holger Hans Peter Freyther b9ecb4ecba audio: Enable full-rate as possible audio codec too 2014-04-07 16:08:40 +02:00
Holger Hans Peter Freyther a58b3db652 auth: Do not handled EndOfStream Notification and notifications in general
Catching Exception will catch all Notifications and then even
generating a branch will be broken.
2014-04-07 16:08:40 +02:00
Holger Hans Peter Freyther b880a99070 msc: Fix fall-out from auth handling in the the processor
We can continue if the state is either auth or ack. Probably only
when it is in the state auth.
2014-03-13 21:34:48 +01:00
Holger Hans Peter Freyther 1fae9e46ab misc: Add git ignore file to ignore vim files 2014-03-13 12:39:35 +01:00
Holger Hans Peter Freyther b02113d070 test: Splity tests into file per class 2014-03-13 12:38:59 +01:00
Holger Hans Peter Freyther 69ca1cbe52 Merge branch 'zecke/gsm-auth'
This adds the authenticator features to the MSC. It sits on the
disk for far too long. So let's just merge this and be done with
it.
2014-03-13 09:20:24 +01:00
Holger Hans Peter Freyther e7d6ff2730 misc: Make the categories match the package name to ease exporting 2014-03-13 09:17:37 +01:00
Holger Hans Peter Freyther 2b233e68c5 paging: Introduce a paging manager than can page on all BSCs 2014-03-13 09:17:37 +01:00
Holger Hans Peter Freyther 91d3d3ef7a config: Keep the current connection inside the BSCConfigItem
For paging we will need to go from the MSC to the BSCs and then to the
connection to enqueue the paging messages.
2014-03-13 09:17:37 +01:00
Holger Hans Peter Freyther bb38dd32ea emergency: Be able to set-up an emergency call
Re-use the GSMMOCall for the emergency call setup. Add a special
route for the emergency setup as there is no number.
2014-03-13 09:17:37 +01:00
Holger Hans Peter Freyther b174396fe7 cm: Deal with CM Service Requests to a certain degree.
The CM Service Request accepts the service and then we need to
wait for the real service. It could check if the requested service
is matching with the 'inital' message but this is not done yet.

The biggest issue is in the hand-over from CMServiceRequest to the
real request. Right now a second SMS submit would break things
up.
2014-03-13 09:17:37 +01:00
Holger Hans Peter Freyther 8f7a9ea8a5 auth: Make the authenticator more strict and check the initial message.
The initial message needs to be one that is specified in GSM 08.08. We
do not support all of the messages yet but it is a start. On top of that
we also support to start with a CC Setup message.
2014-03-13 09:17:37 +01:00
Holger Hans Peter Freyther 587c1c3683 auth: Introduce an authenticator that asks for the IMSI 2014-03-13 09:17:37 +01:00
Holger Hans Peter Freyther 7382efcf16 gsm: Introduce the concept of an authenticator for a channel
The role of the authenticator is to collect information about
the subscriber and allow the GSMProcessor to accept the service,
enable encryptionor whatever is needed.
2014-03-13 09:17:37 +01:00
Holger Hans Peter Freyther cde5fb69e7 lu: Send a LU Reject when the procedure times out. 2014-03-13 09:14:12 +01:00
Holger Hans Peter Freyther 8d016159b6 lu: Add some logging to the LURequest stub 2014-03-13 09:14:12 +01:00
Holger Hans Peter Freyther 26c5d2dd02 ow: Change the way the image is started and configured 2012-11-20 19:09:43 +01:00
Holger Hans Peter Freyther 259976e68a gsm: Introduce the concept of an authenticator for a channel
The role of the authenticator is to collect information about
the subscriber and allow the GSMProcessor to accept the service,
enable encryptionor whatever is needed.
2012-10-28 10:36:06 +01:00
Holger Hans Peter Freyther e0ddeacc00 gsm: Refactor opening a transaction allowing for authentication
Make it possible to add authentication into a central place of
the MSC. Right now a prcedure will allocate the transaction and
then add it to the connection. The connection can decide when the
transaction is started.
2012-10-28 09:50:54 +01:00
Holger Hans Peter Freyther 88f4bab1d6 gsm: Make the debug output fit onto my terminal screen 2012-10-28 09:10:50 +01:00
Holger Hans Peter Freyther 1f8b3c8a64 contrib: Use the --daemon option for the start script 2012-10-12 13:03:46 +02:00
Holger Hans Peter Freyther 7dd05bf97e msc: One start script is enough 2012-10-12 13:02:57 +02:00
Holger Hans Peter Freyther c8b5c70f6a msc: Flush the package cache to be able to relocate the image
The system GST must have the package cache in different directories.
Flush the cache before saving the image.
2012-09-10 00:05:54 +02:00
Holger Hans Peter Freyther eb6317ba50 init: Add a init script for the MSC, tested on debian stable 2012-08-21 13:10:40 +02:00
Holger Hans Peter Freyther 86236a7791 process: Label the processes started by the MSC 2012-08-09 03:11:14 +02:00
Holger Hans Peter Freyther 382a7b8e5b msc: Attempt to restart the existing MSC when an image is resumed 2012-08-09 03:11:14 +02:00
Holger Hans Peter Freyther b4156fafbf gsm: Add a way to handle incoming CM Updates.
A CM Update would cause an unhandled exception and release
a call/SMS. Add a stub for the CM update.
2012-08-08 17:32:39 +02:00
Holger Hans Peter Freyther 5c813bb6e2 ipa: Remove IPADispatcher>>#initializer as it is called by >>#new now 2012-07-28 20:07:06 +02:00
Holger Hans Peter Freyther 66e565df5e bsc: Fix the test failure by initializing the osmoExtension 2012-04-06 19:46:55 +02:00
Holger Hans Peter Freyther 889e86d488 bsc: Send the Osmo RSIP extension to our bsc to reset the mediagateway 2012-04-06 19:34:59 +02:00
Holger Hans Peter Freyther 37c768d3cb tests: Use "self deny: aBoolean" instead of "self assert: aBoolean not" 2012-03-30 13:41:35 +02:00
Holger Hans Peter Freyther d27648f276 tests: Fix two test failures in the socket handling code 2012-03-30 13:41:10 +02:00
Holger Hans Peter Freyther e141dd4568 gsm: Split out the LURequest to start with GSM LU requests. 2012-03-30 09:04:46 +02:00
Holger Hans Peter Freyther eff4c24e8a misc: Add a category 2012-03-30 09:02:44 +02:00
Holger Hans Peter Freyther 22dbe844e8 ipa: Start to send PING and wait for the pong from the remote 2012-02-21 16:16:31 +01:00
Holger Hans Peter Freyther 7af3b25ebf bsc: Move out the SCCPHandler into a new file 2012-02-21 16:07:49 +01:00
Holger Hans Peter Freyther 157518a9d6 [BSC] Move the TX queue draining to a separate method
This way we can replace the code from one function call
to another.
2012-02-09 23:37:24 +01:00