[asterisk-bugs] [Asterisk 0013242]: SIP registration does never work, in case DNS not available during firstregistration

Asterisk Bug Tracker noreply at bugs.digium.com
Fri Aug 8 05:04:57 CDT 2008


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=13242 
====================================================================== 
Reported By:                reinerotto
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   13242
Category:                   Channels/chan_sip/Registration
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     feedback
Asterisk Version:           1.4.21.1 
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-08-05 16:22 CDT
Last Modified:              2008-08-08 05:04 CDT
====================================================================== 
Summary:                    SIP registration does never work, in case DNS not
available during firstregistration
Description: 
Effekt:
When asterisk is started, and DNS does not completely work in that instant
of time, sip registration will never succeed, even when DNS is OK
later on.

On my SuSE-LINUX 10.3, there is both a caching name server (named), and
asterisk.
named is started before asterisk.
However, named does not complete its initialization, before asterisk tries
to register SIP.
This might be caused by a slow/broken connection establishment to internet
via pppoe (DSL).
Then the following message shows up:

WARNING[3523] chan_sip.c:7595 transmit_register: Probably a DNS error for
registration to .... trying register again

But even after named works a bit later on, SIP registration never
succeeds.
Only restart of asterisk helps then immediately.
So it looks like, that the second and any further registration attempts do
not completely start "from scratch".
====================================================================== 

---------------------------------------------------------------------- 
 (0091237) reinerotto (reporter) - 2008-08-08 05:04
 http://bugs.digium.com/view.php?id=13242#c91237 
---------------------------------------------------------------------- 
>Does Asterisk give any indication that it is attempting further
registration after the first attempt?<
YES. Asterisk prints messages, that it is continously trying to register.
But without success.

Attached you find some logs. I did the following:
- DSL-connections disconnected.
- Linux booted, asterisk started automatically from etc/init.d
- About 13:00 DSL-connected


asterisk-sip still trying to register. 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2008-08-08 05:04 reinerotto     Note Added: 0091237                          
======================================================================




More information about the asterisk-bugs mailing list