Hi List!<br><br>I need to use alias_db module to find if exisits an username associated a DID number. I'm trying to use the alias_db_find, but it's not work as it should.<br>I'm using opensips 1.6.2 version.<br>
<br>I have the follow configuration in my opensips.cfg:<br><br> if (alias_db_find("dbaliases", "$tu", "$var(to_alias)", "d")) {<br> uac_replace_to("$var(to_alias)");<br>
xlog(" TEST -- $var(to_alias) URI -- $ru");<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>