[OpenSIPS-Users] Mangle SDP Connection IP

mojtaba esfandiari mespio at gmail.com
Sat Nov 1 21:53:04 CET 2014


hi.
you could use these functions in relay route like this:
if(status = (200))
        mangle_sdp_ip("pattern","new ip");

i have another problem with these functions, why we cant use variable as
input parametes? when i use this code i have error:
$var(pattern) = "10.10.1.100";
$var(newip) = "10.10.1.200";
mangle_sdp_ip("$var(ip)", "$var(newip)");
How can use variables in these two functions? mangle_sdp_ip and
mangle_sdp_port.
Thanks with regards.Mojtaba



--
View this message in context: http://opensips-open-sip-server.1449251.n2.nabble.com/Mangle-SDP-Connection-IP-tp7594292p7594298.html
Sent from the OpenSIPS - Users mailing list archive at Nabble.com.



More information about the Users mailing list