p->peerauth is always empty in transmit_register()
authorDavid Vossel <dvossel@digium.com>
Fri, 9 Oct 2009 15:49:30 +0000 (15:49 +0000)
committerDavid Vossel <dvossel@digium.com>
Fri, 9 Oct 2009 15:49:30 +0000 (15:49 +0000)
commitb2a7eecd6ea6c3eca68d308a8c7b47b187935493
tree3103e0c90870c9721dbcb2c3be3048dc73a18a21
parentd81a8e34dd22f26b817810e1b2556ede0afce086
p->peerauth is always empty in transmit_register()

When using callbackextension or specifing the peer name
in a registration string, the peer's specific auth settings
set by the "auth=" strings within the peer definition are not
used by the registration.  Thanks to ebroad for reporting the
issue and providing the patch.

(closes issue #15955)
Reported by: ebroad
Patches:
      regauthfix.patch uploaded by ebroad (license 878)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@223088 65c4cc65-6c06-0410-ace0-fbb531ad65f3
channels/chan_sip.c