[Freeswitch-users] TALK event not generated properly by freeswitch

Shahnawaj Khan shahnawaj.khan1990 at gmail.com
Mon Nov 2 19:06:47 UTC 2020


Hi,

I am trying to detect voice using VAD in freeswitch. I have set VAD
for both in sip profile.
<param name="vad" value="both">

and my dialplan looks like this
<extension name="test">
<condition field="destination_number" expression="^(5080)$">
<action application="set" data="rtp_enable_vad_out=true"/>
<action application="set" data="rtp_enable_vad_in=true"/>
<action application="export" data="fire_talk_events=true"/>
<action application="answer" />
<action application="playback"
data="https://www2.cs.uic.edu/~i101/SoundFiles/BabyElephantWalk60.wav"/>
 </condition>
 </extension>

But whenever a music file is played it generates the TALK event for
music but not for the user voice. I tried with

<extension name="test">
<condition field="destination_number" expression="^(5080)$">
<action application="set" data="rtp_enable_vad_out=true"/>
<action application="set" data="rtp_enable_vad_in=true"/>
<action application="export" data="fire_talk_events=true"/>
<action application="answer" />
<action application="park"/>
 </condition>
 </extension>

It does not generate TALK events in such a dialplan. Please let me
know if I am missing something. Or any other way to detect user voice
as well.

Thanks & Regards,
Shahnawaz



More information about the FreeSWITCH-users mailing list