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

Asterisk Bug Tracker noreply at bugs.digium.com
Mon Jan 26 07:44:37 CST 2009


A NOTE has been added to this issue. 
====================================================================== 
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:                     closed
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 07:44 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---------

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

---------------------------------------------------------------------- 
 (0098742) svnbot (reporter) - 2009-01-26 07:44
 http://bugs.digium.com/view.php?id=14284#c98742 
---------------------------------------------------------------------- 
Repository: asterisk
Revision: 171326

_U  trunk/
U   trunk/channels/chan_sip.c

------------------------------------------------------------------------
r171326 | oej | 2009-01-26 07:44:37 -0600 (Mon, 26 Jan 2009) | 17 lines

Merged revisions 171264 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r171264 | oej | 2009-01-26 13:51:53 +0100 (M?\195?\131?\194?\165n, 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=171326 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-01-26 07:44 svnbot         Checkin                                      
2009-01-26 07:44 svnbot         Note Added: 0098742                          
======================================================================




More information about the asterisk-bugs mailing list