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

Tzafrir Cohen tzafrir.cohen at xorcom.com
Tue Nov 27 00:02:31 CST 2007


On Tue, Nov 27, 2007 at 12:44:56AM -0300, Eliel Sardanons wrote:
> Hello,
>        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).

It is lower level. How would I know that "sip" is reloaded by reloading
chan_sip.so, "voicemail" is loaded by reloading app_voicemail.so and
"moh" is reloaded by reloading res_musiconhold.so ?

Where do you think a reload might be missing?

-- 
               Tzafrir Cohen
icq#16849755              jabber:tzafrir.cohen at xorcom.com
+972-50-7952406           mailto:tzafrir.cohen at xorcom.com
http://www.xorcom.com  iax:guest at local.xorcom.com/tzafrir



More information about the asterisk-dev mailing list