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
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
Holger Hans Peter Freyther
4358c45f62
TODO: Add a simple todolist for the SIP code
2011-06-11 20:55:18 +02:00
Holger Hans Peter Freyther
afa0ae4c95
sip: Initial version of the Grammar capable of parsing a response
...
There is still an issue with the white space handling in the
message header.
2011-06-11 20:30:15 +02:00