[Freeswitch-users] No DTMF event generated during a session when calling switch_core_session_send_dtmf()
Frankie Yiu
frankie.k.yiu at gmail.com
Tue Apr 12 03:36:11 MSD 2011
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20110411/fdca2e3f/attachment.html
More information about the FreeSWITCH-users
mailing list