[asterisk-dev] add feature to register to sip provider with "authuser at domain"
Walter Doekes
walter+asterisk-dev at osso.nl
Tue Oct 30 11:02:26 CDT 2012
> On 10/30/2012 06:42 AM, Denis wrote:
>> I need to register as a SIP Client at my sip provider with
>> 'authuser="xxxxxxx at provider.domain"'. Currently I have no clue how to
>> do it with asterisk.
>> Format for register statment is:
>> register =>
>> [peer?][transport://]user[@domain][:secret[:authuser]]@host[:port][/extension][~expiry]
>>
>>
>> Is it posssible to add option [@domain] to the authuser, so the
>> register statement would be:
>> register =>
>> [peer?][transport://]user[@domain][:secret[:authuser[@domain]]]@host[:port][/extension][~expiry]
Perhaps the realm authentication can come to the rescue?
It uses a strrchr to split the realm, so this might work in sip.conf:
[general]
register => fromuser at host
[authentication]
auth => authuser at authdomain:secret at realm
where realm is the realm you get in the 401
/w
More information about the asterisk-dev
mailing list