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:9558815...@myipaddress URI --
sip:14163043...@mydomain

The uac_relace_to is not wordking.

Am I missing some thing?

Regards,
-- 
Wesley Volcov
Email: wesleyvol...@gmail.com
Messenger: vol...@live.com
Mobile: +55 11 9989-5348
Website: http://volcov.blogspot.com
_______________________________________________
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

Reply via email to