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

Aqs Younas aqsyounas at gmail.com
Fri Feb 19 13:40:09 MSK 2016


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.

This email has been sent from a virus-free computer protected by Avast.
www.avast.com <https://www.avast.com/sig-email>
<#DDB4FAA8-2DD7-40BB-A1B8-4E2AA1F9FDF2>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160219/b3c3bfd8/attachment.html 


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