[Serusers] multiple domains in Ser
Ricardo Carvalho
rcarvalho at iric.up.pt
Thu Aug 24 12:59:27 CEST 2006
Thanks Curt,
In fact, after reading about the use_domain parameter, I also think my
problem can be solved adding the following lines to ser.cfg:
###################
modparam("usrloc", "use_domain", 1) #If the domain part of the user
should be also saved and used for identifing the user (along with the
username part). Useful in multi domain scenarios. Non 0 value means true.
modparam("registrar", "use_domain", 1) # If set to 1 then the registrar
will use username at domain as address of record. If the variable is set to
0 then only username will be used as the address of record. Default
value is 0.
###################
Although, after editing that way ser.cfg file, my phones still register
in Ser, but none of them can call any other, even if I call someone only
by username or by username at domain.
What if lacking in my configuration? If anyone knows, please tell me!
Regards,
Ricardo.
Curt Moore wrote:
> Hello Ricardo,
>
> Although I've never used multi domain mode, I think what you're
> looking for is the following configuration parameter:
>
> modparam("usrloc", "use_domain", 1)
>
> If I understand the documentation correctly, if this parameter is set,
> the usrloc module will base the username lookup on both the username
> and domain instead of just the username.
>
> You will also likely want to set the use_domain parameter for any
> other modules you're using which support that parameter.
>
> If this is incorrect, please correct anything I mentioned incorrectly.
>
> -Curt
>
> On 8/23/06, Ricardo Carvalho <rcarvalho at iric.up.pt> wrote:
>> Hi,
>>
>> Is there a way to coexist multiple domains in Ser, distinguishing users
>> even if they have the same username in subscriber table but different
>> domains?
>>
>> I'll explain better, I have subscriber table with:
>>
>> | username | domain | e-mail |
>> ------------------------------------------------
>> | user_A | domain_A | user_A at domain_A |
>> ------------------------------------------------
>> | user_A | domain_B | user_A at domain_B |
>>
>> and in domain table there are both domains domain_A and domain_B.
>>
>> But when someone calls user_A, (with or without writing their
>> domain), both phones ring (if both users have their phones
>> registered), when I want only one to ring because they are different
>> users!!
>> Is there a way in Ser to do this right?
>>
>> Regards,
>>
>> Ricardo.
>>
>>
>> _______________________________________________
>> Serusers mailing list
>> Serusers at lists.iptel.org
>> http://lists.iptel.org/mailman/listinfo/serusers
>>
>
More information about the sr-users
mailing list