Hi there,
I am sending a DTMF key * through switch_core_session_send_dtmf() <in c++ code> during a session while an audio is playing through PlayAndGetDigits() in Mod_managed, but to my surprised I do not receive any DTMF event generated. Is there something else that I need to do? The status returns success.
This is the actual code in my C++
switch_dtmf_t dtmf = { '*', switch_core_default_dtmf_duration(0), 0};
switch_status_t dtmfStatus = switch_core_session_send_dtmf(curSession, &dtmf);
Please let me know.
Thanks,
Frankie