Holger Hans Peter Freyther
1e4cb83af0
misc: Split SIPCall.st into separate files
2014-02-15 18:03:31 +01:00
Holger Hans Peter Freyther
2454ca1372
misc: Split SIPtransactions.st into one file per class
2014-02-15 17:56:49 +01:00
Holger Hans Peter Freyther
19c98f3ec9
misc: Move tests into the test directory
2014-02-15 09:47:33 +01:00
Holger Hans Peter Freyther
b739a69829
misc: Split SIPRequests.st into many files
2014-02-15 09:45:29 +01:00
Holger Hans Peter Freyther
150e7849df
misc: Move the transport code to the transport directory
2014-02-15 09:40:12 +01:00
Holger Hans Peter Freyther
ac05185999
misc: Move the auth related items to the authentication directory
2014-02-15 09:38:37 +01:00
Holger Hans Peter Freyther
13d4223a23
misc: Split the SIPParams into one class per file
2014-02-15 09:37:14 +01:00
Holger Hans Peter Freyther
9ea9eafc2a
auth: Implement handling 401 and re-sending the message with auth
...
This should work for all transactions carried out by the transaction
layer but the unit test is only created for INVITE. It has not been
verified against another SIP engine yet. It has not been verified for
BYE/ACK. Specially for ACK the code might still be wrong as the wrong
operation name is taken into account for the digest.
2014-02-14 18:50:03 +01:00
Holger Hans Peter Freyther
7294d8add0
authorization: Parse the Authorization parse of a SIP request
2014-02-14 18:34:58 +01:00
Holger Hans Peter Freyther
903594e07d
authorization: Create a class that can be added as parameter
...
We would need to have SIPParameter as a baseclass that works without
having a dataobject. Right now this is a duck-type as it implements
the used methods.
2014-02-14 17:01:24 +01:00
Holger Hans Peter Freyther
018dced6b7
callagent: Add username/password to the UserAgent
...
In preparation for handling authentication add username/password to
the SIPUserAgent class.
2014-02-14 16:59:28 +01:00
Holger Hans Peter Freyther
52927a37c3
callagent/transport: Allow to directly inject messages
...
Do not go through the code that silently catches the exception. This
is nice when using the debugger to catch the uncaught exception.
2014-02-14 16:59:25 +01:00
Holger Hans Peter Freyther
f981fda29e
callagent: Mention unhandled messages in the log
2014-02-14 16:59:22 +01:00
Holger Hans Peter Freyther
7be4c70802
callagent: Fix old issue with the >>#parameter:ifAbsent: protocol
...
Return the result of the block. This was found during the development
of the authentication handling.
2014-02-14 16:59:19 +01:00
Holger Hans Peter Freyther
7f36eeed7f
callagent: Rename parameters from request to response
2014-02-14 16:59:16 +01:00
Holger Hans Peter Freyther
fc2f937a60
callagent: Create a simple test that verifies creation of a call
2014-02-14 16:59:14 +01:00
Holger Hans Peter Freyther
193126c287
digest: Implement the digest authentication for SIP
...
This only implements one of the possible approaches for the digest
handling. This is a very simple test and the choiche of the same
username/password was a bit unfortunate.
2014-02-14 16:58:33 +01:00
Holger Hans Peter Freyther
931f2a21d6
extensions: Add copyright statements from Pharo
2014-02-12 17:18:01 +01:00
Holger Hans Peter Freyther
ed74b0c1ca
timer: Another approach to fix the issues on Pharo
...
Pharo's DateAndTime/Delay and VM interaction is bogus. If we execute
DateAndTime/Delay too early things will get stuck and take 100% of
the CPU.
2014-02-12 17:15:20 +01:00
Holger Hans Peter Freyther
abc1a933fd
transport: Move the two transport classes into separate files
...
Follow the one class per file rule and split things up.
2014-02-11 22:57:27 +01:00
Holger Hans Peter Freyther
e231ae6f8e
auth: Extend Grammar and Parser to properly parse the WWW-Authenticate
...
Update the grammar to handle the WWW-Authenticate according to the
RFC. Add the parser to compact everything into a Dictionary. Add the
realm last to avoid being overwritten with another parameter.
2014-02-11 17:35:17 +01:00
Holger Hans Peter Freyther
5de74be83c
grammar: Fix the quoted_string parsing by fixing the grammar
...
SWS is optional and will always match. This means the SWS rule
would match everything and we would never finish. Norbert has
pointed out that an optional element will match but not consume
anything. One should avoid a rule like aParser optional plus.
2014-02-11 17:35:17 +01:00
Holger Hans Peter Freyther
e2372f67e8
sms: Fix the round-trip test for RP handling.
...
Fix the round-trip handling. This is still missing for message
types in other directions as this would require me writing test
cases first. I will get to that.
2014-02-09 22:05:15 +01:00
Holger Hans Peter Freyther
abbad4a7af
tlv: Only write a tag if it was forced or the type is optional
2014-02-09 22:04:04 +01:00
Holger Hans Peter Freyther
1dd46f82bb
sms: Work on decoding RP-DATA/RP-ACK/RP-ERROR/RP-SMMA messages
...
Done on the flight to iceland, comitted in the bus to the hotel. It
is a bit rushed as the battery runs low. Updated the test result as
the RP-UserData was short in the other data
2014-02-09 15:36:32 +01:00
Holger Hans Peter Freyther
564087a32d
tlv: Introduce a LV type as well.
...
This will be used by GSM 04.11 RP-IEs
2014-02-09 14:01:53 +01:00
Holger Hans Peter Freyther
6ddaa3cd5b
sccp: GTI means global title indication but we work with GTs
...
Rename some methods as we work with global titles and not the
global title indication.
2013-11-12 16:09:31 +01:00
Holger Hans Peter Freyther
13eff3cdf9
sccp: Add SSN for the SGSN
2013-11-09 16:11:51 +01:00
Holger Hans Peter Freyther
c729a99672
sccp: Kill the encoding and encode the extra 4 bits as 16r0 and not 16rF
2013-10-14 15:04:43 +02:00
Holger Hans Peter Freyther
ce4840a077
tests: Add a testcase of some encoding issue i suspected
...
I added a testcase because I suspected a decoding issue but
it turns out that this was not the case..
2013-10-08 16:09:49 +02:00
Holger Hans Peter Freyther
3e2be093de
delay: Try to make it work better on Pharo
...
Do not attempt to terminate a process, just signal the lastDelay
to kick the queue again.
2013-10-07 11:49:02 +02:00
Holger Hans Peter Freyther
515198af76
debian: Update the changelog after the merge
2013-09-13 11:07:38 +02:00
Holger Hans Peter Freyther
677317abc6
Merge branch 'master' of git://git.osmocom.org/smalltalk/osmo-st-gsm
2013-09-13 11:07:07 +02:00
Holger Hans Peter Freyther
7b76b7bf06
gsm: Add DST IE to the MM Information message
2013-09-13 11:06:28 +02:00
Holger Hans Peter Freyther
9f1a49c6d5
debian: Upgrades
2013-08-28 10:11:37 +02:00
Holger Hans Peter Freyther
28bdd10ff7
Merge branch 'master' of git://git.osmocom.org/smalltalk/osmo-st-openbsc-test
2013-08-28 10:10:10 +02:00
Holger Hans Peter Freyther
83434561ff
merge osmo-st-openbsc-test again
2013-08-28 10:07:45 +02:00
Holger Hans Peter Freyther
a52b6b884f
Merge branch 'master' of git://git.osmocom.org/smalltalk/osmo-st-gsm
2013-08-28 10:03:35 +02:00
Holger Hans Peter Freyther
9b0a1c23d0
gsm: Fully parse the GSM48 Channel Mode Modify message
...
Add the element id for the MultiRate Configuration to fully parse
this message.
2013-08-27 17:48:02 +02:00
Holger Hans Peter Freyther
73dbc2941c
gsm: Introduce the minimal Ciphering Mode Complete class
2013-08-27 17:43:26 +02:00
Holger Hans Peter Freyther
4721872838
gsm: Create a Ciphering Mode Command (complete is still missing)
...
Create a ciphering mode command and be able to parse it.
2013-08-27 17:29:03 +02:00
Holger Hans Peter Freyther
5800d96fb2
bts: Dispatch the l3Info of the encryption command to the lchan
2013-08-27 16:38:45 +02:00
Holger Hans Peter Freyther
c9dd990360
rsl: Introduce the RSL Encryption Command
2013-08-27 16:38:45 +02:00
Holger Hans Peter Freyther
92add56e05
osmo: Add hostname/port to the error messages
2013-08-19 13:23:36 +02:00
Holger Hans Peter Freyther
5b48038ca8
tests: Move the GSNNumberDigit Test to a dedicated test class
...
This makes jump to test work on Pharo
2013-08-14 15:50:10 +02:00
Holger Hans Peter Freyther
ac5b3c08fc
GSMNumberDigit: Make this code work on Pharo
...
* Use WriteStream>>#contents instead of the OrderedCollection>>#asString
* Character eof does not exist.. use any other character for the marking
2013-08-14 15:50:10 +02:00
Holger Hans Peter Freyther
6a12deef01
gsm: Use variables of the class and not classVariables
2013-08-14 15:50:10 +02:00
Holger Hans Peter Freyther
7319b034c8
gsm: Remove inline comment as the STInST parser hates those
2013-08-14 13:43:12 +02:00
Holger Hans Peter Freyther
108ff0b0b1
isup: Fill out the category encodings from Q.763
...
These are used by GSM MAP. So specify the encoding here..
2013-08-13 16:27:35 +02:00
Holger Hans Peter Freyther
00826da5db
sccp: Merge SCCPAddress>>#createForSSN: from norbert, create a test
2013-07-16 08:13:51 +02:00