<p>OK, I changed the code and added the xlog header. First I tried without the 'fix' ($ru = "sip:" + $rU + "@" + $rd;) and than I tried with the 'fix' so you can see the difference.</p>

<p>### $ru = "sip:" + $rU + "@" + $rd;<br>
 if(route_to_carrier("$avp(droute)"))<br>
        {<br>
        xlog("L_ERROR", " INFO : current destination is $ru, next available are $(avp(dr_ruri)[*])\n");</p>

<h3>$ru = "sip:" + $rU + "@" + $rd;</h3>

<p>INFO : current destination is sip:123431208110001@41.127.34.19, next available are sip:876512343120811@212.5.221.223, sip:876512343120811@212.5.221.224</p>

<p>$ru = "sip:" + $rU + "@" + $rd;<br>
INFO : current destination is sip:123431208110001@41.127.34.19, next available are sip:876531208110001@212.5.221.223, sip:876531208110001@212.5.221.224</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">&mdash;<br>Reply to this email directly or <a href="https://github.com/OpenSIPS/opensips/issues/425#issuecomment-82955771">view it on GitHub</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/AFOciTLmxWBVgXMKBi101AIr4rVY-RS5ks5n2WzDgaJpZM4DrqEv.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/425#issuecomment-82955771"></link>
    <meta itemprop="name" content="View Issue"></meta>
  </div>
  <meta itemprop="description" content="View this Issue on GitHub"></meta>
</div>