<p><a href="https://github.com/mishehu" class="user-mention">@mishehu</a> , it may be an misunderstanding on how you construct strings from variables.<br>
Instead of <br>
      $var(newTo) = "sip:$rU@$var(someVar)";<br>
(where the input is simply evaluated as string)<br>
the correct way (if you want to have variables evaluated is:<br>
      $var(newTo) = "sip:"+$rU+"@"+$var(someVar);</p>

<p>Please confirm that the above works for you ; or if there are any other issues.</p>

<p>Regards,<br>
Bogdan</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">&mdash;<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly or <a href="https://github.com/OpenSIPS/opensips/issues/811#issuecomment-197009596">view it on GitHub</a><img alt="" height="1" src="https://github.com/notifications/beacon/AFOciUelX1s6oUbnHy56-wi6ooETu6vwks5ptxgdgaJpZM4HkFnU.gif" width="1" /></p>
<div itemscope itemtype="http://schema.org/EmailMessage">
<div itemprop="action" itemscope itemtype="http://schema.org/ViewAction">
  <link itemprop="url" href="https://github.com/OpenSIPS/opensips/issues/811#issuecomment-197009596"></link>
  <meta itemprop="name" content="View Issue"></meta>
</div>
<meta itemprop="description" content="View this Issue on GitHub"></meta>
</div>