[asterisk-bugs] [Asterisk 0014284]: [patch] Asterisk retransmits the 401 response of failed REGISTER

Asterisk Bug Tracker noreply at bugs.digium.com
Mon Jan 26 06:51:17 CST 2009


The following issue has been RESOLVED. 
====================================================================== 
http://bugs.digium.com/view.php?id=14284 
====================================================================== 
Reported By:                klaus3000
Assigned To:                oej
====================================================================== 
Project:                    Asterisk
Issue ID:                   14284
Category:                   Channels/chan_sip/Registration
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     resolved
Asterisk Version:           1.4.22 
Regression:                 No 
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Request Review:              
Resolution:                 fixed
Fixed in Version:           
====================================================================== 
Date Submitted:             2009-01-20 04:19 CST
Last Modified:              2009-01-26 06:51 CST
====================================================================== 
Summary:                    [patch] Asterisk retransmits the 401 response of
failed REGISTER
Description: 
Hi! Asterisk retransmits the 401 of a failed REGISTER. This is buggy as
there will not be an ACK for REGISTER, does Asterisk must not retransmit
any response in a REGISTER transaction - except the incoming REGISTER
itself is a retransmission!

client       Asterisk
-----REGISTER---->
<-----401---------
-----REGISTER---->
<-----401---------
-----REGISTER---->
<-----401---------
<-----401---------
<-----401---------
<-----401---------
<-----401---------
<-----401---------
<-----401---------
<-----401---------
<-----401---------
<-----401---------

====================================================================== 

---------------------------------------------------------------------- 
 (0098741) svnbot (reporter) - 2009-01-26 06:51
 http://bugs.digium.com/view.php?id=14284#c98741 
---------------------------------------------------------------------- 
Repository: asterisk
Revision: 171264

U   branches/1.4/channels/chan_sip.c

------------------------------------------------------------------------
r171264 | oej | 2009-01-26 06:51:16 -0600 (Mon, 26 Jan 2009) | 9 lines

Don't retransmit 401 on REGISTER requests when alwaysauthreject=yes

(closes issue http://bugs.digium.com/view.php?id=14284)
Reported by: klaus3000
Patches: 
      patch_chan_sip_unreliable_1.4.23_14284.txt uploaded by klaus3000
(license 65)
Tested by: klaus3000


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

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

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-01-26 06:51 svnbot         Checkin                                      
2009-01-26 06:51 svnbot         Note Added: 0098741                          
2009-01-26 06:51 svnbot         Status                   assigned => resolved
2009-01-26 06:51 svnbot         Resolution               open => fixed       
======================================================================




More information about the asterisk-bugs mailing list