<div dir="ltr"><div><div><div>Hi,<br><br></div>When I use spandsp_start_dtmf along with play_and_get_digits, &#39;#&#39; is getting detected many times, though it is pressed once.<br><br></div>Other DTMFs are getting detected properly, whereas the &#39;#&#39; is getting detected 2 or 3 times. <br><br></div><div>I have checked the SIP phone&#39;s settings, I do not find anything wrong there.<br><br></div>What could be the reason? Is this because of some SIP phone setting? Here is the freeswitch log,<br><div><br>2015-01-19 09:33:39.671681 [DEBUG] mod_spandsp_dsp.c:373 DTMF BEGIN DETECTED: [1]<br>2015-01-19 09:33:39.671681 [DEBUG] switch_channel.c:488 RECV DTMF 1:2000<br>2015-01-19 09:33:39.851686 [DEBUG] mod_spandsp_dsp.c:385 DTMF END DETECTED: [1], duration = 191 ms<br>2015-01-19 09:33:40.071688 [DEBUG] mod_spandsp_dsp.c:373 DTMF BEGIN DETECTED: [4]<br>2015-01-19 09:33:40.071688 [DEBUG] switch_channel.c:488 RECV DTMF 4:2000<br>2015-01-19 09:33:40.251687 [DEBUG] mod_spandsp_dsp.c:385 DTMF END DETECTED: [4], duration = 153 ms<br>2015-01-19 09:33:40.431699 [DEBUG] mod_spandsp_dsp.c:373 DTMF BEGIN DETECTED: [7]<br>2015-01-19 09:33:40.431699 [DEBUG] switch_channel.c:488 RECV DTMF 7:2000<br>2015-01-19 09:33:40.631680 [DEBUG] mod_spandsp_dsp.c:385 DTMF END DETECTED: [7], duration = 204 ms<br>2015-01-19 09:33:40.851688 [DEBUG] mod_spandsp_dsp.c:373 DTMF BEGIN DETECTED: [4]<br>2015-01-19 09:33:40.851688 [DEBUG] switch_channel.c:488 RECV DTMF 4:2000<br>2015-01-19 09:33:40.971695 [DEBUG] mod_spandsp_dsp.c:385 DTMF END DETECTED: [4], duration = 127 ms<br>2015-01-19 09:33:41.151691 [DEBUG] switch_core_session.c:1053 Send signal sofia/internal/<a href="http://sip:278@192.168.2.86:5060">sip:278@192.168.2.86:5060</a> [BREAK]<br>2015-01-19 09:33:41.171701 [DEBUG] mod_spandsp_dsp.c:373 DTMF BEGIN DETECTED: [7]<br>2015-01-19 09:33:41.171701 [DEBUG] switch_channel.c:488 RECV DTMF 7:2000<br>2015-01-19 09:33:41.351680 [DEBUG] mod_spandsp_dsp.c:385 DTMF END DETECTED: [7], duration = 191 ms<br>2015-01-19 09:33:41.371686 [DEBUG] switch_ivr_play_say.c:1314 Codec Activated L16@8000hz 1 channels 20ms<br>2015-01-19 09:33:41.691686 [DEBUG] mod_spandsp_dsp.c:373 DTMF BEGIN DETECTED: [#]<br>2015-01-19 09:33:41.691686 [DEBUG] switch_channel.c:488 RECV DTMF #:2000<br>EXECUTE sofia/internal/<a href="mailto:392@3427.vbiz.mundio.com">392@3427.vbiz.mundio.com</a> flush_dtmf()<br>2015-01-19 09:33:41.691686 [DEBUG] switch_ivr_play_say.c:1314 Codec Activated L16@8000hz 1 channels 30ms<br>2015-01-19 09:33:41.711684 [DEBUG] mod_spandsp_dsp.c:385 DTMF END DETECTED: [#], duration = 38 ms<br>2015-01-19 09:33:41.771683 [DEBUG] mod_spandsp_dsp.c:373 DTMF BEGIN DETECTED: [#]<br>2015-01-19 09:33:41.771683 [DEBUG] switch_channel.c:488 RECV DTMF #:2000<br>2015-01-19 09:33:41.771683 [DEBUG] switch_ivr_play_say.c:1747 done playing file file_string:///root/united_fone/voice_files/en//CR_enter_conf_pin.wav<br>2015-01-19 09:33:41.771683 [DEBUG] switch_ivr_play_say.c:1314 Codec Activated L16@8000hz 1 channels 30ms<br>2015-01-19 09:33:41.811686 [DEBUG] mod_spandsp_dsp.c:385 DTMF END DETECTED: [#], duration = 25 ms<br>2015-01-19 09:33:41.871691 [DEBUG] mod_spandsp_dsp.c:373 DTMF BEGIN DETECTED: [#]<br>2015-01-19 09:33:41.871691 [DEBUG] switch_channel.c:488 RECV DTMF #:2000<br>2015-01-19 09:33:41.951681 [DEBUG] mod_spandsp_dsp.c:385 DTMF END DETECTED: [#], duration = 76 ms<br><br clear="all"><div><div><div><div><br>-- <br><div class="gmail_signature">Regards,<br>Nagalenoj H.</div>
</div></div></div></div></div></div>