dont forget to try what i said,<br>use the flush_dtmf before playback<br><br><div class="gmail_quote">On Wed, Nov 5, 2008 at 2:30 PM, Klaus Teller <span dir="ltr">&lt;<a href="mailto:klaus.teller@gmx.net">klaus.teller@gmx.net</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Hi Anthony,<br>
<br>
Let me add some few facts.<br>
<br>
1) I am sending DTMF using RFC2833 and the IVR is using Inband<br>
2) The problem is not limited to when i send DTMF. It also happens when i try to play a file.<br>
3) The functions are from my java code. They send commands to Freeswitch via socket interface.<br>
4) The same functions are working perfectly when the remote IVR sends DTMF via RFC2833.<br>
5) I have a pause of 2000 ms after sending the DTMF.<br>
<br>
<br>
Let me reformulate my problem. I have a spurious dtmf-# being detected by freeswitch where nothing was sent by the other party.<br>
<br>
The strange thing to me is that Wireschark (running on the same machine as Freeswitch) detects the proper digit sequence.<br>
<br>
Klaus.<br>
<br>
<br>
-------- Original-Nachricht --------<br>
&gt; Datum: Wed, 5 Nov 2008 11:26:51 -0600<br>
<div><div></div><div class="Wj3C7c">&gt; Von: &quot;Anthony Minessale&quot; &lt;<a href="mailto:anthony.minessale@gmail.com">anthony.minessale@gmail.com</a>&gt;<br>
&gt; An: <a href="mailto:freeswitch-users@lists.freeswitch.org">freeswitch-users@lists.freeswitch.org</a><br>
&gt; Betreff: Re: [Freeswitch-users] Inband DTMF Problem<br>
<br>
&gt; is the send dtmf inband as well?<br>
&gt; did you try doing a pause after send dtmf to give it time to deliver it?<br>
&gt; I still don&#39;t quite get what you are saying because i don&#39;t recognize the<br>
&gt; functions in your example.<br>
&gt;<br>
&gt; for good measure i added 2 new commands to FS<br>
&gt;<br>
&gt; the flush_dtmf application you can execute before playing the file<br>
&gt;<br>
&gt; and the uuid_flush_dtmf api command you can send to an arbitrary uuid<br>
&gt; maybe try those<br>
&gt;<br>
&gt;<br>
&gt; On Wed, Nov 5, 2008 at 9:59 AM, Klaus Teller &lt;<a href="mailto:klaus.teller@gmx.net">klaus.teller@gmx.net</a>&gt; wrote:<br>
&gt;<br>
&gt; &gt; HI,<br>
&gt; &gt;<br>
&gt; &gt; I&#39;m attaching the console log and event-socket traffic. In the latter<br>
&gt; case,<br>
&gt; &gt; i gathered only the last few Digits (including the spurious one).<br>
&gt; &gt;<br>
&gt; &gt; I also have the wireshark trace that i can send you off the list if you<br>
&gt; &gt; wish.<br>
&gt; &gt;<br>
&gt; &gt; We ran the same IVR (VoiceXML App) with a platform that supports RFC2833<br>
&gt; i<br>
&gt; &gt; didn&#39;t have this problem. With this platform we unfortunately don&#39;t have<br>
&gt; &gt; this feature available.<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; Klaus.<br>
&gt; &gt;<br>
&gt; &gt; -------- Original-Nachricht --------<br>
&gt; &gt; &gt; Datum: Wed, 5 Nov 2008 09:14:02 -0600<br>
&gt; &gt; &gt; Von: &quot;Anthony Minessale&quot; &lt;<a href="mailto:anthony.minessale@gmail.com">anthony.minessale@gmail.com</a>&gt;<br>
&gt; &gt; &gt; An: <a href="mailto:freeswitch-users@lists.freeswitch.org">freeswitch-users@lists.freeswitch.org</a><br>
&gt; &gt; &gt; Betreff: Re: [Freeswitch-users] Inband DTMF Problem<br>
&gt; &gt;<br>
&gt; &gt; &gt; gather a console log at debug level and a trace of the event_socket<br>
&gt; &gt; &gt; traffic.<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt; On Wed, Nov 5, 2008 at 9:08 AM, Klaus Teller &lt;<a href="mailto:klaus.teller@gmx.net">klaus.teller@gmx.net</a>&gt;<br>
&gt; &gt; wrote:<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt; Hi Folks,<br>
&gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt; It&#39;s me again with a DTMF issue. Here is what&#39;s going on. I have a<br>
&gt; &gt; &gt; remote<br>
&gt; &gt; &gt; &gt; IVR and i&#39;m writing some code to communicate with it, exercise it,<br>
&gt; and<br>
&gt; &gt; &gt; test<br>
&gt; &gt; &gt; &gt; it. The remote IVR is playing DTMF as inband.<br>
&gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt; Right now, Freeswitch can detect all DTMF digits from the IVR. The<br>
&gt; &gt; &gt; &gt; interaction between my code and the IVR is essentially &nbsp;a<br>
&gt; combination<br>
&gt; &gt; of<br>
&gt; &gt; &gt; &gt; &nbsp;playing files and sending and reading DTMFs.<br>
&gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt; The issue: whenever my code plays a file or send a DTMF digit, the<br>
&gt; &gt; &gt; &gt; following attempt to read DTMF fails. By failing i mean that there<br>
&gt; will<br>
&gt; &gt; &gt; be a<br>
&gt; &gt; &gt; &gt; spurious DTMF detected by Freeswitch that was not sent by the IVR.<br>
&gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt; That is, if i have something like:<br>
&gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt; sendDTMF(&quot;3&quot;); getDigits(&quot;38373&quot;, &quot;#&quot;); &nbsp;// # is the termination<br>
&gt; &gt; &gt; character<br>
&gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt; After executing the sendDTMF, getDigits fails because it immediately<br>
&gt; &gt; &gt; &gt; detects a pound. Yet this pound is not sent by the IVR. I can check<br>
&gt; &gt; this<br>
&gt; &gt; &gt; by<br>
&gt; &gt; &gt; &gt; having wireshark running both on the IVR&#39;s computer and on<br>
&gt; Freeswitch&#39;s<br>
&gt; &gt; &gt; &gt; computer.<br>
&gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt; Any idea what may be causing this problem? Is there some sort of<br>
&gt; Echo<br>
&gt; &gt; &gt; going<br>
&gt; &gt; &gt; &gt; on or something like that?<br>
&gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt; Thanks,<br>
&gt; &gt; &gt; &gt; Klaus.<br>
&gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt; --<br>
&gt; &gt; &gt; &gt; &quot;Feel free&quot; - 10 GB Mailbox, 100 FreeSMS/Monat ...<br>
&gt; &gt; &gt; &gt; Jetzt GMX TopMail testen: <a href="http://www.gmx.net/de/go/topmail" target="_blank">http://www.gmx.net/de/go/topmail</a><br>
&gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt; _______________________________________________<br>
&gt; &gt; &gt; &gt; Freeswitch-users mailing list<br>
&gt; &gt; &gt; &gt; <a href="mailto:Freeswitch-users@lists.freeswitch.org">Freeswitch-users@lists.freeswitch.org</a><br>
&gt; &gt; &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; &gt; &gt; UNSUBSCRIBE:<br>
&gt; &gt; <a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
&gt; &gt; &gt; &gt; <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
&gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt; --<br>
&gt; &gt; &gt; Anthony Minessale II<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt; FreeSWITCH <a href="http://www.freeswitch.org/" target="_blank">http://www.freeswitch.org/</a><br>
&gt; &gt; &gt; ClueCon <a href="http://www.cluecon.com/" target="_blank">http://www.cluecon.com/</a><br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt; AIM: anthm<br>
&gt; &gt; &gt; <a href="mailto:MSN%3Aanthony_minessale@hotmail.com">MSN:anthony_minessale@hotmail.com</a><br>
&gt; &lt;<a href="mailto:MSN%253Aanthony_minessale@hotmail.com">MSN%3Aanthony_minessale@hotmail.com</a>&gt;&lt;<br>
&gt; &gt;<br>
</div></div>&gt; <a href="mailto:MSN%253Aanthony_minessale@hotmail.com">MSN%3Aanthony_minessale@hotmail.com</a>&lt;<a href="mailto:MSN%25253Aanthony_minessale@hotmail.com">MSN%253Aanthony_minessale@hotmail.com</a>&gt;<br>

<div class="Ih2E3d">&gt; &gt; &gt;<br>
&gt; &gt; &gt;<br>
&gt; GTALK/JABBER/<a href="mailto:PAYPAL%3Aanthony.minessale@gmail.com">PAYPAL:anthony.minessale@gmail.com</a>&lt;<a href="mailto:PAYPAL%253Aanthony.minessale@gmail.com">PAYPAL%3Aanthony.minessale@gmail.com</a>&gt;<br>
&gt; &gt;<br>
</div>&gt; &lt;<a href="mailto:PAYPAL%253Aanthony.minessale@gmail.com">PAYPAL%3Aanthony.minessale@gmail.com</a>&lt;<a href="mailto:PAYPAL%25253Aanthony.minessale@gmail.com">PAYPAL%253Aanthony.minessale@gmail.com</a>&gt;<br>

<div class="Ih2E3d">&gt; &gt; &gt;<br>
&gt; &gt; &gt; IRC: <a href="http://irc.freenode.net" target="_blank">irc.freenode.net</a> #freeswitch<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt; FreeSWITCH Developer Conference<br>
&gt; &gt; &gt; <a href="mailto:sip%3A888@conference.freeswitch.org">sip:888@conference.freeswitch.org</a><br>
&gt; &lt;<a href="mailto:sip%253A888@conference.freeswitch.org">sip%3A888@conference.freeswitch.org</a>&gt;&lt;<br>
&gt; &gt;<br>
</div>&gt; <a href="mailto:sip%253A888@conference.freeswitch.org">sip%3A888@conference.freeswitch.org</a>&lt;<a href="mailto:sip%25253A888@conference.freeswitch.org">sip%253A888@conference.freeswitch.org</a>&gt;<br>
<div class="Ih2E3d">&gt; &gt; &gt;<br>
&gt; &gt; &gt; <a href="http://iax:guest@conference.freeswitch.org/888" target="_blank">iax:guest@conference.freeswitch.org/888</a><br>
&gt; &gt; &gt;<br>
&gt; <a href="mailto:googletalk%3Aconf%2B888@conference.freeswitch.org">googletalk:conf+888@conference.freeswitch.org</a>&lt;<a href="mailto:googletalk%253Aconf%252B888@conference.freeswitch.org">googletalk%3Aconf%2B888@conference.freeswitch.org</a>&gt;<br>

&gt; &gt;<br>
</div>&gt; &lt;<a href="mailto:googletalk%253Aconf%252B888@conference.freeswitch.org">googletalk%3Aconf%2B888@conference.freeswitch.org</a>&lt;<a href="mailto:googletalk%25253Aconf%25252B888@conference.freeswitch.org">googletalk%253Aconf%252B888@conference.freeswitch.org</a>&gt;<br>

<div class="Ih2E3d">&gt; &gt; &gt;<br>
&gt; &gt; &gt; pstn:213-799-1400<br>
&gt; &gt;<br>
&gt; &gt; --<br>
&gt; &gt; &quot;Feel free&quot; - 10 GB Mailbox, 100 FreeSMS/Monat ...<br>
&gt; &gt; Jetzt GMX TopMail testen: <a href="http://www.gmx.net/de/go/topmail" target="_blank">http://www.gmx.net/de/go/topmail</a><br>
&gt; &gt;<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; &gt;<br>
&gt;<br>
&gt;<br>
&gt; --<br>
&gt; Anthony Minessale II<br>
&gt;<br>
&gt; FreeSWITCH <a href="http://www.freeswitch.org/" target="_blank">http://www.freeswitch.org/</a><br>
&gt; ClueCon <a href="http://www.cluecon.com/" target="_blank">http://www.cluecon.com/</a><br>
&gt;<br>
&gt; AIM: anthm<br>
&gt; <a href="mailto:MSN%3Aanthony_minessale@hotmail.com">MSN:anthony_minessale@hotmail.com</a> &lt;<a href="mailto:MSN%253Aanthony_minessale@hotmail.com">MSN%3Aanthony_minessale@hotmail.com</a>&gt;<br>
&gt; GTALK/JABBER/<a href="mailto:PAYPAL%3Aanthony.minessale@gmail.com">PAYPAL:anthony.minessale@gmail.com</a>&lt;<a href="mailto:PAYPAL%253Aanthony.minessale@gmail.com">PAYPAL%3Aanthony.minessale@gmail.com</a>&gt;<br>
&gt; IRC: <a href="http://irc.freenode.net" target="_blank">irc.freenode.net</a> #freeswitch<br>
&gt;<br>
&gt; FreeSWITCH Developer Conference<br>
&gt; <a href="mailto:sip%3A888@conference.freeswitch.org">sip:888@conference.freeswitch.org</a> &lt;<a href="mailto:sip%253A888@conference.freeswitch.org">sip%3A888@conference.freeswitch.org</a>&gt;<br>
&gt; <a href="http://iax:guest@conference.freeswitch.org/888" target="_blank">iax:guest@conference.freeswitch.org/888</a><br>
&gt; <a href="mailto:googletalk%3Aconf%2B888@conference.freeswitch.org">googletalk:conf+888@conference.freeswitch.org</a>&lt;<a href="mailto:googletalk%253Aconf%252B888@conference.freeswitch.org">googletalk%3Aconf%2B888@conference.freeswitch.org</a>&gt;<br>

&gt; pstn:213-799-1400<br>
<br>
--<br>
</div>Psssst! Schon vom neuen GMX MultiMessenger gehört? Der kann`s mit allen: <a href="http://www.gmx.net/de/go/multimessenger" target="_blank">http://www.gmx.net/de/go/multimessenger</a><br>
<div><div></div><div class="Wj3C7c"><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>Anthony Minessale II<br><br>FreeSWITCH <a href="http://www.freeswitch.org/">http://www.freeswitch.org/</a><br>ClueCon <a href="http://www.cluecon.com/">http://www.cluecon.com/</a><br>
<br>AIM: anthm<br><a href="mailto:MSN%3Aanthony_minessale@hotmail.com">MSN:anthony_minessale@hotmail.com</a><br>GTALK/JABBER/<a href="mailto:PAYPAL%3Aanthony.minessale@gmail.com">PAYPAL:anthony.minessale@gmail.com</a><br>
IRC: <a href="http://irc.freenode.net">irc.freenode.net</a> #freeswitch<br><br>FreeSWITCH Developer Conference<br><a href="mailto:sip%3A888@conference.freeswitch.org">sip:888@conference.freeswitch.org</a><br><a href="http://iax:guest@conference.freeswitch.org/888">iax:guest@conference.freeswitch.org/888</a><br>
<a href="mailto:googletalk%3Aconf%2B888@conference.freeswitch.org">googletalk:conf+888@conference.freeswitch.org</a><br>pstn:213-799-1400<br>