<div dir="ltr">My phone does not have an option to select RFC2833.<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Jan 20, 2015 at 12:37 PM,  <span dir="ltr">&lt;<a href="mailto:covici@ccs.covici.com" target="_blank">covici@ccs.covici.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Why not use rfc2833 instead?<br>
<div><div class="h5"><br>
Nagalenoj H. &lt;<a href="mailto:nagalenoj@gmail.com">nagalenoj@gmail.com</a>&gt; wrote:<br>
<br>
&gt; When I changed the Aastra phone settings to use SIP INFO, am not facing<br>
&gt; this issue. But, when I change it to use RTP for DTMF, then &#39;#&#39; is getting<br>
&gt; detected more times.<br>
&gt;<br>
&gt; I did a pcap and listened to the audio, I could hear only one tone(beep)<br>
&gt; for each key pressed. Is there anything other configuration to get it<br>
&gt; working in RTP?<br>
&gt;<br>
&gt; On Mon, Jan 19, 2015 at 10:40 PM, Michael Jerris &lt;<a href="mailto:mike@jerris.com">mike@jerris.com</a>&gt; wrote:<br>
&gt;<br>
&gt; &gt; If you are using a sip phone, you are MUCH better off using non audio<br>
&gt; &gt; based dtmf like rfc-2833.  If you are already using this, its possible that<br>
&gt; &gt; what is happening is the phone is sending the dtmf as audio and 2833, at<br>
&gt; &gt; which point, you should not have to use spandsp_start_dtmf at all.  If the<br>
&gt; &gt; phone is sending only audio, and is not capable of using any other method,<br>
&gt; &gt; you will need to pull a pcap of this call, use wireshark to extract the<br>
&gt; &gt; audio, and do some analysis of the audio to figure out why it is detecting<br>
&gt; &gt; multiple digits.<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; On Jan 19, 2015, at 4:38 AM, Nagalenoj H. &lt;<a href="mailto:nagalenoj@gmail.com">nagalenoj@gmail.com</a>&gt; wrote:<br>
&gt; &gt;<br>
&gt; &gt; Hi,<br>
&gt; &gt;<br>
&gt; &gt; When I use spandsp_start_dtmf along with play_and_get_digits, &#39;#&#39; is<br>
&gt; &gt; getting detected many times, though it is pressed once.<br>
&gt; &gt;<br>
&gt; &gt; Other DTMFs are getting detected properly, whereas the &#39;#&#39; is getting<br>
&gt; &gt; detected 2 or 3 times.<br>
&gt; &gt;<br>
&gt; &gt; I have checked the SIP phone&#39;s settings, I do not find anything wrong<br>
&gt; &gt; there.<br>
&gt; &gt;<br>
&gt; &gt; What could be the reason? Is this because of some SIP phone setting? Here<br>
&gt; &gt; is the freeswitch log,<br>
&gt; &gt;<br>
&gt; &gt; 2015-01-19 09:33:39.671681 [DEBUG] mod_spandsp_dsp.c:373 DTMF BEGIN<br>
&gt; &gt; DETECTED: [1]<br>
&gt; &gt; 2015-01-19 09:33:39.671681 [DEBUG] switch_channel.c:488 RECV DTMF 1:2000<br>
&gt; &gt; 2015-01-19 09:33:39.851686 [DEBUG] mod_spandsp_dsp.c:385 DTMF END<br>
&gt; &gt; DETECTED: [1], duration = 191 ms<br>
&gt; &gt; 2015-01-19 09:33:40.071688 [DEBUG] mod_spandsp_dsp.c:373 DTMF BEGIN<br>
&gt; &gt; DETECTED: [4]<br>
&gt; &gt; 2015-01-19 09:33:40.071688 [DEBUG] switch_channel.c:488 RECV DTMF 4:2000<br>
&gt; &gt; 2015-01-19 09:33:40.251687 [DEBUG] mod_spandsp_dsp.c:385 DTMF END<br>
&gt; &gt; DETECTED: [4], duration = 153 ms<br>
&gt; &gt; 2015-01-19 09:33:40.431699 [DEBUG] mod_spandsp_dsp.c:373 DTMF BEGIN<br>
&gt; &gt; DETECTED: [7]<br>
&gt; &gt; 2015-01-19 09:33:40.431699 [DEBUG] switch_channel.c:488 RECV DTMF 7:2000<br>
&gt; &gt; 2015-01-19 09:33:40.631680 [DEBUG] mod_spandsp_dsp.c:385 DTMF END<br>
&gt; &gt; DETECTED: [7], duration = 204 ms<br>
&gt; &gt; 2015-01-19 09:33:40.851688 [DEBUG] mod_spandsp_dsp.c:373 DTMF BEGIN<br>
&gt; &gt; DETECTED: [4]<br>
&gt; &gt; 2015-01-19 09:33:40.851688 [DEBUG] switch_channel.c:488 RECV DTMF 4:2000<br>
&gt; &gt; 2015-01-19 09:33:40.971695 [DEBUG] mod_spandsp_dsp.c:385 DTMF END<br>
&gt; &gt; DETECTED: [4], duration = 127 ms<br>
&gt; &gt; 2015-01-19 09:33:41.151691 [DEBUG] switch_core_session.c:1053 Send signal<br>
&gt; &gt; sofia/internal/<a href="http://sip:278@192.168.2.86:5060" target="_blank">sip:278@192.168.2.86:5060</a> [BREAK]<br>
&gt; &gt; 2015-01-19 09:33:41.171701 [DEBUG] mod_spandsp_dsp.c:373 DTMF BEGIN<br>
&gt; &gt; DETECTED: [7]<br>
&gt; &gt; 2015-01-19 09:33:41.171701 [DEBUG] switch_channel.c:488 RECV DTMF 7:2000<br>
&gt; &gt; 2015-01-19 09:33:41.351680 [DEBUG] mod_spandsp_dsp.c:385 DTMF END<br>
&gt; &gt; DETECTED: [7], duration = 191 ms<br>
&gt; &gt; 2015-01-19 09:33:41.371686 [DEBUG] switch_ivr_play_say.c:1314 Codec<br>
&gt; &gt; Activated L16@8000hz 1 channels 20ms<br>
&gt; &gt; 2015-01-19 09:33:41.691686 [DEBUG] mod_spandsp_dsp.c:373 DTMF BEGIN<br>
&gt; &gt; DETECTED: [#]<br>
&gt; &gt; 2015-01-19 09:33:41.691686 [DEBUG] switch_channel.c:488 RECV DTMF #:2000<br>
&gt; &gt; EXECUTE sofia/internal/<a href="mailto:392@3427.vbiz.mundio.com">392@3427.vbiz.mundio.com</a> flush_dtmf()<br>
&gt; &gt; 2015-01-19 09:33:41.691686 [DEBUG] switch_ivr_play_say.c:1314 Codec<br>
&gt; &gt; Activated L16@8000hz 1 channels 30ms<br>
&gt; &gt; 2015-01-19 09:33:41.711684 [DEBUG] mod_spandsp_dsp.c:385 DTMF END<br>
&gt; &gt; DETECTED: [#], duration = 38 ms<br>
&gt; &gt; 2015-01-19 09:33:41.771683 [DEBUG] mod_spandsp_dsp.c:373 DTMF BEGIN<br>
&gt; &gt; DETECTED: [#]<br>
&gt; &gt; 2015-01-19 09:33:41.771683 [DEBUG] switch_channel.c:488 RECV DTMF #:2000<br>
&gt; &gt; 2015-01-19 09:33:41.771683 [DEBUG] switch_ivr_play_say.c:1747 done playing<br>
&gt; &gt; file file_string:///root/united_fone/voice_files/en//CR_enter_conf_pin.wav<br>
&gt; &gt; 2015-01-19 09:33:41.771683 [DEBUG] switch_ivr_play_say.c:1314 Codec<br>
&gt; &gt; Activated L16@8000hz 1 channels 30ms<br>
&gt; &gt; 2015-01-19 09:33:41.811686 [DEBUG] mod_spandsp_dsp.c:385 DTMF END<br>
&gt; &gt; DETECTED: [#], duration = 25 ms<br>
&gt; &gt; 2015-01-19 09:33:41.871691 [DEBUG] mod_spandsp_dsp.c:373 DTMF BEGIN<br>
&gt; &gt; DETECTED: [#]<br>
&gt; &gt; 2015-01-19 09:33:41.871691 [DEBUG] switch_channel.c:488 RECV DTMF #:2000<br>
&gt; &gt; 2015-01-19 09:33:41.951681 [DEBUG] mod_spandsp_dsp.c:385 DTMF END<br>
&gt; &gt; DETECTED: [#], duration = 76 ms<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; _________________________________________________________________________<br>
&gt; &gt; Professional FreeSWITCH Consulting Services:<br>
&gt; &gt; <a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
&gt; &gt; <a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
&gt; &gt;<br>
&gt; &gt; Official FreeSWITCH Sites<br>
&gt; &gt; <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
&gt; &gt; <a href="http://confluence.freeswitch.org" target="_blank">http://confluence.freeswitch.org</a><br>
&gt; &gt; <a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><br>
&gt; &gt;<br>
&gt; &gt; FreeSWITCH-users mailing list<br>
&gt; &gt; <a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
&gt; &gt; <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
&gt; &gt; UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
&gt; &gt; <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
&gt; &gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; --<br>
&gt; Regards,<br>
&gt; Nagalenoj H.<br>
&gt;<br>
</div></div>&gt; ----------------------------------------------------<br>
&gt; Alternatives:<br>
&gt;<br>
&gt; ----------------------------------------------------<br>
<span class="">&gt; _________________________________________________________________________<br>
&gt; Professional FreeSWITCH Consulting Services:<br>
&gt; <a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
&gt; <a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
&gt;<br>
&gt; Official FreeSWITCH Sites<br>
&gt; <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
&gt; <a href="http://confluence.freeswitch.org" target="_blank">http://confluence.freeswitch.org</a><br>
&gt; <a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><br>
&gt;<br>
&gt; FreeSWITCH-users mailing list<br>
&gt; <a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
&gt; <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
&gt; UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
&gt; <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
--<br>
</span>Your life is like a penny.  You&#39;re going to lose it.  The question is:<br>
How do<br>
you spend it?<br>
<br>
         John Covici<br>
         <a href="mailto:covici@ccs.covici.com">covici@ccs.covici.com</a><br>
<div class="HOEnZb"><div class="h5"><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>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://confluence.freeswitch.org" target="_blank">http://confluence.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>
</div></div></blockquote></div><br><br clear="all"><br>-- <br><div class="gmail_signature">Regards,<br>Nagalenoj H.</div>
</div>