[OpenSIPS-Users] alias_db failing to look up alias for IP using multi_domain

Julian Yap julianokyap at gmail.com
Mon Jan 5 04:47:48 CET 2009


Using the alias_db module, if I look up an alias by the IP address as
the domain, it doesn't work.  The alias table however does not let me
add the alias as an IP address as well as a domain.

Error message is: DBG:alias_db:alias_db_lookup: no alias found for R-URI

Example settings:
Server: a.domain.com
IP of server: 1.2.3.4

User: 1000 at a.domain.com

Alias: +18085551234 at a.domain.com

A call to +18085551234 at 1.2.3.4 fails when using alias_db_lookup("dbaliases");.

I also can't add both aliases to the dbaliases table:
# opensipsctl alias_db add +18085551234 at 1.2.3.4 1000 at a.domain.com
INFO: +18085551234 alias already in dbaliases table

Thanks,
Julian



More information about the Users mailing list