[OpenSIPS-Users] UAC_REPLACE_TO function problem
Wesley Volcov
wesleyvolcov at gmail.com
Fri Oct 1 20:16:20 CEST 2010
Hi List!
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.
I'm using opensips 1.6.2 version.
I have the follow configuration in my opensips.cfg:
if (alias_db_find("dbaliases", "$tu", "$var(to_alias)", "d")) {
uac_replace_to("$var(to_alias)");
xlog(" TEST -- $var(to_alias) URI -- $ru");
};
But, on my log I have:
/usr/local/sbin/opensips[3372]: TEST -- sip:9558815007 at myipaddress URI --
sip:14163043923 at mydomain
The uac_relace_to is not wordking.
Am I missing some thing?
Regards,
--
Wesley Volcov
Email: wesleyvolcov at gmail.com
Messenger: volcov at live.com
Mobile: +55 11 9989-5348
Website: http://volcov.blogspot.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.opensips.org/pipermail/users/attachments/20101001/a289782e/attachment.htm
More information about the Users
mailing list