[Freeswitch-users] DTMF Star Event Inconsistent
Anthony Minessale
anthony.minessale at gmail.com
Mon Oct 27 10:16:34 PDT 2008
if this is a bridged call you will get one on each leg as the dtmf passes
from one leg to the other.
if in some cases the dtmf is intercepted by something like the bind_meta_app
then you may only see 1.
On Mon, Oct 27, 2008 at 11:36 AM, Klaus Teller <klaus.teller at gmx.net> wrote:
> I do indeed look for the Event-Name attribute. But since for a single DTMF
> digit two events are received from Freeswitch (with Event-Name: DTMF) , i
> need to differentiate them somehow such that one is processed and the other
> ignored. The differentiation pattern i found is the channel state
> (CS_EXCHANGE_MEDIA or CS_EXECUTE state). But then, DTMF-star doesn't always
> have these two states.
>
> Klaus.
>
>
> -------- Original-Nachricht --------
> > Datum: Mon, 27 Oct 2008 11:19:18 -0500
> > Von: "Anthony Minessale" <anthony.minessale at gmail.com>
> > An: freeswitch-users at lists.freeswitch.org
> > Betreff: Re: [Freeswitch-users] DTMF Star Event Inconsistent
>
> > you should be looking for the DTMF event and not reacting to any others
> >
> > Event-Name: DTMF
> >
> > any other ones are not necessarily related to what you want.
> >
> >
> > On Mon, Oct 27, 2008 at 8:49 AM, Klaus Teller <klaus.teller at gmx.net>
> > wrote:
> >
> > > Hi,
> > >
> > > I'm calling a registered soft phone (ext. 1003) via the event socket
> > > interface. That is, on one side i have some Java code connecting to the
> > > Freeswitch event socket interface and placing calls and on the other
> > hand i
> > > have the soft phone registered to Freeswitch and awaiting for calls.
> > >
> > >
> > > Now, when i get a call on the soft phone, i press a sequence of DTMF
> > > digits. The sequence of DTMF digits is intended to be read by the Java
> > code
> > > via the socket interface. Most things run pretty smoothly: i can place
> > > calls, i can send DTMFs, i can receive them on the other hand.
> > >
> > > The inconsistent behavior i'm seeing is following. For DTMF-0 to
> DTMF-9,
> > > and DTMF-#, i receive two events via the socket interface. The first
> one
> > is
> > > in CS_EXCHANGE_MEDIA state and the second is in CS_EXECUTE state. Yet
> > for
> > > DTMF-* i receive inconsistent number of events: sometimes only one
> > single
> > > event in state CS_EXCHANGE_MEDIA sometimes two events as in the case of
> > > other DTMF digits.
> > >
> > > It seems there is a pattern in this "inconsistency". The odd DTMF-*
> > (first,
> > > third, fifth, etc.) generate only one CS_EXCHANGE_MEDIA event while the
> > even
> > > (second, fourth, sixth, etc.) generate both events.
> > >
> > > Can somebody help me understand what's going on?
> > >
> > > Thanks,
> > > Klaus.
> > >
> > > --
> > > "Feel free" - 5 GB Mailbox, 50 FreeSMS/Monat ...
> > > Jetzt GMX ProMail testen: http://www.gmx.net/de/go/promail
> > >
> > > _______________________________________________
> > > 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/20081027/b327cb15/attachment-0002.html
More information about the FreeSWITCH-users
mailing list