[OpenSIPStack] Sip Test Messages (Was: RE: SIPMessage & SDPLazyParser)
Brought to you by:
joegenbaclor
From: Thomas R. <tho...@it...> - 2008-02-19 11:32:07
|
Thanks for your fast reply. 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 someone actually writes a client that sends a message like this that person should be hang upside down for a week until he/she comes to his/her senses again ;))] It seems to think the call id is not valid (SIPMessage.cxx line 8528) (I debugged 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 way to find out which part of that message it doesn't like? Regards, -----Original Message----- From: ope...@li... [mailto:ope...@li...] On Behalf Of Joegen E. Baclor Sent: Montag, 18. Februar 2008 16:43 To: ope...@li... Subject: Re: [OpenSIPStack] SIPMessage & SDPLazyParser Thomas Raschbacher wrote: > Hi. > > I'm currently working on a (commercial) project in which we will use OpenSipStacks 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 better suited / recommended? (I need to be able to read and/or change every part 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 would allow me to automagically generate say a TRYING,RINGING, OK from an incoming request? > see SIPMessage::CreateResponse(); > Regards > > Mit freundlichen Grüßen > Thomas Raschbacher > ____________________________________________ > itCampus Technology GmbH > Österreich * Deutschland * Italien > Dresdner Straße 45 /DG > 1200 Wien > tho...@it... > 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äftsführer: Andreas Günser, Andreas Lassmann > Joint Venture von itCampus und MEC > > itCampus Gruppe > Deutschland * Großbritannien * Italien * Österreich * Schweiz * Slowakei > http://www.itcampus.eu > > > > ------------------------------------------------------------------------- > 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 > ope...@li... > https://lists.sourceforge.net/lists/listinfo/opensipstack-devel > > > ------------------------------------------------------------------------- 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 ope...@li... https://lists.sourceforge.net/lists/listinfo/opensipstack-devel |