you are one email behind i think.<br>Problem is that FS only sends 2833 while it's busy doing something so you have to keep FS reading audio to trigger the outbound dtmf.<br><br><br><div class="gmail_quote">On Wed, Nov 5, 2008 at 3:37 PM, Klaus Teller <span dir="ltr"><<a href="mailto:klaus.teller@gmx.net">klaus.teller@gmx.net</a>></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;">I'm updating now and will try the flush dtmf. I yet have a hard time understanding how this is related to sending DTMF (instead of reading DTMF). This because:<br>
<br>
1) The same problem appears when i replace sending DTMF with playing an audio file<br>
2) Introducing a delay between READING Dtmf and playing the file prevents the issue to appear.<br>
<br>
Ideas?<br>
<br>
Klaus.<br>
<br>
<br>
<br>
-------- Original-Nachricht --------<br>
> Datum: Wed, 5 Nov 2008 15:24:33 -0600<br>
<div class="Ih2E3d">> Von: "Anthony Minessale" <<a href="mailto:anthony.minessale@gmail.com">anthony.minessale@gmail.com</a>><br>
</div><div><div></div><div class="Wj3C7c">> An: <a href="mailto:freeswitch-users@lists.freeswitch.org">freeswitch-users@lists.freeswitch.org</a><br>
> Betreff: Re: [Freeswitch-users] Inband DTMF Problem<br>
<br>
> When you call send dtmf and it's rfc2833 you must sleep to give it a<br>
> chance<br>
> to send.<br>
> the variable last_dtmf_duration is always set on the channel with how long<br>
> you should execute sleep<br>
> on the channel in the case of 2833<br>
><br>
> so call send_dtmf<br>
> execute sleep ${last_dtmf_duration}<br>
><br>
><br>
><br>
> On Wed, Nov 5, 2008 at 3:08 PM, Klaus Teller <<a href="mailto:klaus.teller@gmx.net">klaus.teller@gmx.net</a>> wrote:<br>
><br>
> > OK, we made some progress on this issue. It appears that if we introduce<br>
> > 50ms delay between the reading (not playing) of the DTMF and the playing<br>
> of<br>
> > the file (or the sending of DTMF), the problem doesn't occur. And if we<br>
> > place many such calls this delay needs to be increased.<br>
> ><br>
> ><br>
> > What i suspect is happening is that there is some sort of race condition<br>
> or<br>
> > interference between the event processing part of Freeswitch and the<br>
> > handling of synchronous commands such as sending dtmf. I recall Anthony<br>
> > saying few days ago that event delivery is paused when a command<br>
> execution<br>
> > request arrives. So, would it be possible that command execution<br>
> requests<br>
> > are able to interfere on the deliverying of events?<br>
> ><br>
> > Thanks,<br>
> > Klaus.<br>
> ><br>
> ><br>
> ><br>
> ><br>
> > -------- Original-Nachricht --------<br>
> > > Datum: Wed, 5 Nov 2008 14:35:16 -0600<br>
> > > Von: Brian West <<a href="mailto:brian@freeswitch.org">brian@freeswitch.org</a>><br>
> > > An: <a href="mailto:freeswitch-users@lists.freeswitch.org">freeswitch-users@lists.freeswitch.org</a><br>
> > > Betreff: Re: [Freeswitch-users] Inband DTMF Problem<br>
> ><br>
> > > Extract the RTP audio into wav/au files in wireshark and lets look at<br>
> > > them.<br>
> > ><br>
> > > /b<br>
> > ><br>
> > > On Nov 5, 2008, at 2:30 PM, Klaus Teller wrote:<br>
> > ><br>
> > > > 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<br>
> > > > when i try to play a file.<br>
> > > > 3) The functions are from my java code. They send commands to<br>
> > > > Freeswitch via socket interface.<br>
> > > > 4) The same functions are working perfectly when the remote IVR<br>
> > > > 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<br>
> > > > 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<br>
> > > > machine as Freeswitch) detects the proper digit sequence.<br>
> > > ><br>
> > > > Klaus.<br>
> > ><br>
> > ><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>
> > ><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>
> > --<br>
> > Psssst! Schon vom neuen GMX MultiMessenger gehört? Der kann`s mit<br>
> allen:<br>
> > <a href="http://www.gmx.net/de/go/multimessenger" target="_blank">http://www.gmx.net/de/go/multimessenger</a><br>
> ><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>
><br>
><br>
><br>
> --<br>
> Anthony Minessale II<br>
><br>
> FreeSWITCH <a href="http://www.freeswitch.org/" target="_blank">http://www.freeswitch.org/</a><br>
> ClueCon <a href="http://www.cluecon.com/" target="_blank">http://www.cluecon.com/</a><br>
><br>
> AIM: anthm<br>
</div></div>> <a href="mailto:MSN%3Aanthony_minessale@hotmail.com">MSN:anthony_minessale@hotmail.com</a> <<a href="mailto:MSN%253Aanthony_minessale@hotmail.com">MSN%3Aanthony_minessale@hotmail.com</a>><br>
> GTALK/JABBER/<a href="mailto:PAYPAL%3Aanthony.minessale@gmail.com">PAYPAL:anthony.minessale@gmail.com</a><<a href="mailto:PAYPAL%253Aanthony.minessale@gmail.com">PAYPAL%3Aanthony.minessale@gmail.com</a>><br>
<div class="Ih2E3d">> IRC: <a href="http://irc.freenode.net" target="_blank">irc.freenode.net</a> #freeswitch<br>
><br>
> FreeSWITCH Developer Conference<br>
</div>> <a href="mailto:sip%3A888@conference.freeswitch.org">sip:888@conference.freeswitch.org</a> <<a href="mailto:sip%253A888@conference.freeswitch.org">sip%3A888@conference.freeswitch.org</a>><br>
<div class="Ih2E3d">> <a href="http://iax:guest@conference.freeswitch.org/888" target="_blank">iax:guest@conference.freeswitch.org/888</a><br>
</div>> <a href="mailto:googletalk%3Aconf%2B888@conference.freeswitch.org">googletalk:conf+888@conference.freeswitch.org</a><<a href="mailto:googletalk%253Aconf%252B888@conference.freeswitch.org">googletalk%3Aconf%2B888@conference.freeswitch.org</a>><br>
> pstn:213-799-1400<br>
<font color="#888888"><br>
--<br>
Ist Ihr Browser Vista-kompatibel? Jetzt die neuesten<br>
Browser-Versionen downloaden: <a href="http://www.gmx.net/de/go/browser" target="_blank">http://www.gmx.net/de/go/browser</a><br>
</font><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>