[Freeswitch-users] Inband DTMF Problem

Anthony Minessale anthony.minessale at gmail.com
Wed Nov 5 13:11:44 PST 2008


dont forget to try what i said,
use the flush_dtmf before playback

On Wed, Nov 5, 2008 at 2:30 PM, Klaus Teller <klaus.teller at gmx.net> wrote:

> Hi Anthony,
>
> Let me add some few facts.
>
> 1) I am sending DTMF using RFC2833 and the IVR is using Inband
> 2) The problem is not limited to when i send DTMF. It also happens when i
> try to play a file.
> 3) The functions are from my java code. They send commands to Freeswitch
> via socket interface.
> 4) The same functions are working perfectly when the remote IVR sends DTMF
> via RFC2833.
> 5) I have a pause of 2000 ms after sending the DTMF.
>
>
> Let me reformulate my problem. I have a spurious dtmf-# being detected by
> freeswitch where nothing was sent by the other party.
>
> The strange thing to me is that Wireschark (running on the same machine as
> Freeswitch) detects the proper digit sequence.
>
> Klaus.
>
>
> -------- Original-Nachricht --------
> > Datum: Wed, 5 Nov 2008 11:26:51 -0600
> > Von: "Anthony Minessale" <anthony.minessale at gmail.com>
> > An: freeswitch-users at lists.freeswitch.org
> > Betreff: Re: [Freeswitch-users] Inband DTMF Problem
>
> > is the send dtmf inband as well?
> > did you try doing a pause after send dtmf to give it time to deliver it?
> > I still don't quite get what you are saying because i don't recognize the
> > functions in your example.
> >
> > for good measure i added 2 new commands to FS
> >
> > the flush_dtmf application you can execute before playing the file
> >
> > and the uuid_flush_dtmf api command you can send to an arbitrary uuid
> > maybe try those
> >
> >
> > On Wed, Nov 5, 2008 at 9:59 AM, Klaus Teller <klaus.teller at gmx.net>
> wrote:
> >
> > > HI,
> > >
> > > I'm attaching the console log and event-socket traffic. In the latter
> > case,
> > > i gathered only the last few Digits (including the spurious one).
> > >
> > > I also have the wireshark trace that i can send you off the list if you
> > > wish.
> > >
> > > We ran the same IVR (VoiceXML App) with a platform that supports
> RFC2833
> > i
> > > didn't have this problem. With this platform we unfortunately don't
> have
> > > this feature available.
> > >
> > >
> > > Klaus.
> > >
> > > -------- Original-Nachricht --------
> > > > Datum: Wed, 5 Nov 2008 09:14:02 -0600
> > > > Von: "Anthony Minessale" <anthony.minessale at gmail.com>
> > > > An: freeswitch-users at lists.freeswitch.org
> > > > Betreff: Re: [Freeswitch-users] Inband DTMF Problem
> > >
> > > > gather a console log at debug level and a trace of the event_socket
> > > > traffic.
> > > >
> > > >
> > > > On Wed, Nov 5, 2008 at 9:08 AM, Klaus Teller <klaus.teller at gmx.net>
> > > wrote:
> > > >
> > > > > Hi Folks,
> > > > >
> > > > > It's me again with a DTMF issue. Here is what's going on. I have a
> > > > remote
> > > > > IVR and i'm writing some code to communicate with it, exercise it,
> > and
> > > > test
> > > > > it. The remote IVR is playing DTMF as inband.
> > > > >
> > > > > Right now, Freeswitch can detect all DTMF digits from the IVR. The
> > > > > interaction between my code and the IVR is essentially  a
> > combination
> > > of
> > > > >  playing files and sending and reading DTMFs.
> > > > >
> > > > > The issue: whenever my code plays a file or send a DTMF digit, the
> > > > > following attempt to read DTMF fails. By failing i mean that there
> > will
> > > > be a
> > > > > spurious DTMF detected by Freeswitch that was not sent by the IVR.
> > > > >
> > > > > That is, if i have something like:
> > > > >
> > > > > sendDTMF("3"); getDigits("38373", "#");  // # is the termination
> > > > character
> > > > >
> > > > > After executing the sendDTMF, getDigits fails because it
> immediately
> > > > > detects a pound. Yet this pound is not sent by the IVR. I can check
> > > this
> > > > by
> > > > > having wireshark running both on the IVR's computer and on
> > Freeswitch's
> > > > > computer.
> > > > >
> > > > > Any idea what may be causing this problem? Is there some sort of
> > Echo
> > > > going
> > > > > on or something like that?
> > > > >
> > > > > Thanks,
> > > > > Klaus.
> > > > >
> > > > >
> > > > > --
> > > > > "Feel free" - 10 GB Mailbox, 100 FreeSMS/Monat ...
> > > > > Jetzt GMX TopMail testen: http://www.gmx.net/de/go/topmail
> > > > >
> > > > > _______________________________________________
> > > > > Freeswitch-users mailing list
> > > > > Freeswitch-users at lists.freeswitch.org
> > > > > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> > > > > UNSUBSCRIBE:
> > > http://lists.freeswitch.org/mailman/options/freeswitch-users
> > > > > http://www.freeswitch.org
> > > > >
> > > >
> > > >
> > > >
> > > > --
> > > > Anthony Minessale II
> > > >
> > > > FreeSWITCH http://www.freeswitch.org/
> > > > ClueCon http://www.cluecon.com/
> > > >
> > > > AIM: anthm
> > > > MSN:anthony_minessale at hotmail.com<MSN%3Aanthony_minessale at hotmail.com>
> > <MSN%3Aanthony_minessale at hotmail.com<MSN%253Aanthony_minessale at hotmail.com>
> ><
> > >
> > MSN%3Aanthony_minessale at hotmail.com<MSN%253Aanthony_minessale at hotmail.com>
> <MSN%253Aanthony_minessale at hotmail.com<MSN%25253Aanthony_minessale at hotmail.com>
> >
> > > >
> > > >
> > GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com<PAYPAL%3Aanthony.minessale at gmail.com>
> <PAYPAL%3Aanthony.minessale at gmail.com<PAYPAL%253Aanthony.minessale at gmail.com>
> >
> > >
> > <PAYPAL%3Aanthony.minessale at gmail.com<PAYPAL%253Aanthony.minessale at gmail.com>
> <PAYPAL%253Aanthony.minessale at gmail.com<PAYPAL%25253Aanthony.minessale at gmail.com>
> >
> > > >
> > > > IRC: irc.freenode.net #freeswitch
> > > >
> > > > FreeSWITCH Developer Conference
> > > > sip:888 at conference.freeswitch.org<sip%3A888 at conference.freeswitch.org>
> > <sip%3A888 at conference.freeswitch.org<sip%253A888 at conference.freeswitch.org>
> ><
> > >
> > sip%3A888 at conference.freeswitch.org<sip%253A888 at conference.freeswitch.org>
> <sip%253A888 at conference.freeswitch.org<sip%25253A888 at conference.freeswitch.org>
> >
> > > >
> > > > iax:guest at conference.freeswitch.org/888
> > > >
> > googletalk:conf+888 at conference.freeswitch.org<googletalk%3Aconf%2B888 at conference.freeswitch.org>
> <googletalk%3Aconf%2B888 at conference.freeswitch.org<googletalk%253Aconf%252B888 at conference.freeswitch.org>
> >
> > >
> > <googletalk%3Aconf%2B888 at conference.freeswitch.org<googletalk%253Aconf%252B888 at conference.freeswitch.org>
> <googletalk%253Aconf%252B888 at conference.freeswitch.org<googletalk%25253Aconf%25252B888 at conference.freeswitch.org>
> >
> > > >
> > > > pstn:213-799-1400
> > >
> > > --
> > > "Feel free" - 10 GB Mailbox, 100 FreeSMS/Monat ...
> > > Jetzt GMX TopMail testen: http://www.gmx.net/de/go/topmail
> > >
> > > _______________________________________________
> > > Freeswitch-users mailing list
> > > Freeswitch-users at lists.freeswitch.org
> > > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> > > UNSUBSCRIBE:
> http://lists.freeswitch.org/mailman/options/freeswitch-users
> > > http://www.freeswitch.org
> > >
> > >
> >
> >
> > --
> > Anthony Minessale II
> >
> > FreeSWITCH http://www.freeswitch.org/
> > ClueCon http://www.cluecon.com/
> >
> > AIM: anthm
> > MSN:anthony_minessale at hotmail.com <MSN%3Aanthony_minessale at hotmail.com><
> MSN%3Aanthony_minessale at hotmail.com<MSN%253Aanthony_minessale at hotmail.com>
> >
> > GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com<PAYPAL%3Aanthony.minessale at gmail.com>
> <PAYPAL%3Aanthony.minessale at gmail.com<PAYPAL%253Aanthony.minessale at gmail.com>
> >
> > IRC: irc.freenode.net #freeswitch
> >
> > FreeSWITCH Developer Conference
> > sip:888 at conference.freeswitch.org <sip%3A888 at conference.freeswitch.org><
> sip%3A888 at conference.freeswitch.org<sip%253A888 at conference.freeswitch.org>
> >
> > iax:guest at conference.freeswitch.org/888
> > googletalk:conf+888 at conference.freeswitch.org<googletalk%3Aconf%2B888 at conference.freeswitch.org>
> <googletalk%3Aconf%2B888 at conference.freeswitch.org<googletalk%253Aconf%252B888 at conference.freeswitch.org>
> >
> > pstn:213-799-1400
>
> --
> Psssst! Schon vom neuen GMX MultiMessenger gehört? Der kann`s mit allen:
> http://www.gmx.net/de/go/multimessenger
>
> _______________________________________________
> Freeswitch-users mailing list
> Freeswitch-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>



-- 
Anthony Minessale II

FreeSWITCH http://www.freeswitch.org/
ClueCon http://www.cluecon.com/

AIM: anthm
MSN:anthony_minessale at hotmail.com <MSN%3Aanthony_minessale at hotmail.com>
GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com<PAYPAL%3Aanthony.minessale at gmail.com>
IRC: irc.freenode.net #freeswitch

FreeSWITCH Developer Conference
sip:888 at conference.freeswitch.org <sip%3A888 at conference.freeswitch.org>
iax:guest at conference.freeswitch.org/888
googletalk:conf+888 at conference.freeswitch.org<googletalk%3Aconf%2B888 at conference.freeswitch.org>
pstn:213-799-1400
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20081105/cdd181d7/attachment-0002.html 


More information about the FreeSWITCH-users mailing list