< Previous by Date | Date Index | Next by Date > |
< Previous in Thread | Thread Index |
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@xxxxxxxxxxx\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
_______________________________________________
resiprocate-devel mailing list
resiprocate-devel@xxxxxxxxxxxxxxxxxxx
https://list.sipfoundry.org/mailman/listinfo/resiprocate-devel