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@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.