Hi,

 

is it possible to enable VAD to get TALK / NOTALK events for an ongoing call, i.e.

 

switch_channel_set_variable(channel, "rtp_enable_vad_in", "true");

switch_channel_set_variable(channel, "rtp_enable_vad_out", "true");

switch_channel_set_variable(channel, "fire_talk_events", "true");

switch_channel_set_variable(channel, "fire_not_talk_events", "true");

 

Should this work ? Is there another way instead of settings channel vars ?

 

Thanks in advance.

gw