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

2135 Commits

Author SHA1 Message Date
Holger Hans Peter Freyther 718ab61e79 Update with more recent code for various libs 2015-01-23 09:41:06 +01:00
Holger Hans Peter Freyther aba6a6f030 Merge commit '89e653a41aff48b9d861673affd17722744ed8cb' 2015-01-23 09:39:33 +01:00
Holger Hans Peter Freyther 6708e54159 Merge commit 'd5248eceecd9d2f8c7061538163bc8ec80168dfc' 2015-01-23 09:36:54 +01:00
Holger Hans Peter Freyther ea1d89b8e8 Merge commit 'ab3b8e23fdf2cf40847bdcc854e14207908d1391' 2015-01-23 09:35:42 +01:00
Holger Hans Peter Freyther 89e653a41a call: Handle CANCEL and verify that the right messages are returned
The code does not verify that sessionFailed is called but it
does verify that the dialogue is scheduled for removal and
that 487/200 is returned.
2014-08-29 20:44:10 +02:00
Holger Hans Peter Freyther 9161371a32 perf: Various changes to speed up various operations
* Do not use >>#instVarNamed:put: but add selectors
* Pre-allocate some arrays with a default string to avoid
  re-allocations at the start
* Share same parser trees to avoid construction costs
* Remove some lazy allocation and always allocate it
2014-08-29 20:39:46 +02:00
Holger Hans Peter Freyther d5248eceec mgcp: Be able to parse the X-Osmux extension we have 2014-08-26 19:04:52 +02:00
Holger Hans Peter Freyther ab3b8e23fd messages: Use self error: here as well 2014-08-20 23:21:29 +02:00
Holger Hans Peter Freyther fb5ddd43bb gsm: Use "self error:" instead of Exception signal
The issue is that [] on: Error do: [] will not handle the
Exception. Use the plain self error handling.
2014-08-20 23:14:42 +02:00
Holger Hans Peter Freyther a536a7a788 callagent: Do not mix From/To in the response we generate
In the SIPDialog we need to switch from/to to send messages
from the right "From" but for a response we musn't do that.
YATE doesn't like if we respond with From/To mixed to their
BYE request.
2014-08-10 20:36:14 +02:00
Holger Hans Peter Freyther 1a20f003aa misc: Re-use the parser for a great speed-up during the tests
Creating a PetitParser is expensive due the usage of >>#become:
so let us re-use the one from the SIPCallAgent.
2014-08-10 20:28:59 +02:00
Holger Hans Peter Freyther 1e43d02ed3 transaction: ACK the 401 Unauthorized message before we change
So this code acks the 401 Unauthorized message. It is possible
that this message is lost on the way we will not be able to
respond to the 401 again. The right thing would be to "fork" off
the transaction to deal with re-transmissions.
2014-08-10 19:49:05 +02:00
Holger Hans Peter Freyther df79f4c469 call: Deal with both ends hanging up at the same time 2014-08-10 19:39:28 +02:00
Holger Hans Peter Freyther 0ffe0afcb5 Add >>#endpointNumber and add some test cases for it. 2014-08-09 21:15:20 +02:00
Holger Hans Peter Freyther 9bd9a9e3b6 Add a routine to just expand from 7bit packing to unpacked
Modernize the tests. Use #[] if we want a ByteArray and use
>>#asert:equals: to see what is going on.
2014-07-29 17:13:27 +02:00
Holger Hans Peter Freyther 77d1ac2eab misc: Ease porting to pharo
In Pharo ByteArray does not inherit from Array but directly from
the ArrayedCollection class. Move the extensions one level up.
2014-07-29 17:04:06 +02:00
Holger Hans Peter Freyther 88c8005597 misc: Make code more portable by using "self basicNew initialize" 2014-07-24 15:49:29 +02:00
Holger Hans Peter Freyther aa8d9b64c6 misc: Use "self basicNew initialize" to be portable 2014-07-24 15:45:42 +02:00
Holger Hans Peter Freyther 18c4ddfd7b misc: Ease porting and use "self basicNew initialize" for init
self basicNew initialize will work on Pharo and various versions
of GST and will make sure to call initialize exactly once.
2014-07-24 15:42:51 +02:00
Holger Hans Peter Freyther 216c6fdcb6 mgcp: We want to create an Error and raise it here
This is not a log message. This means the area: argument of the
message is completely bogus. Found while running a MGCP CallAgent
and the MGCP GW was restarting.
2014-07-10 18:58:45 +02:00
Holger Hans Peter Freyther 4e38ef3ece call: For a re-invite we need to handle the ACK
In case the remote will do a re-invite to verify that we are
still aware of the call we need to handle >>#sessionAcked:dialog:

This probably got introduced when I introduced the incoming
call support that will send a 200 and receive the ACK.

The incoming call will print a warning that session->session is
not a valid state transition but nothing bad will happen.
2014-07-04 19:34:34 +02:00
Holger Hans Peter Freyther 854d244d69 gsm: Be able to parse a GSM CC Progress message 2014-06-20 18:34:45 +02:00
Holger Hans Peter Freyther 91a745ba90 todo: We need to implement record-route and route parsing for SIPgate
This means that the way we look at headers we need to support a list
of them.
2014-06-20 18:24:37 +02:00
Holger Hans Peter Freyther 89ea51e62e Merge commit '804459c35a35d9baefb585be3864207b13f0018d' 2014-06-20 15:15:07 +02:00
Holger Hans Peter Freyther 804459c35a proxy: And once more. 2014-06-20 15:14:44 +02:00
Holger Hans Peter Freyther f7ca85944e Merge commit 'cc1d2d3e2fa1ac6753124a9d3aea30da63f328e3' 2014-06-20 15:12:12 +02:00
Holger Hans Peter Freyther cc1d2d3e2f auth: qop is not included by sipgate as well.. 2014-06-20 15:11:39 +02:00
Holger Hans Peter Freyther 47af3d82cc Merge commit 'b0fae4c117c5b8a133f834d8bff9c33587ad9a18' 2014-06-20 15:01:33 +02:00
Holger Hans Peter Freyther b0fae4c117 proxy: Add the same default handling for md5 2014-06-20 15:00:43 +02:00
Holger Hans Peter Freyther 4bf83bb523 call: Fix typo in the selector name 2014-06-20 14:35:35 +02:00
Holger Hans Peter Freyther 174eda0d3d Merge commit 'e2d1145639e12ad39dc1ef155317c63aa32fda5c' 2014-06-20 14:20:27 +02:00
Holger Hans Peter Freyther e2d1145639 auth: Sipgate doesn't send the algorithm. assume it is md5 2014-06-20 14:19:10 +02:00
Holger Hans Peter Freyther e530befe91 debian: New release 2014-06-19 16:00:15 +02:00
Holger Hans Peter Freyther e111d60a19 Merge commit 'eb578aa93e3bc6ddabac0c1a669eb4f700686e96' 2014-06-19 15:59:42 +02:00
Holger Hans Peter Freyther 6787db7873 Merge commit '08ebcfdab3cd161bb111851bbb5d74f80aff97d0' 2014-06-19 15:59:37 +02:00
Holger Hans Peter Freyther 9f175bb3f3 Add new script 2014-06-19 15:59:27 +02:00
Holger Hans Peter Freyther 08ebcfdab3 mgcp: Be able to parse the grammar of custom transids correctly 2014-06-16 16:24:23 +02:00
Holger Hans Peter Freyther eb578aa93e call: Document the "sessionAcked" thinko and deal with it later 2014-06-16 15:45:40 +02:00
Holger Hans Peter Freyther 29242f86a1 call: End the session at any hangup result
E.g. the hangup could have failed due the other side already
having hung up but at some point we need to stop caring about
it.
2014-06-05 17:24:39 +02:00
Holger Hans Peter Freyther a28c2ab64c response: Provide a Content-Type/Content-Length as well 2014-06-05 16:30:16 +02:00
Holger Hans Peter Freyther 9f7a78bddf Merge commit '160b36056a1d64760272b8e4b2fb31c96be36b38' 2014-06-05 15:50:45 +02:00
Holger Hans Peter Freyther 160b36056a invite: Extend the testcase to actually ask for hanging up 2014-06-05 15:49:52 +02:00
Holger Hans Peter Freyther 1e5074b64b debian: New packages 2014-06-05 11:51:34 +02:00
Holger Hans Peter Freyther 9c17d23b0c Merge commit '00ee3d0ea0cda615ba58705d08380a116193743d' 2014-06-05 11:50:59 +02:00
Holger Hans Peter Freyther 70eea3b0db Merge commit 'afb53fc0d0e549ede7b3784c15bc207f59bee5f1' 2014-06-05 11:49:33 +02:00
Holger Hans Peter Freyther 00ee3d0ea0 gsm0808: Be able to parse a ciphering mode complete with layer3 contents 2014-06-05 10:53:52 +02:00
Holger Hans Peter Freyther 33822fb05f debian: New package time 2014-06-04 15:56:28 +02:00
Holger Hans Peter Freyther 6c8203034b Add 'iliad-stable/' from commit '3469a322b9cae17d452fae1b38d661e14e4ae902'
git-subtree-dir: iliad-stable
git-subtree-mainline: ab8662178b
git-subtree-split: 3469a322b9
2014-06-04 15:55:48 +02:00
Holger Hans Peter Freyther ab8662178b Add 'grease/' from commit '131f4216188310992db37836e0ea248a9a152406'
git-subtree-dir: grease
git-subtree-mainline: 9cda4fc259
git-subtree-split: 131f421618
2014-06-04 15:55:12 +02:00
Holger Hans Peter Freyther 9cda4fc259 Add 'osmo-st-openbsc-test/' from commit '4cd403960d34a240e9613e01cbe2e21c9e5918b9'
git-subtree-dir: osmo-st-openbsc-test
git-subtree-mainline: d27132a75e
git-subtree-split: 4cd403960d
2014-06-04 15:45:03 +02:00