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 <[EMAIL PROTECTED]> 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@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:[EMAIL PROTECTED] <[EMAIL PROTECTED]> GTALK/JABBER/PAYPAL:[EMAIL PROTECTED]<[EMAIL PROTECTED]> IRC: irc.freenode.net #freeswitch FreeSWITCH Developer Conference sip:[EMAIL PROTECTED] <[EMAIL PROTECTED]> iax:[EMAIL PROTECTED]/888 googletalk:[EMAIL PROTECTED]<[EMAIL PROTECTED]> pstn:213-799-1400
_______________________________________________ Freeswitch-users mailing list Freeswitch-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org