It appears that the sdp parser fails if there is a c= line after an m=
line such as the following:

   v=0
   o=Cisco-SIPUA 12027 0 IN IP4 204.183.123.32
   s=SIP Call
   t=0 0
   m=audio 26164 RTP/AVP 0 8 18 101
   c=IN IP4 204.183.123.32
   a=rtpmap:0 PCMU/8000
   a=rtpmap:8 PCMA/8000
   a=rtpmap:18 G729/8000
   a=fmtp:18 annexb=no
   a=rtpmap:101 telephone-event/8000
   a=fmtp:101 0-15
   a=sendrecv

the issue being it does not continue in the loop in parse_message
(sdp_parse.c) after it parses the m line, and in parse_descs, which
actually does go through and do the parse on the remaining c line(s)
after the m, it appears to do nothing with them but throw them away.
Not sure what the exact right solution is for this, but my guess is that
parse_descs just needs to push the parsed connection back into the
sdp_parser_t.  Some direction on how this should work would be
appreciated.

Thanks
Mike


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Sofia-sip-devel mailing list
Sofia-sip-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sofia-sip-devel

Reply via email to