Benjamin on Asterisk Mailing Lists wrote:
On Sat, 06 Nov 2004 12:00:57 -0500, Karl Brose <[EMAIL PROTECTED]> wrote:


The syntax for the register command is

register=username:secret:[EMAIL PROTECTED]: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

_______________________________________________
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to