[Users] aliases in multi-domain
Bogdan-Andrei Iancu
bogdan at voice-system.ro
Wed Sep 6 13:09:52 CEST 2006
your solution is more expensive from DB size point of view. Each alias
must be added for all the domains.
on the other side, you are right - if you are using location for
aliases, it will be tricky to disable the use_domain option.
as a solution you might use alias_db module for aliases - you will be
able to set the use_domain without any side effects.
regards,
bogdan
Ricardo Carvalho wrote:
> I already figured out how it can be done... The problem can be solved
> adding every domains that Ser proxy takes care to same alias in
> aliases table, for example like this:
>
> username | domain | contact
> ---------------------------------------------------------------
> 4119 | domain_A | user at domain_A
> 4119 | domain_B | user at domain_A
>
> This way, phones registered as different domains in the same Ser
> server can dial the alias 4119 without having to dial 4119 at domain_A if
> the caller is registered in domain_B. It may sound like a bit lousy
> trick, but it works!
>
> In fact I agree that the best way to do this would be turning off the
> "use_domain" for aliases, but I don't know how can that be done
> because I guess that if we use modparam("usrloc", "use_domain", 1),
> use_domain will be available for everything. If someone knows how to
> disable use_domain for aliases, please tell me!!
>
> Regards,
>
> Ricardo.
>
>
>
>
>
>
>
>
>
> Bogdan-Andrei Iancu wrote:
>
>> Hi Ricardo,
>>
>> try turning off the "use_domain" for aliases - then only the username
>> will be used to identify the alias, so they will be visible from all
>> your local domains.
>>
>> regards,
>> bogdan
>>
>> Ricardo Carvalho wrote:
>>
>>> I'm using multi-domain and I can only call users by their aliases if
>>> I'm dialling from a phone registered with the same domain of the
>>> called user or if I'm dialling alias at domain_of_the_callee from a
>>> phone registered with other domain.
>>>
>>> How can I make Ser allow that every user can contact other users
>>> even if they are from other domain by just dialling their alias
>>> (without dialling also their domain when the callee is from other
>>> domain than the caller)?
>>>
>>> Regards,
>>>
>>> Ricardo.
>>>
>>> _______________________________________________
>>> Users mailing list
>>> Users at openser.org
>>> http://openser.org/cgi-bin/mailman/listinfo/users
>>>
>>
>
More information about the Users
mailing list