[asterisk-bugs] [Asterisk 0017505]: problem with SIP during reboot

Asterisk Bug Tracker noreply at bugs.digium.com
Fri Jun 18 06:15:07 CDT 2010


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=17505 
====================================================================== 
Reported By:                jamicque
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   17505
Category:                   PBX/General
Reproducibility:            have not tried
Severity:                   minor
Priority:                   normal
Status:                     feedback
Asterisk Version:           1.6.2.8 
JIRA:                        
Regression:                 No 
Reviewboard Link:            
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Request Review:              
====================================================================== 
Date Submitted:             2010-06-14 10:38 CDT
Last Modified:              2010-06-18 06:15 CDT
====================================================================== 
Summary:                    problem with SIP during reboot
Description: 
I've noticed that after rebooting Asterisk machine it sometimes has
problems with standing up. Asterisk runs fine, but it does not show any
peers any registration fails. Such situation happens every 2 or 3 reboots
(on every machine I have).
I use configs and realtime via pgsql.

Here is my modules.conf

[modules]
noload=>chan_woomera.so
autoload=yes
load => pbx_config.so
load => res_config_pgsql.so
load => res_realtime.so
noload => pbx_gtkconsole.so
load => res_musiconhold.so
noload => pbx_dundi.so
noload => res_speech.so
noload => app_speech_utils.so
noload => pbx_ael.so
noload => chan_oss.so
noload => chan_skinny.so
noload => chan_phone.so
noload => chan_mgcp.so
noload => chan_iax2.so
noload => res_ael_share.so
noload => res_phoneprov.so
noload => res_smdi.so
noload => chan_alsa.so
noload => res_config_ldap.so
noload => app_minivm.so
load => res_timing_dahdi.so
noload => res_timing_pthread.so
load => chan_sip.so

sip show registry shows:
 sip show registry
Host                           dnsmgr Username       Refresh State        
       Reg.Time
sip.freeconet.pl:5060          N      boniek420          120 Unregistered
1 SIP registrations.

I've noticed that there is no option to restart asterisk via CLI

CLI> r
realtime  rtcp      rtp

core show threads
0xb6887b90 netconsole           started at [ 1309] asterisk.c listener()
0xb68c3b90 handle_tcptls_connection started at [  276] tcptls.c
ast_tcptls_server_root()
0xb68ffb90 lock_broker          started at [  490] func_lock.c
load_module()
0xb6a60b90 do_monitor           started at [22590] chan_sip.c
restart_monitor()
0xb6a9cb90 scan_thread          started at [  524] pbx_spool.c
load_module()
0xb6ad8b90 do_monitor           started at [ 9755] chan_dahdi.c
restart_monitor()
0xb6b14b90 tps_processing_function started at [  451] taskprocessor.c
ast_taskprocessor_get()
0xb6b77b90 mb_poll_thread       started at [10453] app_voicemail.c
start_poll_thread()
0xb6bb3b90 tps_processing_function started at [  451] taskprocessor.c
ast_taskprocessor_get()
0xb6befb90 do_monitor           started at [ 4607] chan_unistim.c
restart_monitor()
0xb7884b90 do_parking_thread    started at [ 4674] features.c
ast_features_init()
0xb78c0b90 tps_processing_function started at [  451] taskprocessor.c
ast_taskprocessor_get()
0xb78fcb90 do_devstate_changes  started at [  725] devicestate.c
ast_device_state_engine_init()
0xb7938b90 desc->accept_fn      started at [  482] tcptls.c
ast_tcptls_server_start()
0xb797ab90 inotify_daemon       started at [  295] stdtime/localtime.c
add_notify()
0xb79d7b90 logger_thread        started at [ 1014] logger.c init_logger()
0xb7a13b90 listener             started at [ 1369] asterisk.c
ast_makesocket()
0xb7a4fb90 tps_processing_function started at [  451] taskprocessor.c
ast_taskprocessor_get()
18 threads listed.


after killing the asterisk process and running it again, every thing is
ok.

full debug of asterisk start is in attachment





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

---------------------------------------------------------------------- 
 (0123572) jamicque (reporter) - 2010-06-18 06:15
 https://issues.asterisk.org/view.php?id=17505#c123572 
---------------------------------------------------------------------- 
is there any more info I should deliver? 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2010-06-18 06:15 jamicque       Note Added: 0123572                          
======================================================================




More information about the asterisk-bugs mailing list