[OpenSIPS-Users] uac_replace_from

Antonio Anderson Souza antonio at voicetechnology.com.br
Thu Apr 29 01:25:52 CEST 2010


The best way is to use the uac module.

Calling the function uac_replace_from before the relay, follow a script
snippet bellow:

uac_replace_from("sip:22222222 at 10.10.1.100 <sip%3A22222222 at 10.10.1.100>")

Best regards,

Antonio Anderson M. Souza
Voice Technology
http://www.antonioams.com

Em 28/04/2010 20:19, "dcomms" <info at dcomms.net>escreveu:


HI,


Whats the best way to do this? i have asterisk configured with
fromuser=2222222222

 xlog("$fu \n")  shows sip:2222222222 at 10.10.1.100<sip%3A2222222222 at 10.10.1.100>


I want to change to
sip:1111111111 at 10.10.1.100<sip%3A1111111111 at 10.10.1.100>before relay

Even better can someone show me how to change $fu for any ip address
10.10.1.100

thanks

--
View this message in context:
http://opensips-open-sip-server.1449251.n2.nabble.com/uac-replace-from-tp4977451p4977451.html
Sent from the OpenSIPS - Users mailing list archive at Nabble.com.

_______________________________________________
Users mailing list
Users at lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.opensips.org/pipermail/users/attachments/20100428/f2455c60/attachment.htm 


More information about the Users mailing list