OK, super - I just want you to be aware of that ;)

Regards,

Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
http://www.opensips-solutions.com


On 03/06/2013 12:03 AM, Schneur Rosenberg wrote:
Thanks by me its always the same ip so its fine, thanks

On Tue, Mar 5, 2013 at 3:04 PM, Bogdan-Andrei Iancu<[email protected]>  wrote:
Hi Schneur,

Take care the $Ri reflect the opensips IP which was used to receive the
request. There is no variable to give you the outbound IP.

Of course, if you do not do any interface exchange in script, the inbound
and outbound interface will the same.

Regards,

Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
http://www.opensips-solutions.com



On 03/05/2013 11:11 AM, Schneur Rosenberg wrote:
Thanks, sound right i will try it soon.

On Tue, Mar 5, 2013 at 8:16 AM, Nick Altmann<[email protected]>
wrote:
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

_______________________________________________
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