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

Aqs Younas aqsyounas at gmail.com
Fri Feb 19 14:56:55 MSK 2016


Perfect. Thank you. !

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>

On 19 February 2016 at 16:33, Vallimamod Abdullah <vma at 440hz.fr> wrote:

> 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.
>
>
>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at 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 at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160219/64f71610/attachment.html 


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