[asterisk-dev] Reload module

Yaroslav Panych panych.y at gmail.com
Thu May 24 08:09:35 CDT 2012


2012/5/24 Matthew  Jordan <mjordan at digium.com>:
>
> ----- Original Message -----
>> From: "Yaroslav Panych" <panych.y at gmail.com>
>
> Yes - take a look at ast_module_reload.  The CLI command 'module reload'
> uses this function to reload a specific Asterisk module.

Yes, I know about ast_module_reload, But it hidden in
asterisk/_private.h with warning: "normally not used by modules". So I
don't know if it is safe to use it inside modules. More precisely -
inside AMI action handler? I want to avoid all possible deadlocks.


regards, Yaroslav



More information about the asterisk-dev mailing list