2010/4/29 David Adade <david.ad...@dcomms.co.uk> > Thanks > help much apreciated > > modparam("rr", "append_fromtag", 1) > modparam("uac","restore_mode","auto") > > xlog("$fu \n"); > uac_replace_from(2101573...@10.10.1.100); >
uac_replace_from("sip:2101573...@10.10.1.100 <sip%3a2101573...@10.10.1.100> "); > xlog("$fu \n"); > > > Output > > sip:02086847...@10.10.1.50 > sip:02086847...@10.10.1.50 > > I cant seem to get it to change the value. am i missing something > > > > ------------------------------ > *From:* users-boun...@lists.opensips.org [mailto: > users-boun...@lists.opensips.org] *On Behalf Of *Antonio Anderson Souza > *Sent:* 29 April 2010 00:26 > *To:* OpenSIPS users mailling list > *Subject:* Re: [OpenSIPS-Users] uac_replace_from > > 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:22222...@10.10.1.100 <sip%3a22222...@10.10.1.100>") > > Best regards, > > Antonio Anderson M. Souza > Voice Technology > http://www.antonioams.com > > Em 28/04/2010 20:19, "dcomms" <i...@dcomms.net>escreveu: > > > HI, > > > Whats the best way to do this? i have asterisk configured with > fromuser=2222222222 > > xlog("$fu \n") shows > sip:2222222...@10.10.1.100<sip%3a2222222...@10.10.1.100> > > > I want to change to > sip:1111111...@10.10.1.100<sip%3a1111111...@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@lists.opensips.org > http://lists.opensips.org/cgi-bin/mailman/listinfo/users > > > _______________________________________________ > Users mailing list > Users@lists.opensips.org > http://lists.opensips.org/cgi-bin/mailman/listinfo/users > >
_______________________________________________ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users