Messages. This would allow implementors to detect syntax error in SIP
parsing process. If you could wait a couple of weeks, this new parser
might be best suited for your needs.
would need to manually check each header for validity.
Thanks for your fast reply.
Mime-Version: 1.0
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain; charset=iso-8859-1
I just did some testing with (the 1.1.7 release of OSS) with test messages =
from
http://www.cs.columbia.edu/sip/sipit/testmsg.html
It all seems fine apart from test1.txt which the sip parser reports as not =
being a valid sip message. According to the page (I'm not sure myself as it=
is rather messed up ;)) this is a valid SIP message [although imho if some=
one actually writes a client that sends a message like this that person sho=
uld be hang upside down for a week until he/she comes to his/her senses aga=
in ;))]
It seems to think the call id is not valid (SIPMessage.cxx line 8528) (I de=
bugged a bit and it seems that m_RawMessage is NULL -wherever that gets set=
.. I assume at parse time or something .. anyway what would be the best wa=
y to find out which part of that message it doesn't like?
Regards,
-----Original Message-----
From: opensipstack-devel-bounces@lists.sourceforge.net [mailto:opensipstack=
-devel-bounces@lists.sourceforge.net] On Behalf Of Joegen E. Baclor
Sent: Montag, 18. Februar 2008 16:43
To: opensipstack-devel@lists.sourceforge.net
Subject: Re:
OpenSIPStack SIPMessage & SDPLazyParser
Thomas Raschbacher wrote:
Hi.
I'm currently working on a (commercial) project in which we will use Open=
SipStacks SIP and SDP Parser (maybe other parts later).
I'm using just the SIPMessage class to parse the SIP Messages themselves =
and SDPLazyParser to parse the SDP if there is one.
1) Did I find the correct classes for my use or would other classes be be=
tter suited / recommended? (I need to be able to read and/or change every p=
art of both the sip headers and the sdp)
Those are the two classes you need, yes.
2) Is there functionality (that is not linked with the transport) that wo=
uld allow me to automagically generate say a TRYING,RINGING, OK from an inc=
oming request?
see SIPMessage::CreateResponse();
Regards
Mit freundlichen Gr=FC=DFen
Thomas Raschbacher
____________________________________________
itCampus Technology GmbH
=D6sterreich * Deutschland * Italien
Dresdner Stra=DFe 45 /DG
1200 Wien
thomas.raschbacher@itctec.com
Tel: +43 (1) 890 22 82 - 58
Fax: +43 (1) 890 22 82 - 958
http://www.itctec.com
UID: ATU 6339 0618
Firmenbuchnr: FN292598t, Handelsgericht Wien
Gesch=E4ftsf=FChrer: Andreas G=FCnser, Andreas Lassmann
Joint Venture von itCampus und MEC
itCampus Gruppe
Deutschland * Gro=DFbritannien * Italien * =D6sterreich * Schweiz * Slowa=
kei
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
opensipstack-devel mailing list
opensipstack-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/opensipstack-devel
Defy all challenges. Microsoft(R) Visual Studio 2008.