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

Asterisk Bug Tracker noreply at bugs.digium.com
Fri Oct 9 11:07:21 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:                     closed
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:              
Resolution:                 fixed
Fixed in Version:           
====================================================================== 
Date Submitted:             2009-09-24 10:29 CDT
Last Modified:              2009-10-09 11:07 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.
====================================================================== 

---------------------------------------------------------------------- 
 (0112117) svnbot (reporter) - 2009-10-09 11:07
 https://issues.asterisk.org/view.php?id=15955#c112117 
---------------------------------------------------------------------- 
Repository: asterisk
Revision: 223091

_U  branches/1.6.0/
U   branches/1.6.0/channels/chan_sip.c

------------------------------------------------------------------------
r223091 | dvossel | 2009-10-09 11:07:20 -0500 (Fri, 09 Oct 2009) | 20
lines

Merged revisions 223088 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/trunk

........
  r223088 | dvossel | 2009-10-09 10:49:30 -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=223091 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-10-09 11:07 svnbot         Checkin                                      
2009-10-09 11:07 svnbot         Note Added: 0112117                          
======================================================================




More information about the asterisk-bugs mailing list