[asterisk-bugs] [Asterisk 0010202]: idle console disconnects

noreply at bugs.digium.com noreply at bugs.digium.com
Mon Jan 7 21:55:37 CST 2008


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=10202 
====================================================================== 
Reported By:                bferell
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   10202
Category:                   Core-General
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     feedback
Asterisk Version:           1.4.7.1  
SVN Branch (only for SVN checkouts, not tarball releases): N/A  
SVN Revision (number only!):  
Disclaimer on File?:        No 
Request Review:              
====================================================================== 
Date Submitted:             07-13-2007 16:27 CDT
Last Modified:              01-07-2008 21:55 CST
====================================================================== 
Summary:                    idle console disconnects
Description: 
Asterisk 1.4.7.1  on Mac OSX 10.4

No other entries in the logs
======================================================================
Relationships       ID      Summary
----------------------------------------------------------------------
related to          0010881 Asterisk 1.4 console repeatedly showing...
====================================================================== 

---------------------------------------------------------------------- 
 caio1982 - 01-07-08 21:55  
---------------------------------------------------------------------- 
Facts after some humble detective work done last night (using trunk
revision 96988):

1. These idle console disconnects for me were related to registry =>lines
on my sip.conf as stated above so I checked it again and it seems to be
something wrong when sip_reg_timeout is called but only when you type
something on CLI.

2. While chan_sip keeps trying registration everything looks fine. Even
with softphones logging in automatically at the same time. You just can't
touch the CLI :-)

3. You can execute CLI commands as much as you like, until the first DNS
error/registration attempt gets a timeout.

4. Whatever I set global_regattempts_max or not, the problems still
occurs.

5. The problem simply vanish if I hack the if (r->call) statement on line
8328 with a bypass. The most isolated code within it seems to be the guilty
r->call = dialog_unref(r->call); on line 8343 causing the CLI freezes on
registrations for both local and remote connections. Yay!

6. This dialog_unref returns NULL and tweaking it solves the problem
partially, sigh...

7. I also got 'Bus error' and crashes on some rasterisk executions while
playing with tab completion, but I believe they might be a undiscovered
bug, so I'll double check it before correlating it with this bug. 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
01-07-08 21:55  caio1982       Note Added: 0076468                          
======================================================================




More information about the asterisk-bugs mailing list