<html><head><meta http-equiv="Content-Type" content="text/html charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">Which phone is it? look for a checkbox about force 2833 out of band dtmf.<div class=""><br class=""></div><div class=""><br class=""><div><blockquote type="cite" class=""><div class="">On Jan 20, 2015, at 2:54 AM, Nagalenoj H. <<a href="mailto:nagalenoj@gmail.com" class="">nagalenoj@gmail.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div dir="ltr" class="">My phone does not have an option to select RFC2833.<br class=""></div><div class="gmail_extra"><br class=""><div class="gmail_quote">On Tue, Jan 20, 2015 at 12:37 PM, <span dir="ltr" class=""><<a href="mailto:covici@ccs.covici.com" target="_blank" class="">covici@ccs.covici.com</a>></span> wrote:<br class=""><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Why not use rfc2833 instead?<br class="">
<div class=""><div class="h5"><br class="">
Nagalenoj H. <<a href="mailto:nagalenoj@gmail.com" class="">nagalenoj@gmail.com</a>> wrote:<br class="">
<br class="">
> When I changed the Aastra phone settings to use SIP INFO, am not facing<br class="">
> this issue. But, when I change it to use RTP for DTMF, then '#' is getting<br class="">
> detected more times.<br class="">
><br class="">
> I did a pcap and listened to the audio, I could hear only one tone(beep)<br class="">
> for each key pressed. Is there anything other configuration to get it<br class="">
> working in RTP?<br class="">
><br class="">
> On Mon, Jan 19, 2015 at 10:40 PM, Michael Jerris <<a href="mailto:mike@jerris.com" class="">mike@jerris.com</a>> wrote:<br class="">
><br class="">
> > If you are using a sip phone, you are MUCH better off using non audio<br class="">
> > based dtmf like rfc-2833. If you are already using this, its possible that<br class="">
> > what is happening is the phone is sending the dtmf as audio and 2833, at<br class="">
> > which point, you should not have to use spandsp_start_dtmf at all. If the<br class="">
> > phone is sending only audio, and is not capable of using any other method,<br class="">
> > you will need to pull a pcap of this call, use wireshark to extract the<br class="">
> > audio, and do some analysis of the audio to figure out why it is detecting<br class="">
> > multiple digits.<br class="">
> ><br class="">
> ><br class="">
> > On Jan 19, 2015, at 4:38 AM, Nagalenoj H. <<a href="mailto:nagalenoj@gmail.com" class="">nagalenoj@gmail.com</a>> wrote:<br class="">
> ><br class="">
> > Hi,<br class="">
> ><br class="">
> > When I use spandsp_start_dtmf along with play_and_get_digits, '#' is<br class="">
> > getting detected many times, though it is pressed once.<br class="">
> ><br class="">
> > Other DTMFs are getting detected properly, whereas the '#' is getting<br class="">
> > detected 2 or 3 times.<br class="">
> ><br class="">
> > I have checked the SIP phone's settings, I do not find anything wrong<br class="">
> > there.<br class="">
> ><br class="">
> > What could be the reason? Is this because of some SIP phone setting? Here<br class="">
> > is the freeswitch log,<br class="">
> ><br class="">
> > 2015-01-19 09:33:39.671681 [DEBUG] mod_spandsp_dsp.c:373 DTMF BEGIN<br class="">
> > DETECTED: [1]<br class="">
> > 2015-01-19 09:33:39.671681 [DEBUG] switch_channel.c:488 RECV DTMF 1:2000<br class="">
> > 2015-01-19 09:33:39.851686 [DEBUG] mod_spandsp_dsp.c:385 DTMF END<br class="">
> > DETECTED: [1], duration = 191 ms<br class="">
> > 2015-01-19 09:33:40.071688 [DEBUG] mod_spandsp_dsp.c:373 DTMF BEGIN<br class="">
> > DETECTED: [4]<br class="">
> > 2015-01-19 09:33:40.071688 [DEBUG] switch_channel.c:488 RECV DTMF 4:2000<br class="">
> > 2015-01-19 09:33:40.251687 [DEBUG] mod_spandsp_dsp.c:385 DTMF END<br class="">
> > DETECTED: [4], duration = 153 ms<br class="">
> > 2015-01-19 09:33:40.431699 [DEBUG] mod_spandsp_dsp.c:373 DTMF BEGIN<br class="">
> > DETECTED: [7]<br class="">
> > 2015-01-19 09:33:40.431699 [DEBUG] switch_channel.c:488 RECV DTMF 7:2000<br class="">
> > 2015-01-19 09:33:40.631680 [DEBUG] mod_spandsp_dsp.c:385 DTMF END<br class="">
> > DETECTED: [7], duration = 204 ms<br class="">
> > 2015-01-19 09:33:40.851688 [DEBUG] mod_spandsp_dsp.c:373 DTMF BEGIN<br class="">
> > DETECTED: [4]<br class="">
> > 2015-01-19 09:33:40.851688 [DEBUG] switch_channel.c:488 RECV DTMF 4:2000<br class="">
> > 2015-01-19 09:33:40.971695 [DEBUG] mod_spandsp_dsp.c:385 DTMF END<br class="">
> > DETECTED: [4], duration = 127 ms<br class="">
> > 2015-01-19 09:33:41.151691 [DEBUG] switch_core_session.c:1053 Send signal<br class="">
> > sofia/internal/<a href="http://sip:278@192.168.2.86:5060/" target="_blank" class="">sip:278@192.168.2.86:5060</a> [BREAK]<br class="">
> > 2015-01-19 09:33:41.171701 [DEBUG] mod_spandsp_dsp.c:373 DTMF BEGIN<br class="">
> > DETECTED: [7]<br class="">
> > 2015-01-19 09:33:41.171701 [DEBUG] switch_channel.c:488 RECV DTMF 7:2000<br class="">
> > 2015-01-19 09:33:41.351680 [DEBUG] mod_spandsp_dsp.c:385 DTMF END<br class="">
> > DETECTED: [7], duration = 191 ms<br class="">
> > 2015-01-19 09:33:41.371686 [DEBUG] switch_ivr_play_say.c:1314 Codec<br class="">
> > Activated L16@8000hz 1 channels 20ms<br class="">
> > 2015-01-19 09:33:41.691686 [DEBUG] mod_spandsp_dsp.c:373 DTMF BEGIN<br class="">
> > DETECTED: [#]<br class="">
> > 2015-01-19 09:33:41.691686 [DEBUG] switch_channel.c:488 RECV DTMF #:2000<br class="">
> > EXECUTE sofia/internal/<a href="mailto:392@3427.vbiz.mundio.com" class="">392@3427.vbiz.mundio.com</a> flush_dtmf()<br class="">
> > 2015-01-19 09:33:41.691686 [DEBUG] switch_ivr_play_say.c:1314 Codec<br class="">
> > Activated L16@8000hz 1 channels 30ms<br class="">
> > 2015-01-19 09:33:41.711684 [DEBUG] mod_spandsp_dsp.c:385 DTMF END<br class="">
> > DETECTED: [#], duration = 38 ms<br class="">
> > 2015-01-19 09:33:41.771683 [DEBUG] mod_spandsp_dsp.c:373 DTMF BEGIN<br class="">
> > DETECTED: [#]<br class="">
> > 2015-01-19 09:33:41.771683 [DEBUG] switch_channel.c:488 RECV DTMF #:2000<br class="">
> > 2015-01-19 09:33:41.771683 [DEBUG] switch_ivr_play_say.c:1747 done playing<br class="">
> > file file_string:///root/united_fone/voice_files/en//CR_enter_conf_pin.wav<br class="">
> > 2015-01-19 09:33:41.771683 [DEBUG] switch_ivr_play_say.c:1314 Codec<br class="">
> > Activated L16@8000hz 1 channels 30ms<br class="">
> > 2015-01-19 09:33:41.811686 [DEBUG] mod_spandsp_dsp.c:385 DTMF END<br class="">
> > DETECTED: [#], duration = 25 ms<br class="">
> > 2015-01-19 09:33:41.871691 [DEBUG] mod_spandsp_dsp.c:373 DTMF BEGIN<br class="">
> > DETECTED: [#]<br class="">
> > 2015-01-19 09:33:41.871691 [DEBUG] switch_channel.c:488 RECV DTMF #:2000<br class="">
> > 2015-01-19 09:33:41.951681 [DEBUG] mod_spandsp_dsp.c:385 DTMF END<br class="">
> > DETECTED: [#], duration = 76 ms<br class="">
> ><br class="">
> ><br class="">
> ></div></div></blockquote></div></div></div></blockquote></div></div></body></html>