<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<tt>Hi,<br>
<br>
uac_replace_to(<a class="moz-txt-link-rfc2396E" href="sip:9876543210@$td">"sip:9876543210@$td"</a>);<br>
<br>
should do it - you need to call it only for the initial INVITE.<br>
<br>
Regards,<br>
</tt>
<pre class="moz-signature" cols="72">Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
<a class="moz-txt-link-freetext" href="http://www.opensips-solutions.com">http://www.opensips-solutions.com</a>
OpenSIPS Bootcamp 2018
<a class="moz-txt-link-freetext" href="http://opensips.org/training/OpenSIPS_Bootcamp_2018/">http://opensips.org/training/OpenSIPS_Bootcamp_2018/</a>
</pre>
<div class="moz-cite-prefix">On 11/26/2018 09:01 PM, Vishal Pai
wrote:<br>
</div>
<blockquote type="cite"
cite="mid:CACOmXtAL+PCcWZqVZY2gY1o5sk4WRfQn3+OLQjyb0hbb8L+t6g@mail.gmail.com">
<div dir="ltr">
<div dir="ltr">
<div>Hi Bogdan,</div>
<div><br>
</div>
<div>Thank you for your quick response.</div>
<div><br>
</div>
<div>I have tried both the way still unable to overwrite the
value. <br>
</div>
<div><br>
</div>
<div>uac_replace_to("$tU","9876543210");</div>
<div>
uac_replace_to("9876543210","$tU");</div>
<div><br>
</div>
<div>Can you please let me know the right way to achieve this.</div>
<div><br>
</div>
<div>Thanks<br>
</div>
<div><br>
</div>
</div>
</div>
<br>
<div class="gmail_quote">
<div dir="ltr">On Mon, Nov 26, 2018 at 10:59 PM Bogdan-Andrei
Iancu <<a href="mailto:bogdan@opensips.org"
moz-do-not-send="true">bogdan@opensips.org</a>> wrote:<br>
</div>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">
<div bgcolor="#FFFFFF" text="#000000"> <tt>Hi Vishal,<br>
<br>
use uac_replace_to() function:<br>
<a class="m_-6649136559643442210moz-txt-link-freetext"
href="http://www.opensips.org/html/docs/modules/2.4.x/uac.html#func_uac_replace_from"
target="_blank" moz-do-not-send="true">http://www.opensips.org/html/docs/modules/2.4.x/uac.html#func_uac_replace_from</a><br>
<br>
Regards,<br>
</tt>
<pre class="m_-6649136559643442210moz-signature" cols="72">Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
<a class="m_-6649136559643442210moz-txt-link-freetext" href="http://www.opensips-solutions.com" target="_blank" moz-do-not-send="true">http://www.opensips-solutions.com</a>
OpenSIPS Bootcamp 2018
<a class="m_-6649136559643442210moz-txt-link-freetext" href="http://opensips.org/training/OpenSIPS_Bootcamp_2018/" target="_blank" moz-do-not-send="true">http://opensips.org/training/OpenSIPS_Bootcamp_2018/</a>
</pre>
<div class="m_-6649136559643442210moz-cite-prefix">On
11/26/2018 06:42 PM, Vishal Pai wrote:<br>
</div>
<blockquote type="cite">
<div dir="ltr">
<div>Hello Everyone</div>
<div><br>
</div>
<div>Is it possible to update the $tU value to new one.
Let say $tU = 1234567890 need to overwrite to $tU =
9876543210 how i can achieve that. <br>
</div>
</div>
<br>
<fieldset
class="m_-6649136559643442210mimeAttachmentHeader"></fieldset>
<br>
<pre>_______________________________________________
Users mailing list
<a class="m_-6649136559643442210moz-txt-link-abbreviated" href="mailto:Users@lists.opensips.org" target="_blank" moz-do-not-send="true">Users@lists.opensips.org</a>
<a class="m_-6649136559643442210moz-txt-link-freetext" href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank" moz-do-not-send="true">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a>
</pre>
</blockquote>
<br>
</div>
</blockquote>
</div>
</blockquote>
<br>
</body>
</html>