Hi List!<br><br>I need to use alias_db module to find if exisits an username associated a DID number. I&#39;m trying to use the alias_db_find, but it&#39;s not work as it should.<br>I&#39;m using opensips 1.6.2 version.<br>

<br>I have the follow configuration in my opensips.cfg:<br><br>        if (alias_db_find(&quot;dbaliases&quot;, &quot;$tu&quot;, &quot;$var(to_alias)&quot;, &quot;d&quot;)) {<br>                uac_replace_to(&quot;$var(to_alias)&quot;);<br>

                xlog(&quot; TEST -- $var(to_alias)  URI -- $ru&quot;);<br>        };<br><br>But, on my log I have:<br><br>/usr/local/sbin/opensips[3372]: TEST -- sip:9558815007@myipaddress URI -- sip:14163043923@mydomain<br>

<br>The uac_relace_to is not wordking.<br><br>Am I missing some thing?<br><br>Regards,<br>-- <br>Wesley Volcov<br>Email: <a href="mailto:wesleyvolcov@gmail.com">wesleyvolcov@gmail.com</a><br>Messenger: <a href="mailto:volcov@live.com">volcov@live.com</a><br>

Mobile: +55 11 9989-5348<br>Website: <a href="http://volcov.blogspot.com">http://volcov.blogspot.com</a><br>