Thanks. I am not bridging any call. Calls are originated via the socket interface to the extension 1003. And for the same call, all digits except star will produce two events while star will produce one event sometimes and two events some other times in the same call.
Here are for instance events i got in one single call, pressing 5** (five, star, star). You see that 5 produced two events, the first star produced one event, and the third star produced two events. Channel-State: CS_EXCHANGE_MEDIA Channel-State-Number: 5 Channel-Name: sofia/internal/1003%40192.168.50.56%3A50435%3Brinstance%3D65055bcc835b9844 Unique-ID: 34b83622-a473-11dd-8207-2b46fcff01af Call-Direction: outbound Answer-State: answered Channel-Read-Codec-Name: PCMU Channel-Read-Codec-Rate: 8000 Channel-Write-Codec-Name: PCMU Channel-Write-Codec-Rate: 8000 DTMF-Digit: 5 DTMF-Duration: 2000 Event-Name: DTMF Core-UUID: 1abe8d52-a44b-11dd-8207-2b46fcff01af FreeSWITCH-Hostname: localhost.localdomain FreeSWITCH-IPv4: 127.0.0.1 FreeSWITCH-IPv6: %3A%3A1 Event-Date-Local: 2008-10-27%2018%3A04%3A25 Event-Date-GMT: Mon,%2027%20Oct%202008%2022%3A04%3A25%20GMT Event-Date-timestamp: 1225145065750884 Event-Calling-File: switch_channel.c Event-Calling-Function: switch_channel_dequeue_dtmf Event-Calling-Line-Number: 357 Channel-State: CS_EXECUTE Channel-State-Number: 4 Channel-Name: sofia/internal/1003%40192.168.50.94 Unique-ID: 34adac7a-a473-11dd-8207-2b46fcff01af Call-Direction: outbound Answer-State: answered Channel-Read-Codec-Name: G722 Channel-Read-Codec-Rate: 16000 Channel-Write-Codec-Name: G722 Channel-Write-Codec-Rate: 16000 DTMF-Digit: 5 DTMF-Duration: 2080 Event-Name: DTMF Core-UUID: 1abe8d52-a44b-11dd-8207-2b46fcff01af FreeSWITCH-Hostname: localhost.localdomain FreeSWITCH-IPv4: 127.0.0.1 FreeSWITCH-IPv6: %3A%3A1 Event-Date-Local: 2008-10-27%2018%3A04%3A26 Event-Date-GMT: Mon,%2027%20Oct%202008%2022%3A04%3A26%20GMT Event-Date-timestamp: 1225145066008156 Event-Calling-File: switch_channel.c Event-Calling-Function: switch_channel_dequeue_dtmf Event-Calling-Line-Number: 357 Channel-State: CS_EXCHANGE_MEDIA Channel-State-Number: 5 Channel-Name: sofia/internal/1003%40192.168.50.56%3A50435%3Brinstance%3D65055bcc835b9844 Unique-ID: 34b83622-a473-11dd-8207-2b46fcff01af Call-Direction: outbound Answer-State: answered Channel-Read-Codec-Name: PCMU Channel-Read-Codec-Rate: 8000 Channel-Write-Codec-Name: PCMU Channel-Write-Codec-Rate: 8000 DTMF-Digit: * DTMF-Duration: 2000 Event-Name: DTMF Core-UUID: 1abe8d52-a44b-11dd-8207-2b46fcff01af FreeSWITCH-Hostname: localhost.localdomain FreeSWITCH-IPv4: 127.0.0.1 FreeSWITCH-IPv6: %3A%3A1 Event-Date-Local: 2008-10-27%2018%3A04%3A27 Event-Date-GMT: Mon,%2027%20Oct%202008%2022%3A04%3A27%20GMT Event-Date-timestamp: 1225145067315160 Event-Calling-File: switch_channel.c Event-Calling-Function: switch_channel_dequeue_dtmf Event-Calling-Line-Number: 357 Channel-State: CS_EXCHANGE_MEDIA Channel-State-Number: 5 Channel-Name: sofia/internal/1003%40192.168.50.56%3A50435%3Brinstance%3D65055bcc835b9844 Unique-ID: 34b83622-a473-11dd-8207-2b46fcff01af Call-Direction: outbound Answer-State: answered Channel-Read-Codec-Name: PCMU Channel-Read-Codec-Rate: 8000 Channel-Write-Codec-Name: PCMU Channel-Write-Codec-Rate: 8000 DTMF-Digit: * DTMF-Duration: 2000 Event-Name: DTMF Core-UUID: 1abe8d52-a44b-11dd-8207-2b46fcff01af FreeSWITCH-Hostname: localhost.localdomain FreeSWITCH-IPv4: 127.0.0.1 FreeSWITCH-IPv6: %3A%3A1 Event-Date-Local: 2008-10-27%2018%3A04%3A28 Event-Date-GMT: Mon,%2027%20Oct%202008%2022%3A04%3A28%20GMT Event-Date-timestamp: 1225145068213242 Event-Calling-File: switch_channel.c Event-Calling-Function: switch_channel_dequeue_dtmf Event-Calling-Line-Number: 357 Channel-State: CS_EXECUTE Channel-State-Number: 4 Channel-Name: sofia/internal/1003%40192.168.50.94 Unique-ID: 34adac7a-a473-11dd-8207-2b46fcff01af Call-Direction: outbound Answer-State: answered Channel-Read-Codec-Name: G722 Channel-Read-Codec-Rate: 16000 Channel-Write-Codec-Name: G722 Channel-Write-Codec-Rate: 16000 DTMF-Digit: * DTMF-Duration: 2080 Event-Name: DTMF Core-UUID: 1abe8d52-a44b-11dd-8207-2b46fcff01af FreeSWITCH-Hostname: localhost.localdomain FreeSWITCH-IPv4: 127.0.0.1 FreeSWITCH-IPv6: %3A%3A1 Event-Date-Local: 2008-10-27%2018%3A04%3A28 Event-Date-GMT: Mon,%2027%20Oct%202008%2022%3A04%3A28%20GMT Event-Date-timestamp: 1225145068456248 Event-Calling-File: switch_channel.c Event-Calling-Function: switch_channel_dequeue_dtmf Event-Calling-Line-Number: 357 Thanks, klaus. Channel-State: CS_EXCHANGE_MEDIA Channel-State-Number: 5 Channel-Name: sofia/internal/1003%40192.168.50.56%3A50435%3Brinstance%3D65055bcc835b9844 Unique-ID: b367e680-a472-11dd-8207-2b46fcff01af Call-Direction: outbound Answer-State: answered Channel-Read-Codec-Name: PCMU Channel-Read-Codec-Rate: 8000 Channel-Write-Codec-Name: PCMU Channel-Write-Codec-Rate: 8000 DTMF-Digit: 8 DTMF-Duration: 2000 Event-Name: DTMF Core-UUID: 1abe8d52-a44b-11dd-8207-2b46fcff01af FreeSWITCH-Hostname: localhost.localdomain FreeSWITCH-IPv4: 127.0.0.1 FreeSWITCH-IPv6: %3A%3A1 Event-Date-Local: 2008-10-27%2018%3A00%3A47 Event-Date-GMT: Mon,%2027%20Oct%202008%2022%3A00%3A47%20GMT Event-Date-timestamp: 1225144847932433 Event-Calling-File: switch_channel.c Event-Calling-Function: switch_channel_dequeue_dtmf Event-Calling-Line-Number: 357 Channel-State: CS_EXECUTE Channel-State-Number: 4 Channel-Name: sofia/internal/1003%40192.168.50.94 Unique-ID: b35d1110-a472-11dd-8207-2b46fcff01af Call-Direction: outbound Answer-State: answered Channel-Read-Codec-Name: G722 Channel-Read-Codec-Rate: 16000 Channel-Write-Codec-Name: G722 Channel-Write-Codec-Rate: 16000 DTMF-Digit: 8 DTMF-Duration: 2080 Event-Name: DTMF Core-UUID: 1abe8d52-a44b-11dd-8207-2b46fcff01af FreeSWITCH-Hostname: localhost.localdomain FreeSWITCH-IPv4: 127.0.0.1 FreeSWITCH-IPv6: %3A%3A1 Event-Date-Local: 2008-10-27%2018%3A00%3A48 Event-Date-GMT: Mon,%2027%20Oct%202008%2022%3A00%3A48%20GMT Event-Date-timestamp: 1225144848192750 Event-Calling-File: switch_channel.c Event-Calling-Function: switch_channel_dequeue_dtmf Event-Calling-Line-Number: 357 -------- Original-Nachricht -------- > Datum: Mon, 27 Oct 2008 12:16:34 -0500 > Von: "Anthony Minessale" <[EMAIL PROTECTED]> > An: freeswitch-users@lists.freeswitch.org > Betreff: Re: [Freeswitch-users] DTMF Star Event Inconsistent > 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 <[EMAIL PROTECTED]> > 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" <[EMAIL PROTECTED]> > > > An: freeswitch-users@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 <[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]>< > > > [EMAIL PROTECTED]<[EMAIL PROTECTED]> > > > > > > > GTALK/JABBER/PAYPAL:[EMAIL PROTECTED]<[EMAIL PROTECTED]> > > > <[EMAIL PROTECTED]<[EMAIL PROTECTED]> > > > > > > IRC: irc.freenode.net #freeswitch > > > > > > FreeSWITCH Developer Conference > > > sip:[EMAIL PROTECTED] > <[EMAIL PROTECTED]>< > > > [EMAIL PROTECTED]<[EMAIL PROTECTED]> > > > > > > iax:[EMAIL PROTECTED]/888 > > > > googletalk:[EMAIL PROTECTED]<[EMAIL PROTECTED]> > > > <[EMAIL PROTECTED]<[EMAIL PROTECTED]> > > > > > > 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@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 -- "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