<div dir="ltr">How do i rewrite the request uri, i know it says that rewriteuri(str); does this, but i need to be able to do this with a variable something like:<div dir="ltr"></div>
<div><br></div><div>$var(NEWURI) = &quot;sip:+0245&quot; + $tU + &quot;@<a href="http://voip.mycompany.com">voip.mycompany.com</a>&quot;;<br></div><div><br></div><div>and then rewrite the request with this ?</div><div><br>
</div><div>rewriteuri(&quot;$var(NEWURI)&quot;) isnt working, apparantly because im not allowed to pass the result of a variable to this, like i can do in xlog(&quot;L_INFO&quot;,&quot;var(NEWURI)&quot;)</div><div><br></div>
<div>any advice on how to achieve this would be greatly appreciated?</div></div>