[asterisk-users] Issue when reloading

Pablo Bernasconi bernasconi.pablo at gmail.com
Tue Feb 2 07:53:28 CST 2010


Hello list!

I´m having an issue when reloading Asterisk, I´ve had this problem in
Asterisk 1.6.1.6 so I upgrade to 1.6.2.1 version, but I still have the same
error.

For example, I send a "reload" in Asterisk CLI and this is the output:

isb152*CLI> reload
  == Parsing '/etc/asterisk/extconfig.conf':   == Found
  == Parsing '/etc/asterisk/manager.conf':   == Found
  == Parsing '/etc/asterisk/manager_additional.conf':   == Found
  == Parsing '/etc/asterisk/manager_custom.conf':   == Found
  == Parsing '/etc/asterisk/logger.conf':   == Found
 Asterisk Event Logger restarted
 Asterisk Queue Logger restarted
  == Parsing '/etc/asterisk/features.conf':   == Found
  == Parsing '/etc/asterisk/features_general_additional.conf':   == Found
  == Parsing '/etc/asterisk/features_general_custom.conf':   == Found
  == Parsing '/etc/asterisk/features_applicationmap_additional.conf':   ==
Found
  == Parsing '/etc/asterisk/features_applicationmap_custom.conf':   == Found
  == Parsing '/etc/asterisk/features_featuremap_additional.conf':   == Found
  == Parsing '/etc/asterisk/features_featuremap_custom.conf':   == Found
    -- Added extension '70' priority 1 to parkedcalls (0xa8798b0)
    -- Reloading module 'res_phoneprov' (HTTP Phone Provisioning)
  == Parsing '/etc/asterisk/sip.conf':   == Found
  == Parsing '/etc/asterisk/sip_general_additional.conf':   == Found
  == Parsing '/etc/asterisk/sip_general_custom.conf':   == Found
  == Parsing '/etc/asterisk/sip_nat.conf':   == Found
  == Parsing '/etc/asterisk/sip_registrations_custom.conf':   == Found
  == Parsing '/etc/asterisk/sip_registrations.conf':   == Found
  == Parsing '/etc/asterisk/sip_custom.conf':   == Found
  == Parsing '/etc/asterisk/sip_additional.conf':   == Found
  == Parsing '/etc/asterisk/sip_custom_post.conf':   == Found
  == Parsing '/etc/asterisk/users.conf':   == Found
  == Parsing '/etc/asterisk/phoneprov.conf':   == Found
    -- Reloading module 'res_odbc' (ODBC resource)
  == Parsing '/etc/asterisk/res_odbc.conf':   == Found
    -- Reloading module 'res_musiconhold' (Music On Hold Resource)
    -- Reloading module 'res_crypto' (Cryptographic Digital Signatures)
    -- Reloading module 'res_config_odbc' (Realtime ODBC configuration)
    -- Reloading module 'res_clialiases' (CLI Aliases)
    -- Reloading module 'res_adsi' (ADSI Resource)
    -- Reloading module 'pbx_dundi' (Distributed Universal Number Discovery
(DUNDi))
  == Parsing '/etc/asterisk/dundi.conf':   == Found
    -- Reloading module 'pbx_config' (Text Extension Configuration)
  == Parsing '/etc/asterisk/extensions.conf':   == Found
  == Parsing '/etc/asterisk/extensions_override_freepbx.conf':   == Found
  == Parsing '/etc/asterisk/extensions_additional.conf':   == Found
  == Parsing '/etc/asterisk/globals_custom.conf':   == Found
  == Parsing '/etc/asterisk/extensions_custom.conf':   == Found
[Feb  2 08:14:46] NOTICE[32490]: pbx_ael.c:149 pbx_load_module: AEL load
process: verified config file name '/etc/asterisk/extensions.ael'.
    -- Reloading module 'func_odbc' (ODBC lookups)
    -- Reloading module 'codec_ulaw' (mu-Law Coder/Decoder)
    -- Reloading module 'codec_lpc10' (LPC10 2.4kbps Coder/Decoder)
    -- Reloading module 'codec_gsm' (GSM Coder/Decoder)
    -- Reloading module 'codec_g726' (ITU G.726-32kbps G726 Transcoder)
    -- Reloading module 'codec_g722' (ITU G.722-64kbps G722 Transcoder)
    -- Reloading module 'codec_dahdi' (Generic DAHDI Transcoder Codec
Translator)
    -- Reloading module 'codec_alaw' (A-law Coder/Decoder)
    -- Reloading module 'codec_adpcm' (Adaptive Differential PCM
Coder/Decoder)
    -- Reloading module 'chan_unistim' (UNISTIM Protocol (USTM))
 Reloading unistim.conf...
  == Parsing '/etc/asterisk/unistim.conf':   == Found
    -- Reloading module 'chan_skinny' (Skinny Client Control Protocol
(Skinny))
[Feb  2 08:14:46] NOTICE[32490]: chan_skinny.c:7062 config_load: Configuring
skinny from skinny.conf
  == Parsing '/etc/asterisk/skinny.conf':   == Found
    -- Remote UNIX connection
    -- Remote UNIX connection disconnected
    -- Remote UNIX connection
    -- Remote UNIX connection disconnected


Nothing about chan_dahdi, app_queue, cdr or chan_agent

But, for example if I change something in agents.conf (anything), the output
of the "reload" in CLI shows me that chan_dahdi, app_queue, chan_agents, etc
now reloads its configuration.

isb152*CLI> reload
  == Parsing '/etc/asterisk/extconfig.conf':   == Found
  == Parsing '/etc/asterisk/manager.conf':   == Found
  == Parsing '/etc/asterisk/manager_additional.conf':   == Found
  == Parsing '/etc/asterisk/manager_custom.conf':   == Found
  == Parsing '/etc/asterisk/logger.conf':   == Found
 Asterisk Event Logger restarted
 Asterisk Queue Logger restarted
  == Parsing '/etc/asterisk/features.conf':   == Found
  == Parsing '/etc/asterisk/features_general_additional.conf':   == Found
  == Parsing '/etc/asterisk/features_general_custom.conf':   == Found
  == Parsing '/etc/asterisk/features_applicationmap_additional.conf':   ==
Found
  == Parsing '/etc/asterisk/features_applicationmap_custom.conf':   == Found
  == Parsing '/etc/asterisk/features_featuremap_additional.conf':   == Found
  == Parsing '/etc/asterisk/features_featuremap_custom.conf':   == Found
    -- Added extension '70' priority 1 to parkedcalls (0xb79cd928)
    -- Reloading module 'res_phoneprov' (HTTP Phone Provisioning)
  == Parsing '/etc/asterisk/sip.conf':   == Found
  == Parsing '/etc/asterisk/sip_general_additional.conf':   == Found
  == Parsing '/etc/asterisk/sip_general_custom.conf':   == Found
  == Parsing '/etc/asterisk/sip_nat.conf':   == Found
  == Parsing '/etc/asterisk/sip_registrations_custom.conf':   == Found
  == Parsing '/etc/asterisk/sip_registrations.conf':   == Found
  == Parsing '/etc/asterisk/sip_custom.conf':   == Found
  == Parsing '/etc/asterisk/sip_additional.conf':   == Found
  == Parsing '/etc/asterisk/sip_custom_post.conf':   == Found
  == Parsing '/etc/asterisk/users.conf':   == Found
  == Parsing '/etc/asterisk/phoneprov.conf':   == Found
    -- Reloading module 'res_odbc' (ODBC resource)
  == Parsing '/etc/asterisk/res_odbc.conf':   == Found
    -- Reloading module 'res_musiconhold' (Music On Hold Resource)
    -- Reloading module 'res_crypto' (Cryptographic Digital Signatures)
    -- Reloading module 'res_config_odbc' (Realtime ODBC configuration)
    -- Reloading module 'res_clialiases' (CLI Aliases)
    -- Reloading module 'res_adsi' (ADSI Resource)
    -- Reloading module 'pbx_dundi' (Distributed Universal Number Discovery
(DUNDi))
  == Parsing '/etc/asterisk/dundi.conf':   == Found
    -- Reloading module 'pbx_config' (Text Extension Configuration)
  == Parsing '/etc/asterisk/extensions.conf':   == Found
  == Parsing '/etc/asterisk/extensions_override_freepbx.conf':   == Found
  == Parsing '/etc/asterisk/extensions_additional.conf':   == Found
  == Parsing '/etc/asterisk/globals_custom.conf':   == Found
  == Parsing '/etc/asterisk/extensions_custom.conf':   == Found
 [Feb  2 08:19:41] NOTICE[1625]: pbx_ael.c:149 pbx_load_module: AEL load
process: verified config file name '/etc/asterisk/extensions.ael'.
    -- Reloading module 'func_odbc' (ODBC lookups)
    -- Reloading module 'codec_ulaw' (mu-Law Coder/Decoder)
    -- Reloading module 'codec_lpc10' (LPC10 2.4kbps Coder/Decoder)
    -- Reloading module 'codec_gsm' (GSM Coder/Decoder)
    -- Reloading module 'codec_g726' (ITU G.726-32kbps G726 Transcoder)
    -- Reloading module 'codec_g722' (ITU G.722-64kbps G722 Transcoder)
    -- Reloading module 'codec_dahdi' (Generic DAHDI Transcoder Codec
Translator)
    -- Reloading module 'codec_alaw' (A-law Coder/Decoder)
    -- Reloading module 'codec_adpcm' (Adaptive Differential PCM
Coder/Decoder)
    -- Reloading module 'chan_unistim' (UNISTIM Protocol (USTM))
 Reloading unistim.conf...
  == Parsing '/etc/asterisk/unistim.conf':   == Found
    -- Reloading module 'chan_skinny' (Skinny Client Control Protocol
(Skinny))
[Feb  2 08:19:41] NOTICE[1625]: chan_skinny.c:7062 config_load: Configuring
skinny from skinny.conf
  == Parsing '/etc/asterisk/skinny.conf':   == Found
    -- Reloading module 'chan_sip' (Session Initiation Protocol (SIP))
 Reloading SIP
  == Parsing '/etc/asterisk/sip.conf':   == Found
  == Parsing '/etc/asterisk/sip_general_additional.conf':   == Found
  == Parsing '/etc/asterisk/sip_general_custom.conf':   == Found
  == Parsing '/etc/asterisk/sip_nat.conf':   == Found
  == Parsing '/etc/asterisk/sip_registrations_custom.conf':   == Found
  == Parsing '/etc/asterisk/sip_registrations.conf':   == Found
  == Parsing '/etc/asterisk/sip_custom.conf':   == Found
  == Parsing '/etc/asterisk/sip_additional.conf':   == Found
  == Parsing '/etc/asterisk/sip_custom_post.conf':     -- Reloading module
'chan_mgcp' (Media Gateway Control Protocol (MGCP))
  == Found
  == Parsing '/etc/asterisk/users.conf':  Reloading MGCP
    -- Reloading module 'chan_iax2' (Inter Asterisk eXchange (Ver 2))
  == Found
  == Parsing '/etc/asterisk/sip_notify.conf':   == Found
  == Parsing '/etc/asterisk/sip_notify_custom.conf':   == Found
  == Parsing '/etc/asterisk/sip_notify_additional.conf':   == Found
  == Parsing '/etc/asterisk/iax.conf':   == Found
  == Parsing '/etc/asterisk/iax_general_additional.conf':   == Found
  == Parsing '/etc/asterisk/iax_general_custom.conf':   == Found
  == Parsing '/etc/asterisk/iax_registrations_custom.conf':   == Found
  == Parsing '/etc/asterisk/iax_registrations.conf':   == Found
  == Parsing '/etc/asterisk/iax_custom.conf':   == Found
  == Parsing '/etc/asterisk/iax_additional.conf':   == Found
  == Parsing '/etc/asterisk/iax_custom_post.conf':   == Found
  == Parsing '/etc/asterisk/users.conf':   == Found
 *   -- Reloading module 'chan_dahdi' (DAHDI Telephony Driver w/PRI)
    -- Reloading module 'chan_agent' (Agent Proxy Channel)
  == Parsing '/etc/asterisk/agents.conf':   == Found
[Feb  2 08:19:41] NOTICE[1625]: chan_agent.c:1235 read_agent_config: Set
acceptdtmf to #*
 *   -- Reloading module 'cdr_odbc' (ODBC CDR Backend)
    -- Reloading module 'cdr_manager' (Asterisk Manager Interface CDR
Backend)
    -- Reloading module 'cdr_custom' (Customizable Comma Separated Values
CDR Backend)
    -- Reloading module 'cdr_csv' (Comma Separated Values CDR Backend)
    -- Reloading module 'cdr_adaptive_odbc' (Adaptive ODBC CDR backend)*
  == Parsing '/etc/asterisk/cdr_adaptive_odbc.conf':   == Found
    -- Reloading module 'app_voicemail' (Comedian Mail (Voicemail System)
with ODBC Storage)
    -- Reloading module 'app_rpt' (Radio Repeater/Remote Base Application)
    -- Reloading module 'app_queue' (True Call Queueing)
[Feb  2 08:19:41] NOTICE[1625]: app_queue.c:5660 reload_queue_rules:
queuerules.conf has not changed since it was last loaded. Not taking any
action.
 * == Parsing '/etc/asterisk/queues.conf':   == Found
  == Parsing '/etc/asterisk/queues_general_additional.conf':   == Found
  == Parsing '/etc/asterisk/queues_custom_general.conf':   == Found
  == Parsing '/etc/asterisk/queues_custom.conf':   == Found
  == Parsing '/etc/asterisk/queues_additional.conf':   == Found
  == Parsing '/etc/asterisk/queues_post_custom.conf':   == Found*
    -- Reloading module 'app_playback' (Sound File Playback Application)
    -- Reloading module 'app_minivm' (Mini VoiceMail (A minimal Voicemail
e-mail System))
    -- Reloading module 'app_meetme' (MeetMe conference bridge)
  == Parsing '/etc/asterisk/meetme.conf':   == Found
[Feb  2 08:19:41] NOTICE[1625]: app_meetme.c:6427 load_config: A reload of
the SLA configuration has been requested and will be completed when the
system is idle.
    -- Reloading module 'app_followme' (Find-Me/Follow-Me Application)
    -- Reloading module 'app_amd' (Answering Machine Detection Application)
    -- Reloading module 'res_config_mysql.so' (MySQL RealTime Configuration
Driver)
  == MySQL RealTime reloaded.
    -- Reloading module 'cdr_addon_mysql.so' (MySQL CDR Backend)
    -- Remote UNIX connection
    -- Remote UNIX connection disconnected
    -- Remote UNIX connection
    -- Remote UNIX connection disconnected


I´m with 1.6.2.1 with the original .conf, I´ve made only few changes.
What could be happening?

If I send a reload without editing any .conf file it doesnt reload
chan_agent for example, so my call center gets crazy.

Thank you very much!! and sorry about my poor english,
Pablo Bernasconi
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20100202/1e2afe5d/attachment.htm 


More information about the asterisk-users mailing list