<div dir="ltr"><p></p><p>Hi Christopher,</p><p>Thanks for your instant reply. <br></p><p>I've tried without spandsp_start_dtmf now, and still the behavior is inconsistent. Here is a sample fs log.<br></p><p>1feeb0f2-f7f8-11e3-ad58-b36c1aaf53e8 2014-06-19 22:26:23.774526 [DEBUG] switch_rtp.c:3793 RTP RECV DTMF 3:1280<br>
20d28520-f7f8-11e3-ad68-b36c1aaf53e8 2014-06-19 22:26:24.354513 [DEBUG] switch_rtp.c:3793 RTP RECV DTMF 3:400<br>2014-06-19 22:26:24.354513 [CRIT] sb_main.js:428 -----digit: 3<br>1feeb0f2-f7f8-11e3-ad58-b36c1aaf53e8 2014-06-19 22:26:25.394516 [DEBUG] switch_rtp.c:3793 RTP RECV DTMF 8:1280<br>
1feeb0f2-f7f8-11e3-ad58-b36c1aaf53e8 2014-06-19 22:26:27.094516 [DEBUG] switch_rtp.c:3793 RTP RECV DTMF 0:1280<br>20d28520-f7f8-11e3-ad68-b36c1aaf53e8 2014-06-19 22:26:27.734531 [DEBUG] switch_rtp.c:3793 RTP RECV DTMF 0:400<br>
2014-06-19 22:26:27.734531 [CRIT] sb_main.js:428 -----digit: 0<br>2014-06-19 22:26:32.754515 [CRIT] sb_main.js:390 digits pressed after collect input: 30<br></p><p><br></p></div><div class="gmail_extra"><br><br><div class="gmail_quote">
On Fri, Jun 20, 2014 at 2:24 AM, Christopher Rienzo <span dir="ltr"><<a href="mailto:cmrienzo@gmail.com" target="_blank">cmrienzo@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr">RTP RECV DTMF means the DTMF was received as a telephone-event (not inband audio). You don't need to use the spandsp DTMF detector.<br><br></div><div class="gmail_extra"><br><br><div class="gmail_quote">
<div><div class="h5">
On Thu, Jun 19, 2014 at 4:44 PM, Nagalenoj H. <span dir="ltr"><<a href="mailto:nagalenoj@gmail.com" target="_blank">nagalenoj@gmail.com</a>></span> wrote:<br></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div><div class="h5">
<div dir="ltr"><div><div><div>Hi,<br><br></div>I am facing an issue with using Inband DTMFs. <br><br>Inband DTMFs are getting detected in switch_rtp.c but then it is not processed further by mod_spandsp_dsp.c. This issue is inconsistent, for few calls it is working and not working for few other calls.<br>
<br></div><div>For a working call, I'm getting the logs as below,<br><br>2014-06-19 21:24:40.334513 [DEBUG] switch_ivr_play_say.c:1682 done playing file file_string:///usr/local/freeswitch/sounds/music/switch/2539_SB_welcome_switch.wav!/usr/local/freeswitch/sounds/music/switch/1sec_silence.wav!/usr/local/freeswitch/sounds/music/switch/SB_landing_IVR.wav<br>
2014-06-19 21:24:44.114522 [DEBUG] switch_rtp.c:3793 RTP RECV DTMF 3:1280<br>2014-06-19 21:24:44.694512 [DEBUG] mod_spandsp_dsp.c:372 DTMF BEGIN DETECTED: [3]<br>2014-06-19 21:24:44.854513 [DEBUG] mod_spandsp_dsp.c:384 DTMF END DETECTED: [3], duration = 165 ms<br>
2014-06-19 21:24:45.434531 [DEBUG] switch_rtp.c:3793 RTP RECV DTMF 9:1280<br>2014-06-19 21:24:45.994513 [DEBUG] mod_spandsp_dsp.c:372 DTMF BEGIN DETECTED: [9]<br>2014-06-19 21:24:46.154514 [DEBUG] mod_spandsp_dsp.c:384 DTMF END DETECTED: [9], duration = 165 ms<br>
2014-06-19 21:24:47.434530 [DEBUG] switch_rtp.c:3793 RTP RECV DTMF 2:1280<br>2014-06-19 21:24:48.034523 [DEBUG] mod_spandsp_dsp.c:372 DTMF BEGIN DETECTED: [2]<br>2014-06-19 21:24:48.034523 [CRIT] sb_main.js:390 digits pressed after collect input: 392<br>
<br></div><div>On the failure calls, I'm getting only the RTP RECV DTMF log and not the DTMF BEGIN and DTMF END DETECTED log messages and because of this, dialplan application is not receiving any DTMFs.<br></div><div>
<br></div>I've attached the pcap file and full fs log for failure call.<br><br></div>What could be the cause of this inconsistent behavior? Kindly help me to rectify this. <br clear="all"><span><font color="#888888"><div>
<div><div><div><br>-- <br>
Regards,<br>Nagalenoj H.
</div></div></div></div></font></span></div>
<br></div></div>_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org" target="_blank">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
<a href="http://www.cudatel.com" target="_blank">http://www.cudatel.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://wiki.freeswitch.org" target="_blank">http://wiki.freeswitch.org</a><br>
<a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<br></blockquote></div><br></div>
<br>_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
<a href="http://www.cudatel.com" target="_blank">http://www.cudatel.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://wiki.freeswitch.org" target="_blank">http://wiki.freeswitch.org</a><br>
<a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br>Regards,<br>Nagalenoj H.
</div>