[Freeswitch-users] [ERR] mod_avmd.c:226 Couldn't register subclass avmd::beep!

Vallimamod Abdullah vma at 440hz.fr
Fri Feb 19 14:33:10 MSK 2016


Hi,

Looks like you are trying to load a module that is already loaded. Try a reload. Also, sometimes the event subclass doesn’t unregister properly when you do a reload so you need to restart freeswitch when you get this error.

Best Regards,
Vallimamod
.


> On 19 Feb 2016, at 11:40, Aqs Younas <aqsyounas at gmail.com> wrote:
> 
> Hi.
> 
> I am able to compile mod_avmd without any error. But when i try to load it i see this error in console. 
> 
> freeswitch at internal> load mod_avmd
> +OK Reloading XML
> -ERR [module load file routine returned an error]
> 
> 2016-02-19 05:27:31.644461 [INFO] mod_enum.c:880 ENUM Reloaded
> 2016-02-19 05:27:31.644461 [ERR] mod_avmd.c:226 Couldn't register subclass avmd::beep!
> 2016-02-19 05:27:31.644461 [CRIT] switch_loadable_module.c:1447 Error Loading module /usr/local/freeswitch/mod/mod_avmd.so
> **Module load routine returned an error**
> 
> 
> These are the lines I see in mod_avmd.c but unable to understand. 
> 
> 
>         if (switch_event_reserve_subclass(AVMD_EVENT_BEEP) != SWITCH_STATUS_SUCCESS) {
>                 switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_ERROR, "Couldn't register subclass %s!\n", AVMD_EVENT_BEEP);
>                 return SWITCH_STATUS_TERM;
>         }
> 
> 
> Any pointer is much appreciated. 
> 
> Best Regards.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160219/01bb2f39/attachment.html 


Join us at ClueCon 2016 Aug 8-12, 2016
More information about the FreeSWITCH-users mailing list