[asterisk-bugs] [JIRA] (ASTERISK-16241) problem with SIP during reboot

Matt Jordan (JIRA) noreply at issues.asterisk.org
Tue Jan 15 11:33:45 CST 2013


    [ https://issues.asterisk.org/jira/browse/ASTERISK-16241?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=201553#comment-201553 ] 

Matt Jordan commented on ASTERISK-16241:
----------------------------------------

Please note that {{res_config_pgsql}} is an extended support module, and as such, development efforts for it come from the open source community. Response times may reflect that.

Also: there's at least one other issue opened out there that illustrated a locking problem {{res_config_pgsql}} has (ASTERISK-19767). You are likely running into the same problem on a reload.
                
> problem with SIP during reboot
> ------------------------------
>
>                 Key: ASTERISK-16241
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-16241
>             Project: Asterisk
>          Issue Type: Bug
>          Components: Resources/res_config_pgsql
>            Reporter: Maciej Krajewski
>            Severity: Minor
>         Attachments: asteriskbad.txt, asteriskok.txt, asteriskvvc.txt, full, full2, log.txt, postgres.txt, sip_ps.sql
>
>
> 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

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira



More information about the asterisk-bugs mailing list