Holger Hans Peter Freyther
61ed86368d
sccp: Create a SCCPConnection on a handler, then open it
...
Change the way a SCCPConnection is created, this way the connection
only registers with the handler to get a srcRef generated and then
can open the connection.
2011-06-15 21:17:58 +02:00
Holger Hans Peter Freyther
f4f6563254
sccp: Remove the blocking interface from the SCCP code.
2011-06-15 18:39:05 +02:00
Holger Hans Peter Freyther
0c55cb053c
gsm: Make the extend work with and without namesapces
...
Start looking from the OsmoGSM namespace.
2011-06-15 16:55:40 +02:00
Holger Hans Peter Freyther
687815f60f
sccp: Make the initial dispatch based on overloading
2011-06-15 16:49:26 +02:00
Holger Hans Peter Freyther
20b808d3f0
sccp: Dispatch via the polymorphism of smalltalk
2011-06-15 16:44:54 +02:00
Holger Hans Peter Freyther
becf8a9cd8
callagent: Rename SIPVia.st to SIPParam.st
...
SIPParams.st will hold multiple SIPParameter classes
2011-06-14 20:31:04 +02:00
Holger Hans Peter Freyther
332f3100be
TODO: Add some very obvious todo items for the code
2011-06-14 20:30:09 +02:00
Holger Hans Peter Freyther
08038a93a4
callagent: Parse the CSeq into a special data holder
2011-06-14 19:45:21 +02:00
Holger Hans Peter Freyther
81aa0a0f27
grammar: Parse the ReasonPhrase... UTF8 is still missing.
2011-06-14 19:45:21 +02:00
Holger Hans Peter Freyther
2e0c21cdb1
callagent: Add cancel, fix the invite...
2011-06-14 19:45:20 +02:00
Holger Hans Peter Freyther
5325ac0b84
callagent: Parse the message and print the failure if there was one
2011-06-14 19:45:20 +02:00
Holger Hans Peter Freyther
115842f0e8
callagent: Make it possible to run on a different port
2011-06-14 19:45:20 +02:00
Holger Hans Peter Freyther
11420c62b0
callagent: Add a closeSocket to the transport code
2011-06-14 19:45:20 +02:00
Holger Hans Peter Freyther
c47d0568eb
callagent: Move the creation of messages into the base
2011-06-14 19:45:20 +02:00
Holger Hans Peter Freyther
026e0bd87b
callagent: Simplify the transaction code a small bit
2011-06-14 19:45:20 +02:00
Holger Hans Peter Freyther
4d6b967b21
callagent: Add the bye transaction...
2011-06-14 19:45:20 +02:00
Holger Hans Peter Freyther
2c8cb82c6f
callagent: Extract the SDP from a 200 response
2011-06-14 19:45:20 +02:00
Holger Hans Peter Freyther
8330ad52d6
callagent: Manually parse the 'tag' from a to...
...
This should be done through the grammar instead.
2011-06-14 01:48:14 +02:00
Holger Hans Peter Freyther
88e451670c
callagent: Try to get some part of transactions going
2011-06-14 01:04:32 +02:00
Holger Hans Peter Freyther
b7e261c00c
callagent: Find the transaction... and dispatch there, cleanup
2011-06-14 00:00:31 +02:00
Holger Hans Peter Freyther
65c0f05dfa
callagent: Remove the semapahore from the transport
2011-06-13 23:59:28 +02:00
Holger Hans Peter Freyther
7d0a7945c7
callagent: Parse the Via tag in depth to reach the branch
...
Add the grammar for the Via parameter, introduce a generic
array folding class to turn it into a string. Add a data holder
that returns the complete string but also the branch if that
is required.
2011-06-13 23:11:35 +02:00
Holger Hans Peter Freyther
3c3e759093
callagent: Test the parser a bit more
2011-06-13 19:57:31 +02:00
Holger Hans Peter Freyther
df11de6c31
callagent: Add some transaction code...
2011-06-13 19:57:31 +02:00
Holger Hans Peter Freyther
75722e9f84
callagent: SIPParser must come after SIPGrammar was loaded
2011-06-13 19:57:31 +02:00
Holger Hans Peter Freyther
1fab601303
callagent: Make the Datagram buffer big enough for data
2011-06-13 19:57:31 +02:00
Holger Hans Peter Freyther
99d39be944
grammar: One more test packet to parse...
2011-06-13 19:57:31 +02:00
Holger Hans Peter Freyther
1f14fda8b4
callagent: Implement a simple SIPParser on the grammar
...
Create a very simple parser based on the grammar. This way
we can easily parse and recreate the message.
2011-06-13 19:57:31 +02:00
Holger Hans Peter Freyther
1dde6993ad
callagent: Require the sockets package
2011-06-13 19:57:30 +02:00
Holger Hans Peter Freyther
cd96ee2590
callagent: Fix the contact syntax...
2011-06-13 19:57:30 +02:00
Holger Hans Peter Freyther
93f0b5fd70
transport: Add the socket to the list of finalizers
...
This will close the socket when the transport is recycled
2011-06-13 19:57:30 +02:00
Holger Hans Peter Freyther
b0ef812e6c
doc: Add a usage example of this code
2011-06-13 19:57:30 +02:00
Holger Hans Peter Freyther
ccfd91f650
callagent: Send a Request over the wire
2011-06-13 19:57:30 +02:00
Holger Hans Peter Freyther
67a44dd341
callagent: Use a Base64 encoding to avoid spec issues
...
The branch may not contain '=' and the easiest is to
rename the code.
2011-06-13 19:57:30 +02:00
Holger Hans Peter Freyther
c9362c643e
callagent: Add SIP UserAgent/Transport/Transaction code
...
The code is not yet fully working, it is missing sending
the request, dealing with timeouts, parsing the response,
callbacks and everything.
2011-06-13 14:00:21 +02:00
Holger Hans Peter Freyther
b3d88db189
callagent: Introduce a log area for the sip code
2011-06-13 11:08:51 +02:00
Holger Hans Peter Freyther
a1393aed22
docs: Use the extracted Gramamr from the sofia project
2011-06-13 11:08:10 +02:00
Holger Hans Peter Freyther
ccf62c2edc
callagent: Provide Base64 and Random helper
...
For the Call-ID of SIP one requires a cryptogragic secure
source of random and the GST random number generator is not. For
Linux use /dev/random for others we don't have a solution yet.
2011-06-13 11:06:47 +02:00
Holger Hans Peter Freyther
09e0ece204
callagent: Add Base64 encoder/decoder from Pharo
...
This has been ported by me for the SoapOpera and is now
imported here for Base64 encoding/decoding.
2011-06-13 11:05:59 +02:00
Holger Hans Peter Freyther
6c1eff1e51
doc: Add a simple DESIGN document
...
Describe objects and how they interact with each other.
2011-06-12 14:39:31 +02:00
Holger Hans Peter Freyther
4354afff4a
grammar: Add one more simple test case
2011-06-12 14:31:55 +02:00
Holger Hans Peter Freyther
f680614155
callagent: Add missing log area description
2011-06-12 14:31:41 +02:00
Holger Hans Peter Freyther
5320979715
callagent: Remove unused code from the mix
2011-06-12 14:31:20 +02:00
Holger Hans Peter Freyther
162ab9f5fd
callagent: Create the skeleton of a very simple SIPResponse
2011-06-12 01:09:34 +02:00
Holger Hans Peter Freyther
217c529b94
callagent: Introduce the SIPRequests class
...
Inspired by the MGCPCommands it can create simple requests and
add parameters to the mix...
2011-06-12 01:09:26 +02:00
Holger Hans Peter Freyther
3ff782e8c3
grammar: Add test case from the spec.. just test that is parsed
2011-06-12 00:15:36 +02:00
Holger Hans Peter Freyther
c1457171fa
sip: Add package.xml for the SIP code
2011-06-11 23:00:36 +02:00
Holger Hans Peter Freyther
45a86d97fe
grammar: Add rules to parse SIP Requests
2011-06-11 23:00:15 +02:00
Holger Hans Peter Freyther
7505ed0c3f
grammar: Fix the whitespace handling due not returning things
2011-06-11 21:04:41 +02:00
Holger Hans Peter Freyther
85a359e287
grammar: Add simple parsing tests (without looking at the result)
2011-06-11 20:55:41 +02:00