Have you tried adding both combinations to the DB manually without using opensipsctl?
On Jan 4, 2009, at 10:55 PM, "Julian Yap" <[email protected]> wrote: > So my only solution is then pass through [email protected] > (which isn't feasible) or to disable multi-domain? > > Is there a way I can accept both [email protected] and > [email protected]? > > - Julian > > On Sun, Jan 4, 2009 at 5:50 PM, Alex Balashov <[email protected] > > wrote: >> Alias_db has a literal - not a virtual (i.e. uri == myself style, >> aka all >> DNS aliases and locally homed IP interfaces) - approach to domains, >> as does >> auth_db and others. >> >> One domain, and it must literally match the one in the RURI. >> >> Julian Yap wrote: >> >>> 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: [email protected] >>> >>> Alias: [email protected] >>> >>> A call to [email protected] fails when using >>> alias_db_lookup("dbaliases");. >>> >>> I also can't add both aliases to the dbaliases table: >>> # opensipsctl alias_db add [email protected] [email protected] >>> INFO: +18085551234 alias already in dbaliases table >>> >>> Thanks, >>> Julian >>> >>> _______________________________________________ >>> Users mailing list >>> [email protected] >>> http://lists.opensips.org/cgi-bin/mailman/listinfo/users >> >> >> -- >> Alex Balashov >> Evariste Systems >> Web : http://www.evaristesys.com/ >> Tel : (+1) (678) 954-0670 >> Direct : (+1) (678) 954-0671 >> Mobile : (+1) (678) 237-1775 >> _______________________________________________ Users mailing list [email protected] http://lists.opensips.org/cgi-bin/mailman/listinfo/users
