<br><br><div class="gmail_quote">2010/4/29 David Adade <span dir="ltr"><<a href="mailto:david.adade@dcomms.co.uk">david.adade@dcomms.co.uk</a>></span><br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<div>
<div dir="ltr" align="left"><font face="Arial" size="2"><span>Thanks</span></font></div>
<div dir="ltr" align="left"><font face="Arial" size="2"><span>help much apreciated</span></font></div>
<div dir="ltr" align="left"><font color="#0000ff" face="Arial" size="2"><font color="#000000"></font></font> </div>
<div dir="ltr" align="left"><font color="#0000ff" face="Arial" size="2"><font color="#000000">modparam("rr", "append_fromtag",
1)<br>modparam("uac","restore_mode","auto") </font></font></div>
<div dir="ltr" align="left"><font color="#0000ff" face="Arial" size="2"></font> </div>
<div dir="ltr" align="left"><font color="#0000ff"><font face="Arial"><font size="2"><font color="#000000">xlog("$fu \n");<br>uac_replace_from(</font><a href="mailto:2101573704@10.10.1.100" target="_blank">2101573704@1<span>0.10.1.100</span></a></font></font><font color="#000000" face="Arial" size="2">);<br>
</font></font></div></div></blockquote><div><br>uac_replace_from("<a href="mailto:sip%3A2101573704@10.10.1.100">sip:2101573704@10.10.1.100</a>");<br> <br></div><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<div><div dir="ltr" align="left"><font color="#0000ff"><font color="#000000" face="Arial" size="2"></font><font face="Arial" size="2"> xlog("$fu
\n");</font></font></div>
<div dir="ltr" align="left"><font color="#0000ff" face="Arial" size="2"></font> </div>
<div dir="ltr" align="left"><font color="#0000ff" face="Arial" size="2"></font> </div>
<div dir="ltr" align="left"><span><font color="#0000ff" face="Arial" size="2">Output</font></span></div>
<div dir="ltr" align="left"><font color="#0000ff" face="Arial" size="2"></font> </div>
<div dir="ltr" align="left"><font face="Arial"><font size="2">sip:02086847213@1<span>0.10.1.50</span><br>sip:02086847213@<span>10.10.1.50</span></font></font></div>
<div><font color="#0000ff" face="Arial" size="2"></font> </div>
<div><span><font color="#0000ff" face="Arial" size="2">I cant
seem to get it to change the value. am i missing something</font></span></div>
<div><font face="Arial" size="2"></font> </div>
<div><font face="Arial" size="2"></font> </div>
<div><font color="#0000ff" face="Arial" size="2"></font><font color="#0000ff" face="Arial" size="2"></font><br></div>
<div dir="ltr" align="left" lang="en-us">
<hr>
<font face="Tahoma" size="2"><b>From:</b> <a href="mailto:users-bounces@lists.opensips.org" target="_blank">users-bounces@lists.opensips.org</a>
[mailto:<a href="mailto:users-bounces@lists.opensips.org" target="_blank">users-bounces@lists.opensips.org</a>] <b>On Behalf Of </b>Antonio Anderson
Souza<br><b>Sent:</b> 29 April 2010 00:26<br><b>To:</b> OpenSIPS users mailling
list<br><b>Subject:</b> Re: [OpenSIPS-Users]
uac_replace_from<br></font><br></div><div><div></div><div class="h5">
<div></div>
<p>The best way is to use the uac module.</p>
<p>Calling the function uac_replace_from before the relay, follow a script
snippet bellow:</p>
<p>uac_replace_from("<a href="mailto:sip%3A22222222@10.10.1.100" target="_blank">sip:22222222@10.10.1.100</a>")</p>
<p>Best regards,<br></p>
<p>Antonio Anderson M. Souza<br>Voice Technology<br><a href="http://www.antonioams.com" target="_blank">http://www.antonioams.com</a></p>
<p>
</p><blockquote type="cite">Em 28/04/2010 20:19, "dcomms" <<a href="mailto:info@dcomms.net" target="_blank">info@dcomms.net</a>>escreveu:<br><br><br>HI,<br><br><br>Whats
the best way to do this? i have asterisk configured
with<br>fromuser=2222222222<br><br> xlog("$fu \n") shows <a href="mailto:sip%3A2222222222@10.10.1.100" target="_blank">sip:2222222222@10.10.1.100</a><br><br><br>I
want to change to <a href="mailto:sip%3A1111111111@10.10.1.100" target="_blank">sip:1111111111@10.10.1.100</a>
before relay<br><br>Even better can someone show me how to change $fu for any
ip address<br>10.10.1.100<br><br>thanks<br><font color="#888888"><br>--<br>View
this message in context: <a href="http://opensips-open-sip-server.1449251.n2.nabble.com/uac-replace-from-tp4977451p4977451.html" target="_blank">http://opensips-open-sip-server.1449251.n2.nabble.com/uac-replace-from-tp4977451p4977451.html</a><br>
Sent
from the OpenSIPS - Users mailing list archive at
Nabble.com.<br><br>_______________________________________________<br>Users
mailing list<br><a href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a><br><a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
</font></blockquote>
<p></p></div></div></div>
<br>_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a><br>
<a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
<br></blockquote></div><br><div style="visibility: hidden; display: inline;" id="avg_ls_inline_popup"></div><style type="text/css">#avg_ls_inline_popup { position:absolute; z-index:9999; padding: 0px 0px; margin-left: 0px; margin-top: 0px; width: 240px; overflow: hidden; word-wrap: break-word; color: black; font-size: 10px; text-align: left; line-height: 13px;}</style>