<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">Hi,<div class=""><br class=""></div><div class="">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.</div><div class=""><br class=""><div class="">
<div style="color: rgb(0, 0, 0); font-family: Monaco; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; " class=""><div style="color: rgb(0, 0, 0); font-family: Monaco; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; " class="">Best Regards,</div><div style="color: rgb(0, 0, 0); font-family: Monaco; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; " class="">Vallimamod</div><div style="color: rgb(0, 0, 0); font-family: Monaco; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; " class="">.</div><div style="color: rgb(0, 0, 0); font-family: Monaco; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; " class=""><br class=""></div></div>
</div>
<br class=""><div><blockquote type="cite" class=""><div class="">On 19 Feb 2016, at 11:40, Aqs Younas <<a href="mailto:aqsyounas@gmail.com" class="">aqsyounas@gmail.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div dir="ltr" class="">Hi.<div class=""><br class=""></div><div class="">I am able to compile mod_avmd without any error. But when i try to load it i see this error in console. </div><div class=""><br class=""></div><div class=""><div class="">freeswitch@internal> load mod_avmd</div><div class="">+OK Reloading XML</div><div class="">-ERR [module load file routine returned an error]</div><div class=""><br class=""></div><div class="">2016-02-19 05:27:31.644461 [INFO] mod_enum.c:880 ENUM Reloaded</div><div class="">2016-02-19 05:27:31.644461 [ERR] mod_avmd.c:226 Couldn't register subclass avmd::beep!</div><div class="">2016-02-19 05:27:31.644461 [CRIT] switch_loadable_module.c:1447 Error Loading module /usr/local/freeswitch/mod/mod_avmd.so</div><div class="">**Module load routine returned an error**</div></div><div class=""><br class=""></div><div class=""><br class=""></div><div class="">These are the lines I see in mod_avmd.c but unable to understand. </div><div class=""><br class=""></div><div class=""><div class=""><br class=""></div><div class=""> if (switch_event_reserve_subclass(AVMD_EVENT_BEEP) != SWITCH_STATUS_SUCCESS) {</div><div class=""> switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_ERROR, "Couldn't register subclass %s!\n", AVMD_EVENT_BEEP);</div><div class=""> return SWITCH_STATUS_TERM;</div><div class=""> }</div><div class=""><br class=""></div></div><div class=""><br class=""></div><div class="">Any pointer is much appreciated. </div><div class=""><br class=""></div><div class="">Best Regards.</div></div></div></blockquote></div><br class=""></div></body></html>