[asterisk-bugs] [Asterisk 0012941]: Failing registrations to peer via DNS name breaks all other peers

Asterisk Bug Tracker noreply at bugs.digium.com
Mon Nov 24 13:26:53 CST 2008


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=12941 
====================================================================== 
Reported By:                btrain1227
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   12941
Category:                   Channels/chan_sip/Registration
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     new
Asterisk Version:           1.4.21 
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Disclaimer on File?:        N/A 
Request Review:              
====================================================================== 
Date Submitted:             2008-06-27 16:05 CDT
Last Modified:              2008-11-24 13:26 CST
====================================================================== 
Summary:                    Failing registrations to peer via DNS name breaks
all other peers
Description: 
A peer we register some DID's from via a DNS hostname for the peer went
down today.  The DNS hostname was not resolvable either.  This failing
registration caused all the end user SIP phones registered to the server to
unregister.

Tried restarting, but the phones did not register.  After commenting the
'register => xxxx:xxxx at failed-peer-name.com/xxxx' lines and restarting the
phones registered.

Console during issue:
[Jun 27 15:22:02] WARNING[1074]: chan_sip.c:2921 create_addr: No such
host: failed-peer-name.com
[Jun 27 15:22:02] WARNING[1074]: chan_sip.c:7595 transmit_register:
Probably a DNS error for registration to xxxx at failed-peer-name.com, trying
REGISTER again (after 20 seconds)
[Jun 27 15:22:02] NOTICE[1074]: chan_sip.c:7517 sip_reg_timeout:    --
Registration for 'xxxx at failed-peer-name.com' timed out, trying again
(Attempt http://bugs.digium.com/view.php?id=415)
====================================================================== 

---------------------------------------------------------------------- 
 (0095393) btrain1227 (reporter) - 2008-11-24 13:26
 http://bugs.digium.com/view.php?id=12941#c95393 
---------------------------------------------------------------------- 
I also tried reproducing the outage by adding a bad route to the DNS
servers for a peer on my asterisk box and flushing the local resolver.  The
peer went down as expected and the phones stayed up.  This is on 1.4.22. 
Appears to work fine now.  Feel free to close. 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2008-11-24 13:26 btrain1227     Note Added: 0095393                          
======================================================================




More information about the asterisk-bugs mailing list