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@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@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 Reloaded2016-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.
_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting@freeswitch.org
http://www.freeswitchsolutions.com
Official FreeSWITCH Sites
http://www.freeswitch.org
http://confluence.freeswitch.org
http://www.cluecon.com
FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org