[SR-Users] Need help in how to read INVITE packet SDP c line IP Address

varun pratapsingh varunps2003 at gmail.com
Fri Sep 12 19:00:13 CEST 2014


Hi All,

Can anybody help me by telling how to read INVITE packet SDP c line IP
address in Kamailio.cfg. For example a INVITE packet comes and its SDP
contains the line

v=0
o=- 3619547086 3619547086 IN IP4 1.223.65.215
s=pjmedia
c=IN IP4 1.223.65.215
t=0 0
a=X-nat:0


Now I want to read this SDP packet c line IP address and want to put the IP
1.223.65.215 in a variable.

Can anybody please help me out in this.


Regards
Varun
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20140912/bf29f680/attachment.html>


More information about the sr-users mailing list