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