Discussion:
[asterisk-users] extension.conf doesn't reload?
Devraj Mukherjee
2007-07-23 04:16:57 UTC
Permalink
Hi everyone,

I have just installed Asterisk 1.4.6 on CentOS 5. When I issues the
reload command in the asterisk command prompt, it doesn't seem to read
my configuration files. Any suggestions?

pbx*CLI> reload
The 'reload' command is deprecated and will be removed in a future
release. Please use 'module reload' instead.
== Parsing '/etc/asterisk/cdr.conf': Found
[Jul 23 14:14:54] NOTICE[28392]: cdr.c:1359 do_reload: CDR simple
logging enabled.
== Parsing '/etc/asterisk/dnsmgr.conf': Found
== Parsing '/etc/asterisk/manager.conf': Found
== Parsing '/etc/asterisk/rtp.conf': Found
== RTP Allocating from port range 10000 -> 20000
== Parsing '/etc/asterisk/http.conf': Found
--
"I never look back darling, it distracts from the now", Edna Mode (The
Incredibles)
Bruce Ferrell
2007-07-23 04:39:33 UTC
Permalink
Post by Devraj Mukherjee
Hi everyone,
I have just installed Asterisk 1.4.6 on CentOS 5. When I issues the
reload command in the asterisk command prompt, it doesn't seem to read
my configuration files. Any suggestions?
pbx*CLI> reload
The 'reload' command is deprecated and will be removed in a future
release. Please use 'module reload' instead.
== Parsing '/etc/asterisk/cdr.conf': Found
[Jul 23 14:14:54] NOTICE[28392]: cdr.c:1359 do_reload: CDR simple
logging enabled.
== Parsing '/etc/asterisk/dnsmgr.conf': Found
== Parsing '/etc/asterisk/manager.conf': Found
== Parsing '/etc/asterisk/rtp.conf': Found
== RTP Allocating from port range 10000 -> 20000
== Parsing '/etc/asterisk/http.conf': Found
Try dialplan reload
Devraj Mukherjee
2007-07-23 05:08:39 UTC
Permalink
Hey Bruce,

Thanks for your prompt response. Your suggestion lead to me finding
out that the dialplan module was not loaded.

I investigated this further and found out that
/etc/asterisk/asterisk.conf was looking in /usr/lib/asterisk for
modules. My machine is running 64bit CentOS and has all the modules in
/usr/lib64/asterisk

I modified /etc/asterisk/asterisk.conf to look for modules in that
directory and everything works just fine.

Thanks again.
Post by Bruce Ferrell
Post by Devraj Mukherjee
Hi everyone,
I have just installed Asterisk 1.4.6 on CentOS 5. When I issues the
reload command in the asterisk command prompt, it doesn't seem to read
my configuration files. Any suggestions?
pbx*CLI> reload
The 'reload' command is deprecated and will be removed in a future
release. Please use 'module reload' instead.
== Parsing '/etc/asterisk/cdr.conf': Found
[Jul 23 14:14:54] NOTICE[28392]: cdr.c:1359 do_reload: CDR simple
logging enabled.
== Parsing '/etc/asterisk/dnsmgr.conf': Found
== Parsing '/etc/asterisk/manager.conf': Found
== Parsing '/etc/asterisk/rtp.conf': Found
== RTP Allocating from port range 10000 -> 20000
== Parsing '/etc/asterisk/http.conf': Found
Try dialplan reload
_______________________________________________
--Bandwidth and Colocation Provided by http://www.api-digital.com--
asterisk-users mailing list
http://lists.digium.com/mailman/listinfo/asterisk-users
--
"I never look back darling, it distracts from the now", Edna Mode (The
Incredibles)
ram
2007-07-23 04:51:16 UTC
Permalink
Post by Devraj Mukherjee
Hi everyone,
I have just installed Asterisk 1.4.6 on CentOS 5. When I issues the
reload command in the asterisk command prompt, it doesn't seem to read
my configuration files. Any suggestions?
pbx*CLI> reload
The 'reload' command is deprecated and will be removed in a future
release. Please use 'module reload' instead.
== Parsing '/etc/asterisk/cdr.conf': Found
[Jul 23 14:14:54] NOTICE[28392]: cdr.c:1359 do_reload: CDR simple
logging enabled.
== Parsing '/etc/asterisk/dnsmgr.conf': Found
== Parsing '/etc/asterisk/manager.conf': Found
== Parsing '/etc/asterisk/rtp.conf': Found
== RTP Allocating from port range 10000 -> 20000
== Parsing '/etc/asterisk/http.conf': Found
--
Hi

when you issue reload command

whole asterisk configs are reloaded ( in 1.2.X)


but when you reload it says "Please use 'module reload' instead"

may be you try to reload required module ( not tried in 1.4.x)

To cross check issue command show dialplan and check
your modified config effected or not

ram
Tzafrir Cohen
2007-07-23 05:08:08 UTC
Permalink
Post by Devraj Mukherjee
pbx*CLI> reload
The 'reload' command is deprecated and will be removed in a future
release. Please use 'module reload' instead.
It did work. Howver you were warned that the command is deprecated.
This means it will be removed in Asterisk 1.6 .
--
Tzafrir Cohen
icq#16849755 jabber:***@jabber.org
+972-50-7952406 mailto:***@xorcom.com
http://www.xorcom.com iax:***@local.xorcom.com/tzafrir
Loading...