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

Kevin P. Fleming kpfleming at digium.com
Tue Nov 27 08:11:49 CST 2007


BJ Weschke wrote:

>  The "reload" function of the module is what you make of it. If you are 
> the module author you can choose to put a stub function there and it 
> will do simply that, nothing. The module reload, on the other hand, will 
> do far more than that. While it's certainly possible through code/design 
> to have both commands have the same net effect, that's only through 
> code/design and not because they will always do the same thing by 
> definition.

I would be surprised if any module's 'reload' command actually did much
of anything different than 'module reload' for the same module does, but
as BJ points out there certainly is no reason that they have to provide
the same functionality.

I think adding a 'voicemail reload' command is a fine idea.

-- 
Kevin P. Fleming
Director of Software Technologies
Digium, Inc. - "The Genuine Asterisk Experience" (TM)



More information about the asterisk-dev mailing list