[asterisk-bugs] [Asterisk 0012323]: Asterisk gives up on registration after receiving 408 Timeout response once

noreply at bugs.digium.com noreply at bugs.digium.com
Thu May 8 11:05:51 CDT 2008


The following issue has been ASSIGNED. 
====================================================================== 
http://bugs.digium.com/view.php?id=12323 
====================================================================== 
Reported By:                voipdealer
Assigned To:                russell
====================================================================== 
Project:                    Asterisk
Issue ID:                   12323
Category:                   Channels/chan_sip/Registration
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     assigned
Asterisk Version:           SVN 
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Disclaimer on File?:        N/A 
Request Review:              
====================================================================== 
Date Submitted:             03-28-2008 09:11 CDT
Last Modified:              05-08-2008 11:05 CDT
====================================================================== 
Summary:                    Asterisk gives up on registration after receiving
408 Timeout response once
Description: 
I have noticed the following behavior:
- Asterisk registers fine to SIP provider for days
- SIP provider sends one 408 response due to some temporary issue on their
network
- Asterisk never attempts to register again, until it is restarted,
resulting in loss of inbound service

Ideally, a 408 should never happen.  However, there are hundreds of
possible reasons a provider may send a 408 for a few seconds (systems are
failing over to backups, database is unavailable due to backup, whatever). 
Asterisk should just reschedule registration as it does with all other 4xx
errors.
====================================================================== 

---------------------------------------------------------------------- 
 svnbot - 05-08-08 11:05  
---------------------------------------------------------------------- 
Repository: asterisk
Revision: 115561

U   branches/1.4/channels/chan_sip.c

------------------------------------------------------------------------
r115561 | russell | 2008-05-08 11:05:47 -0500 (Thu, 08 May 2008) | 3 lines

Don't give up on attempting an outbound registration if we receive a 408
Timeout.
(closes issue http://bugs.digium.com/view.php?id=12323)

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

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

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
05-08-08 11:05  svnbot         Note Added: 0086612                          
05-08-08 11:05  svnbot         Assigned To              oej => russell      
======================================================================




More information about the asterisk-bugs mailing list