On Thu, June 12, 2008 12:37, Pekka Pessi wrote: > 2008/6/9 Reto Glauser <[EMAIL PROTECTED]>: >> yet I'm am not able to parse a SIP message: >> char data[] = { "BYE sip:[EMAIL PROTECTED] SIP/2.0 \ >> Via: SIP/2.0/UDP sip.example.edu;branch=d7f2e89c.74a72681 \ >> Via: SIP/2.0/UDP pc104.example.edu:1030;maddr=110.213.33.19 \ >> From: Bobby Brown <sip:[EMAIL PROTECTED]>;tag=77241a86 \ >> To: Joe User <sip:[EMAIL PROTECTED]>;tag=7c6276c1 \ >> Call-ID: [EMAIL PROTECTED] \ >> CSeq: 2" }; > >> What am I missing? > ยจ > SIP parser does not like whitespace before header names, try something like > > "From: Bobby Brown <sip:[EMAIL PROTECTED]>;tag=77241a86 \r\n" > "To: Joe User <sip:[EMAIL PROTECTED]>;tag=7c6276c1\r\n" > > ---Pekka >
Thanks, that worked. ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Sofia-sip-devel mailing list Sofia-sip-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sofia-sip-devel