<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) = "sip:+0245" + $tU + "@<a href="http://voip.mycompany.com">voip.mycompany.com</a>";<br></div><div><br></div><div>and then rewrite the request with this ?</div><div><br>
</div><div>rewriteuri("$var(NEWURI)") isnt working, apparantly because im not allowed to pass the result of a variable to this, like i can do in xlog("L_INFO","var(NEWURI)")</div><div><br></div>
<div>any advice on how to achieve this would be greatly appreciated?</div></div>