[asterisk-dev] Deprecate every '* reload' CLI command?

Steve Edwards asterisk.org at sedwards.com
Mon Nov 26 22:29:01 CST 2007


On Tue, 27 Nov 2007, Eliel Sardanons wrote:

>       we have been discusing with Tilghman Lesher about adding a
> 'voicemail reload' command because 'sip', 'iax' etc, has one, why
> voicemail shouldn't, and Tilghman told me that we already have a way
> of reloading app_voicemail.so (module reload app_voicemail.so), so
> itsn't necesary to add a new CLI command. I always though 'module
> reload *' as a low level command because the 'pbx administrator' must
> know which module handles voicemail config (trivial in this case
> but..) but Tilghmans though is ok, why should be doing things
> duplicate, why not have just one way of reloading modules, and thats
> why I am asking here, we should deprecate every '* reload' cli
> command? I think is a good idea, or, we should add '* reload' to every
> command (at least every app/pbx/res/chan that reads from a config
> file).
>
> Reference:
> http://bugs.digium.com/view.php?id=11365

Doesn't "foo reload" just re-read the appropriate configuration file while 
"reload foo.so" unload and load the compiled module code? This may not a 
be desirable change.

Thanks in advance,
------------------------------------------------------------------------
Steve Edwards      sedwards at sedwards.com      Voice: +1-760-468-3867 PST
Newline                                             Fax: +1-760-731-3000



More information about the asterisk-dev mailing list