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

Asterisk Bug Tracker noreply at bugs.digium.com
Mon Jan 26 08:02:16 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 08:02 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---------

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

---------------------------------------------------------------------- 
 (0098744) svnbot (reporter) - 2009-01-26 08:02
 http://bugs.digium.com/view.php?id=14284#c98744 
---------------------------------------------------------------------- 
Repository: asterisk
Revision: 171327

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

------------------------------------------------------------------------
r171327 | oej | 2009-01-26 08:02:15 -0600 (Mon, 26 Jan 2009) | 25 lines

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

................
r171326 | oej | 2009-01-26 14:44:40 +0100 (M?\195?\131?\194?\165n, 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=171327 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-01-26 08:02 svnbot         Note Added: 0098744                          
======================================================================




More information about the asterisk-bugs mailing list