Asterisk "reload" is not working (Asterisk 13.16.0)

I have added an user in “user.conf” file to test the dialplan using x-lite softphone. Then made changes the dialplan in “extensions.conf” file.

After that I’ve reloaded the asterisk from CLI and getting below errors. Whats going wrong here?

AirCredit01*CLI> reload
[Jun 12 21:06:53] NOTICE[4814]: sorcery.c:1406 sorcery_object_load: Type ‘system’ is not reloadable, maintaining previous values
[Jun 12 21:06:53] WARNING[4805]: res_phoneprov.c:1231 get_defaults: Unable to find a valid server address or name.
[Jun 12 21:06:53] ERROR[4805]: ari/config.c:312 process_config: No configured users for ARI
[Jun 12 21:06:53] NOTICE[4805]: pbx_lua.c:1640 load_or_reload_lua_stuff: Lua PBX Switch loaded.
[Jun 12 21:06:53] NOTICE[4805]: res_config_ldap.c:1828 parse_config: No directory user found, anonymous binding as default.
[Jun 12 21:06:53] ERROR[4805]: res_config_ldap.c:1854 parse_config: No directory URL or host found.
[Jun 12 21:06:53] NOTICE[4805]: res_config_ldap.c:1772 reload: Cannot reload LDAP RealTime driver.
[Jun 12 21:06:53] NOTICE[4805]: chan_skinny.c:8441 config_load: Configuring skinny from skinny.conf
[Jun 12 21:06:53] NOTICE[4805]: cel_custom.c:97 load_config: No mappings found in cel_custom.conf. Not logging CEL to custom CSVs.
[Jun 12 21:06:53] NOTICE[4805]: app_queue.c:8737 reload_queue_rules: queuerules.conf has not changed since it was last loaded. Not taking any action.

These are just notifications that some modules, even after reload, are still not active or can’t be reloaded. There’s nothing critical here.

2 Likes

Thank you for your response. Yes there’s nothing critical I guess. Because I’m still able to test the new changes and its working fine. But it would be great if I can see whats going on in CLI during the test period. Right now I’m unable to see anything other than the above mentioned errors.

Then your verbosity level (core set verbose) is low, or is not going to the console. You can increase the verbosity by doing something like “core set verbose 4” and looking at logger.conf to ensure it is going to the console.

2 Likes

Now I’ve got below things.

AirCredit01CLI> core set verbose 4
Console verbose was OFF and is now 4.
– Unregistered SIP ‘3000’
– Registered SIP ‘3000’ at 192.168.5.1:53795
AirCredit01
CLI>

And now I’ve reloaded, seems everything is fine now. :slight_smile: Thanks a lot to you for helping me out.

AirCredit01*CLI> reload
– CEL logging disabled.
== Parsing ‘/etc/asterisk/extconfig.conf’: Found
== Parsing ‘/etc/asterisk/logger.conf’: Found
Asterisk Queue Logger restarted
== Parsing ‘/etc/asterisk/codecs.conf’: Found
– Reloading module ‘res_statsd.so’ (Statsd client support)
– Reloading module ‘res_odbc.so’ (ODBC resource)
== Parsing ‘/etc/asterisk/res_odbc.conf’: Found
– Reloading module ‘res_pjproject.so’ (PJPROJECT Log and Utility Support)
– Reloading module ‘res_pjsip.so’ (Basic SIP resource)
[Jun 12 21:46:24] NOTICE[5221]: sorcery.c:1406 sorcery_object_load: Type ‘system’ is not reloadable, maintaining previous values
– Reloading module ‘res_smdi.so’ (Simplified Message Desk Interface (SMDI) Resource)
– Reloading module ‘res_pjsip_outbound_publish.so’ (PJSIP Outbound Publish Support)
– Reloading module ‘res_phoneprov.so’ (HTTP Phone Provisioning)
== Parsing ‘/etc/asterisk/phoneprov.conf’: Found
== Parsing ‘/etc/asterisk/phoneprov.conf’: Found
[Jun 12 21:46:24] WARNING[4805]: res_phoneprov.c:1231 get_defaults: Unable to find a valid server address or name.
== Parsing ‘/etc/asterisk/sip.conf’: Found
== Parsing ‘/etc/asterisk/users.conf’: Found
== Parsing ‘/etc/asterisk/users.conf’: Found
– Reloading module ‘res_crypto.so’ (Cryptographic Digital Signatures)
– Reloading module ‘res_stun_monitor.so’ (STUN Network Monitor)
– Reloading module ‘res_hep.so’ (HEPv3 API)
– Reloading module ‘res_fax.so’ (Generic FAX Applications)
– Reloading module ‘res_ari.so’ (Asterisk RESTful Interface)
[Jun 12 21:46:24] ERROR[4805]: ari/config.c:312 process_config: No configured users for ARI
– Reloading module ‘res_calendar.so’ (Asterisk Calendar integration)
– Reloading module ‘pbx_lua.so’ (Lua PBX Switch)
– Registered extension context ‘default’; registrar: pbx_lua
– Including switch ‘Lua/’ in context ‘default’
– Registered extension context ‘public’; registrar: pbx_lua
– Including switch ‘Lua/’ in context ‘public’
– Registered extension context ‘demo’; registrar: pbx_lua
– Including switch ‘Lua/’ in context ‘demo’


-- Including context 'ael-dundi-e164-customers' in context 'ael-dundi-e164-local'
-- Including context 'ael-dundi-e164-via-pstn' in context 'ael-dundi-e164-local'
-- Registered extension context 'ael-dundi-e164-via-pstn'; registrar: pbx_ael
-- merging incls/swits/igpats from old(ael-dundi-e164-via-pstn) to new(ael-dundi-e164-via-pstn) context, registrar = pbx_config
-- Registered extension context 'ael-dundi-e164-customers'; registrar: pbx_ael
-- merging incls/swits/igpats from old(ael-dundi-e164-customers) to new(ael-dundi-e164-customers) context, registrar = pbx_config
-- Registered extension context 'ael-dundi-e164-canonical'; registrar: pbx_ael
-- merging incls/swits/igpats from old(ael-dundi-e164-canonical) to new(ael-dundi-e164-canonical) context, registrar = pbx_config
-- Time to scan old dialplan and merge leftovers back into the new: 0.000848 sec
-- Time to restore hints and swap in new dialplan: 0.000002 sec
-- Time to delete the old dialplan: 0.000098 sec
-- Total time merge_contexts_delete: 0.000948 sec
-- Reloading module 'res_clialiases.so' (CLI Aliases)
-- Reloading module 'codec_speex.so' (Speex Coder/Decoder)
-- Reloading module 'app_queue.so' (True Call Queueing)

[Jun 12 21:46:24] NOTICE[4805]: app_queue.c:8737 reload_queue_rules: queuerules.conf has not changed since it was last loaded. Not taking any action.
AirCredit01*CLI>

You can also increase it higher. The higher the level the more messages.

1 Like

To where I can place “core set verbose 4” permanently? Because after changing some code in “extensions.conf” file when I"m going to reload the config, again I’m getting such error. But after executing the command “core set verbose 4” then “reload” its working fine. Also tell me what the maximum verbose limit?

Thanks in advance. :slight_smile:

The “-v” option to “asterisk -r” sets the verbosity level of the console you are attaching. That is: “asterisk -rvvvvvvvvc” would set verbose level to 8. There is no hardcoded maximum but 9 is the highest I think.

1 Like

Thanks for the information. Lots of things I need to learn as I’m newbie in asterisk. :slight_smile: