You may want to use $Ri variable. It contains opensips IP address where
request was received.

--
Nick


2013/3/5 Schneur Rosenberg <[email protected]>

> Hi I'm trying to change the ip part of the FROM header, is there a
> variable that I can use that has the value of the IP that will be used
> to send this packet?
>
> Here is what I'm trying to do
> uac_replace_from("sip:[email protected]");
> but I want the ip address 70.97.189.150 to be replaced by a variable.
>
> _______________________________________________
> 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

Reply via email to