Hi Julian.<br><br>Please post the bug report on the tracker, so that we can fix it.<br><br>Thanks and regards.<br><br>Sergio G.<br><br><div class="gmail_quote">On Sun, Jan 4, 2009 at 11:31 PM, Alex Balashov <span dir="ltr"><<a href="mailto:abalashov@evaristesys.com">abalashov@evaristesys.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Aha. Well, I guess it could make for an edifying bug report.<br>
<div><div></div><div class="Wj3C7c"><br>
Julian Yap wrote:<br>
<br>
> There are no config options in opensipsctlrc to be multi-domain aware<br>
> so I would say that opensipsctl is broken in this respect.<br>
><br>
> The relevant IF statement in opensipsctl only looks up the 'user'<br>
> portion to check that it is unique:<br>
> if is_value_in_db $DA_TABLE $DA_ALIAS_USER_COLUMN $TMP_OSIPSUSER; then<br>
> minfo "$TMP_OSIPSUSER alias already in $DA_TABLE table"<br>
> exit 0<br>
> fi<br>
><br>
> On Sun, Jan 4, 2009 at 6:11 PM, Alex Balashov <<a href="mailto:abalashov@evaristesys.com">abalashov@evaristesys.com</a>> wrote:<br>
>> I'm not sure if opensipsctl is broken in this respect or if you have to make<br>
>> it aware that you're doing multi-domain support via its config file. But<br>
>> yes, when in doubt, manipulate the raw database.<br>
>><br>
>> Julian Yap wrote:<br>
>><br>
>>> I just tried manually inputting straight in to the DB and it works for me.<br>
>>><br>
>>> I guess that solves my issue.<br>
>>><br>
>>> Thanks,<br>
>>> Julian<br>
>>><br>
>>> On Sun, Jan 4, 2009 at 5:58 PM, Alex Balashov <<a href="mailto:abalashov@evaristesys.com">abalashov@evaristesys.com</a>><br>
>>> wrote:<br>
>>>> Have you tried adding both combinations to the DB manually without using<br>
>>>> opensipsctl?<br>
>>>><br>
>>>> On Jan 4, 2009, at 10:55 PM, "Julian Yap" <<a href="mailto:julianokyap@gmail.com">julianokyap@gmail.com</a>> wrote:<br>
>>>><br>
>>>>> So my only solution is then pass through +<a href="mailto:18085551234@a.domain.com">18085551234@a.domain.com</a><br>
>>>>> (which isn't feasible) or to disable multi-domain?<br>
>>>>><br>
>>>>> Is there a way I can accept both +<a href="mailto:18085551234@a.domain.com">18085551234@a.domain.com</a> and<br>
>>>>> +<a href="mailto:18085551234@1.2.3.4">18085551234@1.2.3.4</a>?<br>
>>>>><br>
>>>>> - Julian<br>
>>>>><br>
>>>>> On Sun, Jan 4, 2009 at 5:50 PM, Alex Balashov<br>
>>>>> <<a href="mailto:abalashov@evaristesys.com">abalashov@evaristesys.com</a>><br>
>>>>> wrote:<br>
>>>>>> Alias_db has a literal - not a virtual (i.e. uri == myself style, aka<br>
>>>>>> all<br>
>>>>>> DNS aliases and locally homed IP interfaces) - approach to domains, as<br>
>>>>>> does<br>
>>>>>> auth_db and others.<br>
>>>>>><br>
>>>>>> One domain, and it must literally match the one in the RURI.<br>
>>>>>><br>
>>>>>> Julian Yap wrote:<br>
>>>>>><br>
>>>>>>> Using the alias_db module, if I look up an alias by the IP address as<br>
>>>>>>> the domain, it doesn't work. The alias table however does not let me<br>
>>>>>>> add the alias as an IP address as well as a domain.<br>
>>>>>>><br>
>>>>>>> Error message is: DBG:alias_db:alias_db_lookup: no alias found for<br>
>>>>>>> R-URI<br>
>>>>>>><br>
>>>>>>> Example settings:<br>
>>>>>>> Server: <a href="http://a.domain.com" target="_blank">a.domain.com</a><br>
>>>>>>> IP of server: 1.2.3.4<br>
>>>>>>><br>
>>>>>>> User: <a href="mailto:1000@a.domain.com">1000@a.domain.com</a><br>
>>>>>>><br>
>>>>>>> Alias: +<a href="mailto:18085551234@a.domain.com">18085551234@a.domain.com</a><br>
>>>>>>><br>
>>>>>>> A call to +<a href="mailto:18085551234@1.2.3.4">18085551234@1.2.3.4</a> fails when using<br>
>>>>>>> alias_db_lookup("dbaliases");.<br>
>>>>>>><br>
>>>>>>> I also can't add both aliases to the dbaliases table:<br>
>>>>>>> # opensipsctl alias_db add +<a href="mailto:18085551234@1.2.3.4">18085551234@1.2.3.4</a> <a href="mailto:1000@a.domain.com">1000@a.domain.com</a><br>
>>>>>>> INFO: +18085551234 alias already in dbaliases table<br>
>>>>>>><br>
>>>>>>> Thanks,<br>
>>>>>>> Julian<br>
>>>>>>><br>
>>>>>>> _______________________________________________<br>
>>>>>>> Users mailing list<br>
>>>>>>> <a href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a><br>
>>>>>>> <a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
>>>>>> --<br>
>>>>>> Alex Balashov<br>
>>>>>> Evariste Systems<br>
>>>>>> Web : <a href="http://www.evaristesys.com/" target="_blank">http://www.evaristesys.com/</a><br>
>>>>>> Tel : (+1) (678) 954-0670<br>
>>>>>> Direct : (+1) (678) 954-0671<br>
>>>>>> Mobile : (+1) (678) 237-1775<br>
>>>>>><br>
>><br>
>> --<br>
>> Alex Balashov<br>
>> Evariste Systems<br>
>> Web : <a href="http://www.evaristesys.com/" target="_blank">http://www.evaristesys.com/</a><br>
>> Tel : (+1) (678) 954-0670<br>
>> Direct : (+1) (678) 954-0671<br>
>> Mobile : (+1) (678) 237-1775<br>
>><br>
<br>
<br>
</div></div>--<br>
<div><div></div><div class="Wj3C7c">Alex Balashov<br>
Evariste Systems<br>
Web : <a href="http://www.evaristesys.com/" target="_blank">http://www.evaristesys.com/</a><br>
Tel : (+1) (678) 954-0670<br>
Direct : (+1) (678) 954-0671<br>
Mobile : (+1) (678) 237-1775<br>
<br>
_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a><br>
<a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>Sergio Gutiérrez<br>