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

2065 Commits

Author SHA1 Message Date
Holger Hans Peter Freyther 9a5113a220 Add 'osmo-st-asn1/' from commit '4e3227730b0f8e48fc4513d0d614d90f52531678'
git-subtree-dir: osmo-st-asn1
git-subtree-mainline: ef0d35037f
git-subtree-split: 4e3227730b
2014-06-04 15:45:02 +02:00
Holger Hans Peter Freyther ef0d35037f Add 'osmo-st-mgcp/' from commit '948264560fa608c487bf3cccd2055cb919ebbbb0'
git-subtree-dir: osmo-st-mgcp
git-subtree-mainline: 3ee982fe7a
git-subtree-split: 948264560f
2014-06-04 15:45:02 +02:00
Holger Hans Peter Freyther 3ee982fe7a Add 'osmo-st-network/' from commit 'cb55eb5dcf67fbe1ca02e12cd3ccc25df4847ee2'
git-subtree-dir: osmo-st-network
git-subtree-mainline: b9597ffde5
git-subtree-split: cb55eb5dcf
2014-06-04 15:45:02 +02:00
Holger Hans Peter Freyther b9597ffde5 Add 'osmo-st-logging/' from commit 'f900c8fc6ef9b7ff54f0d57d092ac6b9d175460b'
git-subtree-dir: osmo-st-logging
git-subtree-mainline: b31b45c939
git-subtree-split: f900c8fc6e
2014-06-04 15:45:02 +02:00
Holger Hans Peter Freyther b31b45c939 Add 'osmo-st-core/' from commit '9e0df13ec7f54813129f5f9851cb233445455608'
git-subtree-dir: osmo-st-core
git-subtree-mainline: 65bcdcb12b
git-subtree-split: 9e0df13ec7
2014-06-04 15:45:02 +02:00
Holger Hans Peter Freyther 65bcdcb12b merge: Work on the init.. 2014-06-04 15:44:52 +02:00
Holger Hans Peter Freyther b96b0d2d93 Start over using git subtree's. What a mess
It is pretty clear that the idea of simply grouping all of these
together will not work. Let's see how far we get with the plain
git subtree though.
2014-06-04 15:44:03 +02:00
Holger Hans Peter Freyther 3794dfe753 merge: Start to use git-subtree again the subtree merge is broken
I am struggling with not everything being merged properly..
2014-06-04 15:38:07 +02:00
Holger Hans Peter Freyther 348d52c79c debian: Prepare a new debian release 2014-06-03 08:45:32 +02:00
Holger Hans Peter Freyther 1a3f5cb16a Merge remote-tracking branch 'osmo-st-sip/master' 2014-06-03 08:44:49 +02:00
Holger Hans Peter Freyther 446eb1a586 Merge remote-tracking branch 'osmo-st-msc/master' 2014-06-03 08:44:48 +02:00
Holger Hans Peter Freyther b510631ac0 Merge remote-tracking branch 'osmo-st-gsm/master' 2014-06-03 08:44:47 +02:00
Holger Hans Peter Freyther 70d1772e5b Merge branch 'master' of git://git.osmocom.org/smalltalk/osmo-st-asn1 2014-06-03 08:44:46 +02:00
Holger Hans Peter Freyther 0b3326286b Merge remote-tracking branch 'osmo-st-mgcp/master' 2014-06-03 08:44:44 +02:00
Holger Hans Peter Freyther a4d7a609f7 Merge remote-tracking branch 'osmo-st-network/master' 2014-06-03 08:44:42 +02:00
Holger Hans Peter Freyther 65ef8d820c Merge remote-tracking branch 'osmo-st-core/master' 2014-06-03 08:44:40 +02:00
Holger Hans Peter Freyther 8b626c8a52 parser/grammar: Be able to parse domain used by Yate.
It looks like "domain" is not proper in yate. Just parse it as
numbers and words.
2014-06-02 22:06:31 +02:00
Holger Hans Peter Freyther 24dbbc986c callagent: Avoid running into the EndOfStream exception 2014-06-02 21:34:22 +02:00
Holger Hans Peter Freyther 58cd187895 call: Provide access to the remote SDP file 2014-06-02 20:51:50 +02:00
Holger Hans Peter Freyther cb55eb5dcf osmo: Allow to have a CtrlTrap filter on the message sent as well
This is in preparation for being able to parse notifications.
2014-06-01 20:11:46 +02:00
Holger Hans Peter Freyther 948264560f sdp: Parse the SDP file in the command like it is done in the response 2014-05-30 19:01:26 +02:00
Holger Hans Peter Freyther 2796b46a1f align: Align command and response handling
Make sure that both have a transactionId setter and getter
2014-05-30 18:00:11 +02:00
Holger Hans Peter Freyther 2b5089d84d mgcp: Be able to parse a Osmocom transaction ID
the namespace nat-NUMBER is not valid according to the grammar.
Add an optional extension for it and add a testcase. In case
we get too many extensions we might introduce a MGCPGrammar
subclass for osmocom.
2014-05-29 21:52:50 +02:00
Holger Hans Peter Freyther da6b556696 mgcp: Fix the name of the AUEP command 2014-05-29 21:32:53 +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 f0549c2df8 command: Be able to parse a MGCP Command
The Command and Response code could and should share parts. Start
with slowly aligning the APIs and begin being able to parse a
command from a string.
2014-05-28 18:49:14 +02:00
Holger Hans Peter Freyther 8a820162d2 invite: Verify we have a remoteSDP file and it is matching
This way we can fully handle a session once the sessionNew selector
is called by the code.
2014-05-28 12:05:12 +02:00
Holger Hans Peter Freyther 1a3d577894 invite: Debug/test the re-transmit handling and fix it 2014-05-28 12:04:32 +02:00
Holger Hans Peter Freyther 3864d6ae2f invite: Add code to get all the way to an ACKed session
What is probably missing is to start a timer in case something
is not acked to have a call timedout and to send a failure message
to the other side.
2014-05-28 12:04:07 +02:00
Holger Hans Peter Freyther 01260bb20e invite: Deal with re-transmit of a rejected call
In case our reject does not arrive and is re-transmitted we
should reject it too.

* Modify SIPDialog>>#checkCompatible. We have to accept that
  the remote does not know the tag we assigned. Be more forgiving
* Send the INVITE again and count our rejects.
2014-05-28 12:03:45 +02:00
Holger Hans Peter Freyther b2099a8474 invite: First shot at handling the SIP Invite
Create a SIPIncomingCall and register the dialog. The "Via" and
remote handling is broken. The "respond with" is broken too. The
whole dialog/request passing to the UserAgent is broken and needs
to be fixed.
2014-05-28 11:53:17 +02:00
Holger Hans Peter Freyther 69810d6afa invite: Create a base class for the "call"
I nee to differentiate between incoming and outgoing calls. At
the same time a lot of logic can be shared. Specially at the
time the call is established the hangup will work the same on
both sides.
2014-05-27 18:21:18 +02:00
Holger Hans Peter Freyther 77ef4b6ece session: Fix a typo/grammar in the comment 2014-05-27 15:15:16 +02:00
Holger Hans Peter Freyther a819a8b877 invite: Begin to handle the incoming INVITE from the network
Add a new test, inject a SIP Invite. Verify that the SIPUserAgent
rejects the invite.
2014-05-27 15:01:50 +02:00
Holger Hans Peter Freyther 15f1f07631 parser: Be aple to parse From/To with display_name in it
A rule like "ANY star / quoted_string" will only parse the ANY
rules for '0' times. Change the order to avoid this and add a
small test that we properly parse the From address now.
2014-05-27 14:55:18 +02:00
Holger Hans Peter Freyther 33f1e40cbe parser: Fix the grammar and update the example message
token requires the presence of at least one match. The usage of
star has been wrong and is corrected now. This was seen due not
being able to parse a From address that included a diplay name.
Remove the trailing ";" to fix the parsing bug.
2014-05-27 14:55:18 +02:00
Holger Hans Peter Freyther 100d6bcb10 misc: Update the TODO entry for generalparts
When we receive a message and there is rport and such set we
should include the "seen" remote address in the VIA. The code
should also handle having multiple VIA entries as per the spec.
2014-05-27 14:55:18 +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 1a634a1492 identity: Remove use the "contact" and userString from SIPIdentity
The code allows (and that looks like a good thing) to have a different
from and username in the authorization. The userString was not really
right as it was missing the URL part (sip/sips) and the splitting was
broken as well.
2014-04-22 14:39:42 +02:00
Holger Hans Peter Freyther e89ddfa07a identity: Fix the identity string for the from 2014-04-22 14:39:11 +02:00
Holger Hans Peter Freyther 0c609b9975 identity: Move the identity into the SIPDialog
This way the one that creates a dialog needs to decide which
identity will be used.
2014-04-22 14:18:26 +02:00
Holger Hans Peter Freyther 11bb698a0b tlv: Write the tag for conditional elements too
This was found while searching for regressions in the FakeBTS code.
2014-04-19 09:55:19 +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