Hi Rodrigo,
Take a look at the {sdp} transformation, it might help you:
http://www.opensips.org/Documentation/Script-Tran-2-2#toc79
Regards,
Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
http://www.opensips-solutions.com
On 27.07.2016 23:14, Rodrigo Pimenta Carvalho wrote:
Hi.
A SDP message is:
v=0
o=Z 0 0 IN IP4 192.168.21.40
s=Z
c=IN IP4 192.168.21.40
t=0 0
m=audio 8000 RTP/AVP 3 110 8 0 98 101
a=rtpmap:110 speex/8000
a=rtpmap:98 iLBC/8000
a=fmtp:98 mode=20
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-15
a=sendrecv
It can be in a SIP INVITE or in a SIP OK message.
How can I read the IP4 from there, in case of SIP INVITE or SIP OK,
and get the value 192.168.21.40 for example?
Is there a module and function that provides such information in my
script?
Any hint will be very helpful!
Best regards.
RODRIGO PIMENTA CARVALHO
Inatel Competence Center
Software
Ph: +55 35 3471 9200 RAMAL 979
_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users
_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users