[asterisk-bugs] [Asterisk 0015955]: [patch] p->peerauth is always empty in transmit_register()

Asterisk Bug Tracker noreply at bugs.digium.com
Fri Oct 9 10:52:58 CDT 2009


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=15955 
====================================================================== 
Reported By:                ebroad
Assigned To:                dvossel
====================================================================== 
Project:                    Asterisk
Issue ID:                   15955
Category:                   Channels/chan_sip/General
Reproducibility:            always
Severity:                   trivial
Priority:                   normal
Status:                     assigned
Asterisk Version:           SVN 
JIRA:                       SWP-226 
Regression:                 No 
Reviewboard Link:            
SVN Branch (only for SVN checkouts, not tarball releases):  trunk 
SVN Revision (number only!):  
Request Review:              
====================================================================== 
Date Submitted:             2009-09-24 10:29 CDT
Last Modified:              2009-10-09 10:52 CDT
====================================================================== 
Summary:                    [patch] p->peerauth is always empty in
transmit_register()
Description: 
When we call build_reply_digest() later on, the peers 'auth=' setting will
never get used because p->peerauth is empty, and the registration will
fail.
====================================================================== 

---------------------------------------------------------------------- 
 (0112114) svnbot (reporter) - 2009-10-09 10:52
 https://issues.asterisk.org/view.php?id=15955#c112114 
---------------------------------------------------------------------- 
Repository: asterisk
Revision: 223088

U   trunk/channels/chan_sip.c

------------------------------------------------------------------------
r223088 | dvossel | 2009-10-09 10:52:57 -0500 (Fri, 09 Oct 2009) | 14
lines

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 https://issues.asterisk.org/view.php?id=15955)
Reported by: ebroad
Patches:
      regauthfix.patch uploaded by ebroad (license 878)


------------------------------------------------------------------------

http://svn.digium.com/view/asterisk?view=rev&revision=223088 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-10-09 10:52 svnbot         Checkin                                      
2009-10-09 10:52 svnbot         Note Added: 0112114                          
======================================================================




More information about the asterisk-bugs mailing list