[Freeswitch-dev] TALK NOTALK Events not Fired

Ronnie Beck ronybeck at themenz.biz
Tue Oct 13 21:13:48 MSD 2015


Hi All,

I have been looking into the events TALK and NOTALK.  I don't see them 
firing and I am not sure why.  I have added the following variables to 
the dialplan:

<action application="export" data="fire_talk_events=true"/>
<action application="export" data="fire_not_talk_events=true"/>


In my module, I am trying to catch the events by binding an event 
handler here like so:

switch_event_bind("CALLER TALKING", SWITCH_EVENT_TALK, 
SWITCH_EVENT_SUBCLASS_ANY, vad_start_talking , NULL);
switch_event_bind("CALLER NOT TALKING", SWITCH_EVENT_NOTALK, 
SWITCH_EVENT_SUBCLASS_ANY, vad_stop_talking , NULL);

I read a suggestion in the mailing list archives that one should use the 
event type "SWITCH_EVENT_CUSTOM" with a subtype of 
"conference::maintenance".  I tried this also but I don't think my 
problem is that I am not catching the event but rather the event is 
simply never fired.  Has anyone a working example of TALK and NOTALK 
event handling?

Many thanks,

Ronnie
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20151013/0df9b3a6/attachment.html 


Join us at ClueCon 2014 Aug 4-7, 2014
More information about the FreeSWITCH-dev mailing list