[Freeswitch-users] mod_avmd beep detected event or session variable

Piotr Gregor piotrek.gregor at gmail.com
Wed Aug 24 14:06:58 MSD 2016


Hi Jason,

Thank you for the message.
Yes. Module avmd still sets avmd_detect variable to TRUE on detected event:

switch_channel_set_variable(channel, "avmd_detect", "TRUE");

and fires event of type avmd::beep.

You can still detect the beep in the same way as in the oldest versions,
that is searching for avmd_detect variable set to TRUE.

There are three types of events at this point:

enum avmd_event
{
    AVMD_EVENT_BEEP = 0,
    AVMD_EVENT_SESSION_START = 1,
    AVMD_EVENT_SESSION_STOP = 2
};

The name of the BEEP event in the documentation table of events in Events
section of avmd pages
is not the exact identifier used to enumerate events in the code but it's
human version. This should be
made clear on the Confluence page or exact name should be used.
This is now fixed.

cheers,
Piotr
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160824/306ab7e5/attachment.html 


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