[asterisk-dev] SIP domain support for authentication and virtual hosting

Eric "ManxPower" Wieling eric at fnords.org
Sat Feb 4 12:14:44 MST 2006


Olle E Johansson wrote:
> Barry Flanagan wrote:
>> Hi,
>>
>> Can someone explain to me or point me in the direction of documentation
>> for the domain support feature in 1.2.x?
>>
>> Specifically I need to be able to have sip users who are authenticated
>> as user at domain.com.
>>
> For authentication, we only look at
> 
> 1) Whether the domain is a domain we host
> 2) If the user (regardless of domain) is a user we know
> 
> The user namespace is common for all hosted domains, so you can't have 
> barry at domain1 *and* barry at domain2.

The workaround for this is to use the MAC address of the device as it's 
SIP username, then deal with mapping barry at domain1 and barry at domain2 to 
the correct SIP user by using extensions.conf.



More information about the asterisk-dev mailing list