<div dir="ltr"><div><div><div><div>Hi all,<br><br></div>I opened a bug here:<br><br><a href="https://github.com/kamailio/kamailio/issues/430">https://github.com/kamailio/kamailio/issues/430</a><br><br></div>But then I was advised to write to mailing list.<br><br></div>In nutshell:<br><br></div>I'm running Kamailio 4.3.3.<br><div><p>When I'm trying to update $ru, $fu & $fd in Kamailio conf:<br>
$rU = "1000"; <br>
$fu = "sip:<a href="mailto:something@mydomain.com">something@mydomain.com</a>";<br>
$fd = "<a href="http://newdomain.com">newdomain.com</a>";</p>

<p>And later I'm trying to print out $rU, $fu, $fU & $fd in onsend_route:</p>

<pre><code>    xlog("ALERT: From URI $fu \n");
    xlog("ALERT: From domain $fd \n");
    xlog("ALERT: From user $fU \n");
    xlog("ALERT: Request user $rU \n");
</code></pre>

<p>Kamailio 4.3.3 prints out following:<br>
ALERT: From URI sip:2000@some_ip<br>
ALERT: From domain some_ip<br>
ALERT: From user 2000<br>
ALERT: Request user 1000</p>

<p>But I believe it should:</p>

<p>ALERT: From URI sip:<a href="mailto:something@mydomain.com">something@mydomain.com</a><br>
ALERT: From domain <a href="http://mydomain.com">mydomain.com</a><br>
ALERT: From user something<br>
ALERT: Request user 1000</p>

<p>I'm using default Kamailio config with minor changes, you can check it in attachment.</p><p>Is it proper behavior?</p><p>Thank you!<br></p><p>With kind regards,</p><p>Jurijs<br></p></div></div>