[reSIProcate] SDP Parsing Problem - p= cant parsed
shailesh
shpatel at varaha.com
Sat Sep 10 07:02:24 CDT 2005
Hello
I am trying to get port and IP Address from the following SDP but it gives
me port as 0 and IP address as empty string.
I do many test after that I conclude that because of p=+972 683 1000 line it
can't parse properly.
Here I put my SDP.
"v=0\r\n"
"o=- 333525334858460 333525334858460 IN IP4 192.168.0.156\r\n"
"s=test123\r\n"
"p=+972 683 1000\r\n"
"e=unknown at invalid.net\r\n"
"t=4058038202 0\r\n"
"m=audio 41466 RTP/AVP 0 101\r\n"
"c=IN IP4 192.168.0.156\r\n"
"a=rtpmap:101 telephone-event/8000\r\n"
"a=fmtp:101 0-11\r\n"
"a=ptime:20\r\n"
It is not crashed at time of parsing but it gives me port as 0 and IP as
empty string.
If I remove p= line everything working fine.
Regards,
Shailesh
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://list.resiprocate.org/pipermail/resiprocate-devel/attachments/20050910/62aba81e/attachment.htm>
More information about the resiprocate-devel
mailing list