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

19 Commits

Author SHA1 Message Date
Holger Hans Peter Freyther b122f48fd8 test: Modernize the grammar too 2015-07-24 12:27:18 +02:00
Holger Hans Peter Freyther fd1d3829ad proxy: Handle ProxyAuthenticate/ProxyAuthorize
Add a testcase for testing ProxyAuthenticate and ProxyAuthorize,
extend the grammar and parser to handle the needed bits. Document
another error/failure with the dialog handling code and create a
testcase that fully connects a call.
2014-03-24 14:53:14 +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 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 6559cc6c1c pharo: Add a Makefile and begin with the porting.
* Change the category for the tests and extensions
* Rewrite usages of >>nl and >>cr
* There are still issues with the Socket code, Datagram handling
  and and expands.
2013-03-31 19:40:05 +02:00
Holger Hans Peter Freyther b5c4ac5631 grammar: StatusCode 101 is not part of the spec but used by linphone
The spec says that anything between 101-199 can be used as a response
to a INVITE to create an early dialog.
2012-08-05 09:57:18 +02:00
Holger Hans Peter Freyther 1c58c2fe26 misc: Add proper categories to the various SIP classes 2011-09-27 17:43:43 +02:00
Holger Hans Peter Freyther ed42decd4a grammar: Parse the To/From header according to the grammar
Right now the UTF8 support for the displayname is still
missing and needs to be added later. The to_spec is not
part of the RFC but it makes our code more happy if things
look like the from_spec.
2011-06-30 11:36:57 +02:00
Holger Hans Peter Freyther b6e8dd15c6 grammar: Remove inspect messages, no real value in them 2011-06-30 11:36:56 +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 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 99d39be944 grammar: One more test packet to parse... 2011-06-13 19:57:31 +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 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 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