[Asterisk-Users] SIP REGISTER -- Asterisk non-compliant or is it the provider?

Gilad Ben-Yossef gilad at codefidence.com
Sat Nov 6 11:32:05 MST 2004


Benjamin on Asterisk Mailing Lists wrote:
> On Sat, 06 Nov 2004 12:00:57 -0500, Karl Brose <khb at brose.com> wrote:
> 
>> 
>> The syntax for the register command is
>> 
>> register=username:secret:*AUTHNAME*@domain:port/extension
> 
> 
> Trouble is though that this does not have any effect on the username
> in the digest. Whatever it is intended for, it's not doing anything to
> untie the From field from the Digest username field.
> 


Well, it looks like the digest is being built with authname in 
build_reply_digest(). It's using sip_pvt.authname which get's 
initialized to the *username* in create_addr, but is then being copied 
over by the authuser field from the SIP registery which looks like it 
should get initalized by sip_register().

But obviously, it doesn't :-)

Hope this helps in  any way,
Gilad




More information about the asterisk-users mailing list