Sponsor: VoiceMeUp - Corporate & Wholesale VoIP Services

VoIP Mailing List Archives
Mailing list archives for the VoIP community
 SearchSearch 

[Freeswitch-users] DTMF Star Event Inconsistent


 
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> freeSWITCH Users
View previous topic :: View next topic  
Author Message
klaus.teller at gmx.net
Guest





PostPosted: Mon Oct 27, 2008 9:06 am    Post subject: [Freeswitch-users] DTMF Star Event Inconsistent Reply with quote

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
Back to top
anthony.minessale at g...
Guest





PostPosted: Mon Oct 27, 2008 11:29 am    Post subject: [Freeswitch-users] DTMF Star Event Inconsistent Reply with quote

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@gmx.net (klaus.teller@gmx.net)> wrote:
Quote:
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 (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:anthony_minessale@hotmail.com ([email]MSN%3Aanthony_minessale@hotmail.com[/email])
GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com ([email]PAYPAL%3Aanthony.minessale@gmail.com[/email])
IRC: irc.freenode.net #freeswitch

FreeSWITCH Developer Conference
sip:888@conference.freeswitch.org ([email]sip%3A888@conference.freeswitch.org[/email])
iax:guest@conference.freeswitch.org/888
googletalk:conf+888@conference.freeswitch.org ([email]googletalk%3Aconf%2B888@conference.freeswitch.org[/email])
pstn:213-799-1400
Back to top
klaus.teller at gmx.net
Guest





PostPosted: Mon Oct 27, 2008 11:52 am    Post subject: [Freeswitch-users] DTMF Star Event Inconsistent Reply with quote

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 --------
Quote:
Datum: Mon, 27 Oct 2008 11:19:18 -0500
Von: "Anthony Minessale" <anthony.minessale@gmail.com>
An: freeswitch-users@lists.freeswitch.org
Betreff: Re: [Freeswitch-users] DTMF Star Event Inconsistent

Quote:
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@gmx.net>
wrote:

Quote:
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
Quote:
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
Quote:
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
Quote:
in CS_EXCHANGE_MEDIA state and the second is in CS_EXECUTE state. Yet
for
Quote:
DTMF-* i receive inconsistent number of events: sometimes only one
single
Quote:
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,
Quote:
third, fifth, etc.) generate only one CS_EXCHANGE_MEDIA event while the
even
Quote:
(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:anthony_minessale@hotmail.com <MSN%3Aanthony_minessale@hotmail.com>
GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com<PAYPAL%3Aanthony.minessale@gmail.com>
IRC: irc.freenode.net #freeswitch

FreeSWITCH Developer Conference
sip:888@conference.freeswitch.org <sip%3A888@conference.freeswitch.org>
iax:guest@conference.freeswitch.org/888
googletalk:conf+888@conference.freeswitch.org<googletalk%3Aconf%2B888@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@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
Back to top
anthony.minessale at g...
Guest





PostPosted: Mon Oct 27, 2008 12:41 pm    Post subject: [Freeswitch-users] DTMF Star Event Inconsistent Reply with quote

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@gmx.net (klaus.teller@gmx.net)> wrote:
Quote:
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 --------
Quote:
Datum: Mon, 27 Oct 2008 11:19:18 -0500
Von: "Anthony Minessale" <anthony.minessale@gmail.com (anthony.minessale@gmail.com)>
An: freeswitch-users@lists.freeswitch.org (freeswitch-users@lists.freeswitch.org)
Betreff: Re: [Freeswitch-users] DTMF Star Event Inconsistent


Quote:
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@gmx.net (klaus.teller@gmx.net)>
wrote:

Quote:
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
Quote:
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
Quote:
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
Quote:
in CS_EXCHANGE_MEDIA state and the second is in CS_EXECUTE state. Yet
for
Quote:
DTMF-* i receive inconsistent number of events: sometimes only one
single
Quote:
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,
Quote:
third, fifth, etc.) generate only one CS_EXCHANGE_MEDIA event while the
even
Quote:
(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 (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


Quote:
MSN:anthony_minessale@hotmail.com ([email]MSN%3Aanthony_minessale@hotmail.com[/email]) <MSN%3Aanthony_minessale@hotmail.com ([email]MSN%253Aanthony_minessale@hotmail.com[/email])>
GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com ([email]PAYPAL%3Aanthony.minessale@gmail.com[/email])<PAYPAL%3Aanthony.minessale@gmail.com ([email]PAYPAL%253Aanthony.minessale@gmail.com[/email])>
IRC: irc.freenode.net #freeswitch

FreeSWITCH Developer Conference

Quote:
sip:888@conference.freeswitch.org ([email]sip%3A888@conference.freeswitch.org[/email]) <sip%3A888@conference.freeswitch.org ([email]sip%253A888@conference.freeswitch.org[/email])>
iax:guest@conference.freeswitch.org/888

Quote:
googletalk:conf+888@conference.freeswitch.org ([email]googletalk%3Aconf%2B888@conference.freeswitch.org[/email])<googletalk%3Aconf%2B888@conference.freeswitch.org ([email]googletalk%253Aconf%252B888@conference.freeswitch.org[/email])>
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 (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:anthony_minessale@hotmail.com ([email]MSN%3Aanthony_minessale@hotmail.com[/email])
GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com ([email]PAYPAL%3Aanthony.minessale@gmail.com[/email])
IRC: irc.freenode.net #freeswitch

FreeSWITCH Developer Conference
sip:888@conference.freeswitch.org ([email]sip%3A888@conference.freeswitch.org[/email])
iax:guest@conference.freeswitch.org/888
googletalk:conf+888@conference.freeswitch.org ([email]googletalk%3Aconf%2B888@conference.freeswitch.org[/email])
pstn:213-799-1400
Back to top
klaus.teller at gmx.net
Guest





PostPosted: Mon Oct 27, 2008 1:17 pm    Post subject: [Freeswitch-users] DTMF Star Event Inconsistent Reply with quote

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 --------
Quote:
Datum: Mon, 27 Oct 2008 12:16:34 -0500
Von: "Anthony Minessale" <anthony.minessale@gmail.com>
An: freeswitch-users@lists.freeswitch.org
Betreff: Re: [Freeswitch-users] DTMF Star Event Inconsistent

Quote:
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@gmx.net>
wrote:

Quote:
I do indeed look for the Event-Name attribute. But since for a single
DTMF
Quote:
digit two events are received from Freeswitch (with Event-Name: DTMF) ,
i
Quote:
need to differentiate them somehow such that one is processed and the
other
Quote:
ignored. The differentiation pattern i found is the channel state
(CS_EXCHANGE_MEDIA or CS_EXECUTE state). But then, DTMF-star doesn't
always
Quote:
have these two states.

Klaus.


-------- Original-Nachricht --------
Quote:
Datum: Mon, 27 Oct 2008 11:19:18 -0500
Von: "Anthony Minessale" <anthony.minessale@gmail.com>
An: freeswitch-users@lists.freeswitch.org
Betreff: Re: [Freeswitch-users] DTMF Star Event Inconsistent

Quote:
you should be looking for the DTMF event and not reacting to any
others
Quote:
Quote:

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@gmx.net>
wrote:

Quote:
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
Quote:
Quote:
Quote:
Freeswitch event socket interface and placing calls and on the other
hand i
Quote:
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
Quote:
Quote:
code
Quote:
via the socket interface. Most things run pretty smoothly: i can
place
Quote:
Quote:
Quote:
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,
Quote:
Quote:
and DTMF-#, i receive two events via the socket interface. The first
one
Quote:
is
Quote:
in CS_EXCHANGE_MEDIA state and the second is in CS_EXECUTE state.
Yet
Quote:
Quote:
for
Quote:
DTMF-* i receive inconsistent number of events: sometimes only one
single
Quote:
event in state CS_EXCHANGE_MEDIA sometimes two events as in the case
of
Quote:
Quote:
Quote:
other DTMF digits.

It seems there is a pattern in this "inconsistency". The odd DTMF-*
(first,
Quote:
third, fifth, etc.) generate only one CS_EXCHANGE_MEDIA event while
the
Quote:
Quote:
even
Quote:
(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
Quote:
Quote:
http://www.freeswitch.org




--
Anthony Minessale II

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

AIM: anthm
MSN:anthony_minessale@hotmail.com
<MSN%3Aanthony_minessale@hotmail.com><
MSN%3Aanthony_minessale@hotmail.com<MSN%253Aanthony_minessale@hotmail.com>
GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com<PAYPAL%3Aanthony.minessale@gmail.com>
<PAYPAL%3Aanthony.minessale@gmail.com<PAYPAL%253Aanthony.minessale@gmail.com>
Quote:
Quote:

IRC: irc.freenode.net #freeswitch

FreeSWITCH Developer Conference
sip:888@conference.freeswitch.org
<sip%3A888@conference.freeswitch.org><
sip%3A888@conference.freeswitch.org<sip%253A888@conference.freeswitch.org>
Quote:
Quote:

iax:guest@conference.freeswitch.org/888

googletalk:conf+888@conference.freeswitch.org<googletalk%3Aconf%2B888@conference.freeswitch.org>
<googletalk%3Aconf%2B888@conference.freeswitch.org<googletalk%253Aconf%252B888@conference.freeswitch.org>
Quote:
Quote:

pstn:213-799-1400

--
Psssst! Schon vom neuen GMX MultiMessenger gehört? Der kann`s mit
allen:
Quote:
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:anthony_minessale@hotmail.com <MSN%3Aanthony_minessale@hotmail.com>
GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com<PAYPAL%3Aanthony.minessale@gmail.com>
IRC: irc.freenode.net #freeswitch

FreeSWITCH Developer Conference
sip:888@conference.freeswitch.org <sip%3A888@conference.freeswitch.org>
iax:guest@conference.freeswitch.org/888
googletalk:conf+888@conference.freeswitch.org<googletalk%3Aconf%2B888@conference.freeswitch.org>
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
Back to top
tntknight at gmail.com
Guest





PostPosted: Mon Oct 27, 2008 1:31 pm    Post subject: [Freeswitch-users] DTMF Star Event Inconsistent Reply with quote

I'm not an authority on this, but I have spotted some things that might help you figure this out


Your events show up with different unique-ids - Unique-ID: 34b83622-a473-11dd-8207-2b46fcff01af and Unique-ID: 34adac7a-a473-11dd-8207-2b46fcff01af

You should only be looking for events on only one unique-id.

If each ID is a leg of the call (Not sure about this) It also looks like each leg has a different sampling rate ie PCMU and G722.


Hope this is helpful


Tony Knight


On Mon, Oct 27, 2008 at 2:08 PM, Klaus Teller <klaus.teller@gmx.net (klaus.teller@gmx.net)> wrote:
Quote:
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 --------
Quote:
Datum: Mon, 27 Oct 2008 12:16:34 -0500

Quote:
Von: "Anthony Minessale" <anthony.minessale@gmail.com (anthony.minessale@gmail.com)>
An: freeswitch-users@lists.freeswitch.org (freeswitch-users@lists.freeswitch.org)
Betreff: Re: [Freeswitch-users] DTMF Star Event Inconsistent

Quote:
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@gmx.net (klaus.teller@gmx.net)>
wrote:

Quote:
I do indeed look for the Event-Name attribute. But since for a single
DTMF
Quote:
digit two events are received from Freeswitch (with Event-Name: DTMF) ,
i
Quote:
need to differentiate them somehow such that one is processed and the
other
Quote:
ignored. The differentiation pattern i found is the channel state
(CS_EXCHANGE_MEDIA or CS_EXECUTE state). But then, DTMF-star doesn't
always
Quote:
have these two states.

Klaus.


-------- Original-Nachricht --------
Quote:
Datum: Mon, 27 Oct 2008 11:19:18 -0500
Von: "Anthony Minessale" <anthony.minessale@gmail.com (anthony.minessale@gmail.com)>
An: freeswitch-users@lists.freeswitch.org (freeswitch-users@lists.freeswitch.org)
Betreff: Re: [Freeswitch-users] DTMF Star Event Inconsistent

Quote:
you should be looking for the DTMF event and not reacting to any
others
Quote:
Quote:

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@gmx.net (klaus.teller@gmx.net)>
wrote:

Quote:
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
Quote:
Quote:
Quote:
Freeswitch event socket interface and placing calls and on the other
hand i
Quote:
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
Quote:
Quote:
code
Quote:
via the socket interface. Most things run pretty smoothly: i can
place
Quote:
Quote:
Quote:
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,
Quote:
Quote:
and DTMF-#, i receive two events via the socket interface. The first
one
Quote:
is
Quote:
in CS_EXCHANGE_MEDIA state and the second is in CS_EXECUTE state.
Yet
Quote:
Quote:
for
Quote:
DTMF-* i receive inconsistent number of events: sometimes only one
single
Quote:
event in state CS_EXCHANGE_MEDIA sometimes two events as in the case
of
Quote:
Quote:
Quote:
other DTMF digits.

It seems there is a pattern in this "inconsistency". The odd DTMF-*
(first,
Quote:
third, fifth, etc.) generate only one CS_EXCHANGE_MEDIA event while
the
Quote:
Quote:
even
Quote:
(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 (Freeswitch-users@lists.freeswitch.org)
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:
http://lists.freeswitch.org/mailman/options/freeswitch-users
Quote:
Quote:
http://www.freeswitch.org




--
Anthony Minessale II

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

AIM: anthm
MSN:anthony_minessale@hotmail.com ([email]MSN%3Aanthony_minessale@hotmail.com[/email])
<MSN%3Aanthony_minessale@hotmail.com ([email]MSN%253Aanthony_minessale@hotmail.com[/email])><


Quote:
MSN%3Aanthony_minessale@hotmail.com ([email]MSN%253Aanthony_minessale@hotmail.com[/email])<MSN%253Aanthony_minessale@hotmail.com ([email]MSN%25253Aanthony_minessale@hotmail.com[/email])>
GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com ([email]PAYPAL%3Aanthony.minessale@gmail.com[/email])<PAYPAL%3Aanthony.minessale@gmail.com ([email]PAYPAL%253Aanthony.minessale@gmail.com[/email])>

Quote:
<PAYPAL%3Aanthony.minessale@gmail.com ([email]PAYPAL%253Aanthony.minessale@gmail.com[/email])<PAYPAL%253Aanthony.minessale@gmail.com ([email]PAYPAL%25253Aanthony.minessale@gmail.com[/email])>
Quote:
Quote:

IRC: irc.freenode.net #freeswitch

FreeSWITCH Developer Conference
sip:888@conference.freeswitch.org ([email]sip%3A888@conference.freeswitch.org[/email])
<sip%3A888@conference.freeswitch.org ([email]sip%253A888@conference.freeswitch.org[/email])><

Quote:
sip%3A888@conference.freeswitch.org ([email]sip%253A888@conference.freeswitch.org[/email])<sip%253A888@conference.freeswitch.org ([email]sip%25253A888@conference.freeswitch.org[/email])>
Quote:
Quote:

iax:guest@conference.freeswitch.org/888

googletalk:conf+888@conference.freeswitch.org ([email]googletalk%3Aconf%2B888@conference.freeswitch.org[/email])<googletalk%3Aconf%2B888@conference.freeswitch.org ([email]googletalk%253Aconf%252B888@conference.freeswitch.org[/email])>

Quote:
<googletalk%3Aconf%2B888@conference.freeswitch.org ([email]googletalk%253Aconf%252B888@conference.freeswitch.org[/email])<googletalk%253Aconf%252B888@conference.freeswitch.org ([email]googletalk%25253Aconf%25252B888@conference.freeswitch.org[/email])>
Quote:
Quote:

pstn:213-799-1400

--
Psssst! Schon vom neuen GMX MultiMessenger gehört? Der kann`s mit
allen:
Quote:
http://www.gmx.net/de/go/multimessenger

_______________________________________________
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org (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:anthony_minessale@hotmail.com ([email]MSN%3Aanthony_minessale@hotmail.com[/email]) <MSN%3Aanthony_minessale@hotmail.com ([email]MSN%253Aanthony_minessale@hotmail.com[/email])>
GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com ([email]PAYPAL%3Aanthony.minessale@gmail.com[/email])<PAYPAL%3Aanthony.minessale@gmail.com ([email]PAYPAL%253Aanthony.minessale@gmail.com[/email])>
IRC: irc.freenode.net #freeswitch

FreeSWITCH Developer Conference
sip:888@conference.freeswitch.org ([email]sip%3A888@conference.freeswitch.org[/email]) <sip%3A888@conference.freeswitch.org ([email]sip%253A888@conference.freeswitch.org[/email])>
iax:guest@conference.freeswitch.org/888
googletalk:conf+888@conference.freeswitch.org ([email]googletalk%3Aconf%2B888@conference.freeswitch.org[/email])<googletalk%3Aconf%2B888@conference.freeswitch.org ([email]googletalk%253Aconf%252B888@conference.freeswitch.org[/email])>
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 (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


Back to top
klaus.teller at gmx.net
Guest





PostPosted: Mon Oct 27, 2008 1:46 pm    Post subject: [Freeswitch-users] DTMF Star Event Inconsistent Reply with quote

Interesting, thanks for pointing that. I would have thought that all events related to a call would have the same Unique-ID. Now I'm even more confused!


regards,

Klaus


-------- Original-Nachricht --------
Quote:
Datum: Mon, 27 Oct 2008 14:22:31 -0400
Von: "Anthony Knight" <tntknight@gmail.com>
An: freeswitch-users@lists.freeswitch.org
Betreff: Re: [Freeswitch-users] DTMF Star Event Inconsistent

Quote:
I'm not an authority on this, but I have spotted some things that might
help
you figure this out

Your events show up with different unique-ids - Unique-ID:
34b83622-a473-11dd-8207-2b46fcff01af
and Unique-ID: 34adac7a-a473-11dd-8207-2b46fcff01af
You should only be looking for events on only one unique-id.
If each ID is a leg of the call (Not sure about this) It also looks like
each leg has a different sampling rate ie PCMU and G722.

Hope this is helpful

Tony Knight

On Mon, Oct 27, 2008 at 2:08 PM, Klaus Teller <klaus.teller@gmx.net>
wrote:

Quote:
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
Quote:
star will produce two events while star will produce one event sometimes
and
Quote:
two events some other times in the same call.

Here are for instance events i got in one single call, pressing 5**
(five,
Quote:
star, star). You see that 5 produced two events, the first star produced
one
Quote:
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
Quote:
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
Quote:
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
Quote:
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
Quote:
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 --------
Quote:
Datum: Mon, 27 Oct 2008 12:16:34 -0500
Von: "Anthony Minessale" <anthony.minessale@gmail.com>
An: freeswitch-users@lists.freeswitch.org
Betreff: Re: [Freeswitch-users] DTMF Star Event Inconsistent

Quote:
if this is a bridged call you will get one on each leg as the dtmf
passes
Quote:
Quote:
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@gmx.net>
wrote:

Quote:
I do indeed look for the Event-Name attribute. But since for a
single
Quote:
Quote:
DTMF
Quote:
digit two events are received from Freeswitch (with Event-Name:
DTMF) ,
Quote:
Quote:
i
Quote:
need to differentiate them somehow such that one is processed and
the
Quote:
Quote:
other
Quote:
ignored. The differentiation pattern i found is the channel state
(CS_EXCHANGE_MEDIA or CS_EXECUTE state). But then, DTMF-star doesn't
always
Quote:
have these two states.

Klaus.


-------- Original-Nachricht --------
Quote:
Datum: Mon, 27 Oct 2008 11:19:18 -0500
Von: "Anthony Minessale" <anthony.minessale@gmail.com>
An: freeswitch-users@lists.freeswitch.org
Betreff: Re: [Freeswitch-users] DTMF Star Event Inconsistent

Quote:
you should be looking for the DTMF event and not reacting to any
others
Quote:
Quote:

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@gmx.net>
Quote:
Quote:
Quote:
Quote:
wrote:

Quote:
Hi,

I'm calling a registered soft phone (ext. 1003) via the event
socket
Quote:
Quote:
Quote:
Quote:
interface. That is, on one side i have some Java code connecting
to
Quote:
Quote:
the
Quote:
Quote:
Quote:
Freeswitch event socket interface and placing calls and on the
other
Quote:
Quote:
Quote:
hand i
Quote:
have the soft phone registered to Freeswitch and awaiting for
calls.
Quote:
Quote:
Quote:
Quote:


Now, when i get a call on the soft phone, i press a sequence of
DTMF
Quote:
Quote:
Quote:
Quote:
digits. The sequence of DTMF digits is intended to be read by
the
Quote:
Quote:
Java
Quote:
Quote:
code
Quote:
via the socket interface. Most things run pretty smoothly: i can
place
Quote:
Quote:
Quote:
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,
Quote:
Quote:
and DTMF-#, i receive two events via the socket interface. The
first
Quote:
Quote:
one
Quote:
is
Quote:
in CS_EXCHANGE_MEDIA state and the second is in CS_EXECUTE
state.
Quote:
Quote:
Yet
Quote:
Quote:
for
Quote:
DTMF-* i receive inconsistent number of events: sometimes only
one
Quote:
Quote:
Quote:
Quote:
single
Quote:
event in state CS_EXCHANGE_MEDIA sometimes two events as in the
case
Quote:
of
Quote:
Quote:
Quote:
other DTMF digits.

It seems there is a pattern in this "inconsistency". The odd
DTMF-*
Quote:
Quote:
Quote:
Quote:
(first,
Quote:
third, fifth, etc.) generate only one CS_EXCHANGE_MEDIA event
while
Quote:
Quote:
the
Quote:
Quote:
even
Quote:
(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
Quote:
Quote:
http://www.freeswitch.org




--
Anthony Minessale II

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

AIM: anthm

MSN:anthony_minessale@hotmail.com<MSN%3Aanthony_minessale@hotmail.com>
<MSN%3Aanthony_minessale@hotmail.com<MSN%253Aanthony_minessale@hotmail.com>
Quote:
Quote:
<

MSN%3Aanthony_minessale@hotmail.com<MSN%253Aanthony_minessale@hotmail.com>
<MSN%253Aanthony_minessale@hotmail.com<MSN%25253Aanthony_minessale@hotmail.com>
GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com<PAYPAL%3Aanthony.minessale@gmail.com>
<PAYPAL%3Aanthony.minessale@gmail.com<PAYPAL%253Aanthony.minessale@gmail.com>
<PAYPAL%3Aanthony.minessale@gmail.com<PAYPAL%253Aanthony.minessale@gmail.com>
<PAYPAL%253Aanthony.minessale@gmail.com<PAYPAL%25253Aanthony.minessale@gmail.com>
Quote:
Quote:

Quote:
Quote:

IRC: irc.freenode.net #freeswitch

FreeSWITCH Developer Conference

sip:888@conference.freeswitch.org<sip%3A888@conference.freeswitch.org>
<sip%3A888@conference.freeswitch.org<sip%253A888@conference.freeswitch.org>
Quote:
Quote:
<

sip%3A888@conference.freeswitch.org<sip%253A888@conference.freeswitch.org>
<sip%253A888@conference.freeswitch.org<sip%25253A888@conference.freeswitch.org>
Quote:
Quote:

Quote:
Quote:

iax:guest@conference.freeswitch.org/888


googletalk:conf+888@conference.freeswitch.org<googletalk%3Aconf%2B888@conference.freeswitch.org>
<googletalk%3Aconf%2B888@conference.freeswitch.org<googletalk%253Aconf%252B888@conference.freeswitch.org>
<googletalk%3Aconf%2B888@conference.freeswitch.org<googletalk%253Aconf%252B888@conference.freeswitch.org>
<googletalk%253Aconf%252B888@conference.freeswitch.org<googletalk%25253Aconf%25252B888@conference.freeswitch.org>
Quote:
Quote:

Quote:
Quote:

pstn:213-799-1400

--
Psssst! Schon vom neuen GMX MultiMessenger gehört? Der kann`s mit
allen:
Quote:
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
Quote:
Quote:
http://www.freeswitch.org




--
Anthony Minessale II

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

AIM: anthm
MSN:anthony_minessale@hotmail.com
<MSN%3Aanthony_minessale@hotmail.com><
MSN%3Aanthony_minessale@hotmail.com<MSN%253Aanthony_minessale@hotmail.com>
GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com<PAYPAL%3Aanthony.minessale@gmail.com>
<PAYPAL%3Aanthony.minessale@gmail.com<PAYPAL%253Aanthony.minessale@gmail.com>
Quote:
Quote:

IRC: irc.freenode.net #freeswitch

FreeSWITCH Developer Conference
sip:888@conference.freeswitch.org
<sip%3A888@conference.freeswitch.org><
sip%3A888@conference.freeswitch.org<sip%253A888@conference.freeswitch.org>
Quote:
Quote:

iax:guest@conference.freeswitch.org/888

googletalk:conf+888@conference.freeswitch.org<googletalk%3Aconf%2B888@conference.freeswitch.org>
<googletalk%3Aconf%2B888@conference.freeswitch.org<googletalk%253Aconf%252B888@conference.freeswitch.org>
Quote:
Quote:

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


--
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
Back to top
anthony.minessale at g...
Guest





PostPosted: Mon Oct 27, 2008 2:14 pm    Post subject: [Freeswitch-users] DTMF Star Event Inconsistent Reply with quote

there are 2 channels there?

one is ulaw and the other is g722 they are both getting a dtmf event?

also this output suggests older code.
can you update to trunk before testing anymore?

On Mon, Oct 27, 2008 at 1:32 PM, Klaus Teller <klaus.teller@gmx.net (klaus.teller@gmx.net)> wrote:
Quote:
Interesting, thanks for pointing that. I would have thought that all events related to a call would have the same Unique-ID. Now I'm even more confused!


regards,

Klaus


-------- Original-Nachricht --------
Quote:
Datum: Mon, 27 Oct 2008 14:22:31 -0400
Von: "Anthony Knight" <tntknight@gmail.com (tntknight@gmail.com)>

Quote:
An: freeswitch-users@lists.freeswitch.org (freeswitch-users@lists.freeswitch.org)
Betreff: Re: [Freeswitch-users] DTMF Star Event Inconsistent

Quote:
I'm not an authority on this, but I have spotted some things that might
help
you figure this out

Your events show up with different unique-ids - Unique-ID:
34b83622-a473-11dd-8207-2b46fcff01af
and Unique-ID: 34adac7a-a473-11dd-8207-2b46fcff01af
You should only be looking for events on only one unique-id.
If each ID is a leg of the call (Not sure about this) It also looks like
each leg has a different sampling rate ie PCMU and G722.

Hope this is helpful

Tony Knight

On Mon, Oct 27, 2008 at 2:08 PM, Klaus Teller <klaus.teller@gmx.net (klaus.teller@gmx.net)>
wrote:

Quote:
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
Quote:
star will produce two events while star will produce one event sometimes
and
Quote:
two events some other times in the same call.

Here are for instance events i got in one single call, pressing 5**
(five,
Quote:
star, star). You see that 5 produced two events, the first star produced
one
Quote:
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
Quote:
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
Quote:
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
Quote:
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
Quote:
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 --------
Quote:
Datum: Mon, 27 Oct 2008 12:16:34 -0500
Von: "Anthony Minessale" <anthony.minessale@gmail.com (anthony.minessale@gmail.com)>
An: freeswitch-users@lists.freeswitch.org (freeswitch-users@lists.freeswitch.org)
Betreff: Re: [Freeswitch-users] DTMF Star Event Inconsistent

Quote:
if this is a bridged call you will get one on each leg as the dtmf
passes
Quote:
Quote:
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@gmx.net (klaus.teller@gmx.net)>
wrote:

Quote:
I do indeed look for the Event-Name attribute. But since for a
single
Quote:
Quote:
DTMF
Quote:
digit two events are received from Freeswitch (with Event-Name:
DTMF) ,
Quote:
Quote:
i
Quote:
need to differentiate them somehow such that one is processed and
the
Quote:
Quote:
other
Quote:
ignored. The differentiation pattern i found is the channel state
(CS_EXCHANGE_MEDIA or CS_EXECUTE state). But then, DTMF-star doesn't
always
Quote:
have these two states.

Klaus.


-------- Original-Nachricht --------
Quote:
Datum: Mon, 27 Oct 2008 11:19:18 -0500
Von: "Anthony Minessale" <anthony.minessale@gmail.com (anthony.minessale@gmail.com)>
An: freeswitch-users@lists.freeswitch.org (freeswitch-users@lists.freeswitch.org)
Betreff: Re: [Freeswitch-users] DTMF Star Event Inconsistent

Quote:
you should be looking for the DTMF event and not reacting to any
others
Quote:
Quote:

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@gmx.net (klaus.teller@gmx.net)>
Quote:
Quote:
Quote:
Quote:
wrote:

Quote:
Hi,

I'm calling a registered soft phone (ext. 1003) via the event
socket
Quote:
Quote:
Quote:
Quote:
interface. That is, on one side i have some Java code connecting
to
Quote:
Quote:
the
Quote:
Quote:
Quote:
Freeswitch event socket interface and placing calls and on the
other
Quote:
Quote:
Quote:
hand i
Quote:
have the soft phone registered to Freeswitch and awaiting for
calls.
Quote:
Quote:
Quote:
Quote:


Now, when i get a call on the soft phone, i press a sequence of
DTMF
Quote:
Quote:
Quote:
Quote:
digits. The sequence of DTMF digits is intended to be read by
the
Quote:
Quote:
Java
Quote:
Quote:
code
Quote:
via the socket interface. Most things run pretty smoothly: i can
place
Quote:
Quote:
Quote:
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,
Quote:
Quote:
and DTMF-#, i receive two events via the socket interface. The
first
Quote:
Quote:
one
Quote:
is
Quote:
in CS_EXCHANGE_MEDIA state and the second is in CS_EXECUTE
state.
Quote:
Quote:
Yet
Quote:
Quote:
for
Quote:
DTMF-* i receive inconsistent number of events: sometimes only
one
Quote:
Quote:
Quote:
Quote:
single
Quote:
event in state CS_EXCHANGE_MEDIA sometimes two events as in the
case
Quote:
of
Quote:
Quote:
Quote:
other DTMF digits.

It seems there is a pattern in this "inconsistency". The odd
DTMF-*
Quote:
Quote:
Quote:
Quote:
(first,
Quote:
third, fifth, etc.) generate only one CS_EXCHANGE_MEDIA event
while
Quote:
Quote:
the
Quote:
Quote:
even
Quote:
(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 (Freeswitch-users@lists.freeswitch.org)
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:
http://lists.freeswitch.org/mailman/options/freeswitch-users
Quote:
Quote:
http://www.freeswitch.org




--
Anthony Minessale II

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

AIM: anthm

MSN:anthony_minessale@hotmail.com ([email]MSN%3Aanthony_minessale@hotmail.com[/email])<MSN%3Aanthony_minessale@hotmail.com ([email]MSN%253Aanthony_minessale@hotmail.com[/email])>
<MSN%3Aanthony_minessale@hotmail.com ([email]MSN%253Aanthony_minessale@hotmail.com[/email])<MSN%253Aanthony_minessale@hotmail.com ([email]MSN%25253Aanthony_minessale@hotmail.com[/email])>
Quote:
Quote:
<

MSN%3Aanthony_minessale@hotmail.com ([email]MSN%253Aanthony_minessale@hotmail.com[/email])<MSN%253Aanthony_minessale@hotmail.com ([email]MSN%25253Aanthony_minessale@hotmail.com[/email])>


Quote:
<MSN%253Aanthony_minessale@hotmail.com ([email]MSN%25253Aanthony_minessale@hotmail.com[/email])<MSN%25253Aanthony_minessale@hotmail.com ([email]MSN%2525253Aanthony_minessale@hotmail.com[/email])>
GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com ([email]PAYPAL%3Aanthony.minessale@gmail.com[/email])<PAYPAL%3Aanthony.minessale@gmail.com ([email]PAYPAL%253Aanthony.minessale@gmail.com[/email])>
<PAYPAL%3Aanthony.minessale@gmail.com ([email]PAYPAL%253Aanthony.minessale@gmail.com[/email])<PAYPAL%253Aanthony.minessale@gmail.com ([email]PAYPAL%25253Aanthony.minessale@gmail.com[/email])>
<PAYPAL%3Aanthony.minessale@gmail.com ([email]PAYPAL%253Aanthony.minessale@gmail.com[/email])<PAYPAL%253Aanthony.minessale@gmail.com ([email]PAYPAL%25253Aanthony.minessale@gmail.com[/email])>

Quote:
<PAYPAL%253Aanthony.minessale@gmail.com ([email]PAYPAL%25253Aanthony.minessale@gmail.com[/email])<PAYPAL%25253Aanthony.minessale@gmail.com ([email]PAYPAL%2525253Aanthony.minessale@gmail.com[/email])>
Quote:
Quote:

Quote:
Quote:

IRC: irc.freenode.net #freeswitch

FreeSWITCH Developer Conference

sip:888@conference.freeswitch.org ([email]sip%3A888@conference.freeswitch.org[/email])<sip%3A888@conference.freeswitch.org ([email]sip%253A888@conference.freeswitch.org[/email])>
<sip%3A888@conference.freeswitch.org ([email]sip%253A888@conference.freeswitch.org[/email])<sip%253A888@conference.freeswitch.org ([email]sip%25253A888@conference.freeswitch.org[/email])>
Quote:
Quote:
<

sip%3A888@conference.freeswitch.org ([email]sip%253A888@conference.freeswitch.org[/email])<sip%253A888@conference.freeswitch.org ([email]sip%25253A888@conference.freeswitch.org[/email])>

Quote:
<sip%253A888@conference.freeswitch.org ([email]sip%25253A888@conference.freeswitch.org[/email])<sip%25253A888@conference.freeswitch.org ([email]sip%2525253A888@conference.freeswitch.org[/email])>
Quote:
Quote:

Quote:
Quote:

iax:guest@conference.freeswitch.org/888


googletalk:conf+888@conference.freeswitch.org ([email]googletalk%3Aconf%2B888@conference.freeswitch.org[/email])<googletalk%3Aconf%2B888@conference.freeswitch.org ([email]googletalk%253Aconf%252B888@conference.freeswitch.org[/email])>
<googletalk%3Aconf%2B888@conference.freeswitch.org ([email]googletalk%253Aconf%252B888@conference.freeswitch.org[/email])<googletalk%253Aconf%252B888@conference.freeswitch.org ([email]googletalk%25253Aconf%25252B888@conference.freeswitch.org[/email])>
<googletalk%3Aconf%2B888@conference.freeswitch.org ([email]googletalk%253Aconf%252B888@conference.freeswitch.org[/email])<googletalk%253Aconf%252B888@conference.freeswitch.org ([email]googletalk%25253Aconf%25252B888@conference.freeswitch.org[/email])>

Quote:
<googletalk%253Aconf%252B888@conference.freeswitch.org ([email]googletalk%25253Aconf%25252B888@conference.freeswitch.org[/email])<googletalk%25253Aconf%25252B888@conference.freeswitch.org ([email]googletalk%2525253Aconf%2525252B888@conference.freeswitch.org[/email])>

Quote:
Quote:
Quote:

Quote:
Quote:

pstn:213-799-1400

--
Psssst! Schon vom neuen GMX MultiMessenger gehört? Der kann`s mit
allen:
Quote:
http://www.gmx.net/de/go/multimessenger

_______________________________________________
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org (Freeswitch-users@lists.freeswitch.org)
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:
http://lists.freeswitch.org/mailman/options/freeswitch-users
Quote:
Quote:
http://www.freeswitch.org




--
Anthony Minessale II

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

AIM: anthm
MSN:anthony_minessale@hotmail.com ([email]MSN%3Aanthony_minessale@hotmail.com[/email])
<MSN%3Aanthony_minessale@hotmail.com ([email]MSN%253Aanthony_minessale@hotmail.com[/email])><
MSN%3Aanthony_minessale@hotmail.com ([email]MSN%253Aanthony_minessale@hotmail.com[/email])<MSN%253Aanthony_minessale@hotmail.com ([email]MSN%25253Aanthony_minessale@hotmail.com[/email])>
GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com ([email]PAYPAL%3Aanthony.minessale@gmail.com[/email])<PAYPAL%3Aanthony.minessale@gmail.com ([email]PAYPAL%253Aanthony.minessale@gmail.com[/email])>
<PAYPAL%3Aanthony.minessale@gmail.com ([email]PAYPAL%253Aanthony.minessale@gmail.com[/email])<PAYPAL%253Aanthony.minessale@gmail.com ([email]PAYPAL%25253Aanthony.minessale@gmail.com[/email])>
Quote:
Quote:

IRC: irc.freenode.net #freeswitch

FreeSWITCH Developer Conference
sip:888@conference.freeswitch.org ([email]sip%3A888@conference.freeswitch.org[/email])
<sip%3A888@conference.freeswitch.org ([email]sip%253A888@conference.freeswitch.org[/email])><
sip%3A888@conference.freeswitch.org ([email]sip%253A888@conference.freeswitch.org[/email])<sip%253A888@conference.freeswitch.org ([email]sip%25253A888@conference.freeswitch.org[/email])>
Quote:
Quote:

iax:guest@conference.freeswitch.org/888

googletalk:conf+888@conference.freeswitch.org ([email]googletalk%3Aconf%2B888@conference.freeswitch.org[/email])<googletalk%3Aconf%2B888@conference.freeswitch.org ([email]googletalk%253Aconf%252B888@conference.freeswitch.org[/email])>
<googletalk%3Aconf%2B888@conference.freeswitch.org ([email]googletalk%253Aconf%252B888@conference.freeswitch.org[/email])<googletalk%253Aconf%252B888@conference.freeswitch.org ([email]googletalk%25253Aconf%25252B888@conference.freeswitch.org[/email])>
Quote:
Quote:

pstn:213-799-1400

--


Quote:
Quote:
"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 (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


--


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 (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:anthony_minessale@hotmail.com ([email]MSN%3Aanthony_minessale@hotmail.com[/email])
GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com ([email]PAYPAL%3Aanthony.minessale@gmail.com[/email])
IRC: irc.freenode.net #freeswitch

FreeSWITCH Developer Conference
sip:888@conference.freeswitch.org ([email]sip%3A888@conference.freeswitch.org[/email])
iax:guest@conference.freeswitch.org/888
googletalk:conf+888@conference.freeswitch.org ([email]googletalk%3Aconf%2B888@conference.freeswitch.org[/email])
pstn:213-799-1400
Back to top
klaus.teller at gmx.net
Guest





PostPosted: Mon Oct 27, 2008 3:28 pm    Post subject: [Freeswitch-users] DTMF Star Event Inconsistent Reply with quote

As far as i can tell, there is one single channel. Call is initiated via the socket interface to the extension 1003 and parked. Or does parking generate a second channel?

I'm using Xlite to listen on 1003 and for sending DTMF digits on the parked channel. The wireshark trace also shows one single call going from my computer to the Freeswitch box located on another computer. And in this trace, events are not duplicated.

I have updated and here is the new log information for 5** (DTMF-5, DTMF-*, DTMF-*)

Klaus.




Channel-State: CS_EXCHANGE_MEDIA
Channel-State-Number: 5
Channel-Name: sofia/internal/1003%40192.168.50.56%3A50436%3Brinstance%3D15d12d876df10b6e
Unique-ID: 59d0bc7a-a484-11dd-93a2-e949eaab0e91
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
Caller-Username: 0000000000
Caller-Dialplan: XML
Caller-Caller-ID-Name: FreeSWITCH
Caller-Caller-ID-Number: 0000000000
Caller-Network-Addr: 192.168.50.94
Caller-Destination-Number: 1003%40192.168.50.56%3A50436%3Brinstance%3D15d12d876df10b6e
Caller-Unique-ID: 59d0bc7a-a484-11dd-93a2-e949eaab0e91
Caller-Source: mod_sofia
Caller-Context: default
Caller-RDNIS: 1003
Caller-Channel-Name: sofia/internal/1003%40192.168.50.56%3A50436%3Brinstance%3D15d12d876df10b6e
Caller-Profile-Index: 1
Caller-Profile-Created-Time: 1225152424046802
Caller-Channel-Created-Time: 1225152424046802
Caller-Channel-Answered-Time: 1225152426068190
Caller-Channel-Progress-Time: 1225152424150082
Caller-Channel-Progress-Media-Time: 0
Caller-Channel-Hangup-Time: 0
Caller-Channel-Transfer-Time: 0
Caller-Screen-Bit: true
Caller-Privacy-Hide-Name: false
Caller-Privacy-Hide-Number: false
Other-Leg-Username: 0000000000
Other-Leg-Dialplan: XML
Other-Leg-Caller-ID-Name: FreeSWITCH
Other-Leg-Caller-ID-Number: 0000000000
Other-Leg-Network-Addr: 192.168.50.94
Other-Leg-Destination-Number: 1003
Other-Leg-Unique-ID: 59c4b77c-a484-11dd-93a2-e949eaab0e91
Other-Leg-Source: mod_sofia
Other-Leg-Context: default
Other-Leg-RDNIS: 1003
Other-Leg-Channel-Name: sofia/internal/0000000000%40192.168.50.94
Other-Leg-Profile-Created-Time: 0
Other-Leg-Channel-Created-Time: 0
Other-Leg-Channel-Answered-Time: 0
Other-Leg-Channel-Progress-Time: 0
Other-Leg-Channel-Progress-Media-Time: 0
Other-Leg-Channel-Hangup-Time: 0
Other-Leg-Channel-Transfer-Time: 0
Other-Leg-Screen-Bit: true
Other-Leg-Privacy-Hide-Name: false
Other-Leg-Privacy-Hide-Number: false
DTMF-Digit: 5
DTMF-Duration: 2000
Event-Name: DTMF
Core-UUID: dab20b9c-a483-11dd-93a2-e949eaab0e91
FreeSWITCH-Hostname: localhost.localdomain
FreeSWITCH-IPv4: 192.168.50.94
FreeSWITCH-IPv6: %3A%3A1
Event-Date-Local: 2008-10-27%2020%3A07%3A07
Event-Date-GMT: Tue,%2028%20Oct%202008%2000%3A07%3A07%20GMT
Event-Date-timestamp: 1225152427466400
Event-Calling-File: switch_channel.c
Event-Calling-Function: switch_channel_dequeue_dtmf
Event-Calling-Line-Number: 358



==========================================

Channel-State: CS_EXECUTE
Channel-State-Number: 4
Channel-Name: sofia/internal/1003%40192.168.50.94
Unique-ID: 59c475e6-a484-11dd-93a2-e949eaab0e91
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
Caller-Caller-ID-Name: FreeSWITCH
Caller-Caller-ID-Number: 0000000000
Caller-Destination-Number: 1003%40192.168.50.94
Caller-Unique-ID: 59c475e6-a484-11dd-93a2-e949eaab0e91
Caller-Source: src/switch_ivr_originate.c
Caller-Context: default
Caller-Channel-Name: sofia/internal/1003%40192.168.50.94
Caller-Profile-Index: 1
Caller-Profile-Created-Time: 1225152423965777
Caller-Channel-Created-Time: 1225152423965777
Caller-Channel-Answered-Time: 1225152426086251
Caller-Channel-Progress-Time: 1225152424066002
Caller-Channel-Progress-Media-Time: 1225152424066002
Caller-Channel-Hangup-Time: 0
Caller-Channel-Transfer-Time: 0
Caller-Screen-Bit: true
Caller-Privacy-Hide-Name: false
Caller-Privacy-Hide-Number: false
DTMF-Digit: 5
DTMF-Duration: 2080
Event-Name: DTMF
Core-UUID: dab20b9c-a483-11dd-93a2-e949eaab0e91
FreeSWITCH-Hostname: localhost.localdomain
FreeSWITCH-IPv4: 192.168.50.94
FreeSWITCH-IPv6: %3A%3A1
Event-Date-Local: 2008-10-27%2020%3A07%3A07
Event-Date-GMT: Tue,%2028%20Oct%202008%2000%3A07%3A07%20GMT
Event-Date-timestamp: 1225152427727626
Event-Calling-File: switch_channel.c
Event-Calling-Function: switch_channel_dequeue_dtmf
Event-Calling-Line-Number: 358

==================================================

Channel-State: CS_EXCHANGE_MEDIA
Channel-State-Number: 5
Channel-Name: sofia/internal/1003%40192.168.50.56%3A50436%3Brinstance%3D15d12d876df10b6e
Unique-ID: 59d0bc7a-a484-11dd-93a2-e949eaab0e91
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
Caller-Username: 0000000000
Caller-Dialplan: XML
Caller-Caller-ID-Name: FreeSWITCH
Caller-Caller-ID-Number: 0000000000
Caller-Network-Addr: 192.168.50.94
Caller-Destination-Number: 1003%40192.168.50.56%3A50436%3Brinstance%3D15d12d876df10b6e
Caller-Unique-ID: 59d0bc7a-a484-11dd-93a2-e949eaab0e91
Caller-Source: mod_sofia
Caller-Context: default
Caller-RDNIS: 1003
Caller-Channel-Name: sofia/internal/1003%40192.168.50.56%3A50436%3Brinstance%3D15d12d876df10b6e
Caller-Profile-Index: 1
Caller-Profile-Created-Time: 1225152424046802
Caller-Channel-Created-Time: 1225152424046802
Caller-Channel-Answered-Time: 1225152426068190
Caller-Channel-Progress-Time: 1225152424150082
Caller-Channel-Progress-Media-Time: 0
Caller-Channel-Hangup-Time: 0
Caller-Channel-Transfer-Time: 0
Caller-Screen-Bit: true
Caller-Privacy-Hide-Name: false
Caller-Privacy-Hide-Number: false
Other-Leg-Username: 0000000000
Other-Leg-Dialplan: XML
Other-Leg-Caller-ID-Name: FreeSWITCH
Other-Leg-Caller-ID-Number: 0000000000
Other-Leg-Network-Addr: 192.168.50.94
Other-Leg-Destination-Number: 1003
Other-Leg-Unique-ID: 59c4b77c-a484-11dd-93a2-e949eaab0e91
Other-Leg-Source: mod_sofia
Other-Leg-Context: default
Other-Leg-RDNIS: 1003
Other-Leg-Channel-Name: sofia/internal/0000000000%40192.168.50.94
Other-Leg-Profile-Created-Time: 0
Other-Leg-Channel-Created-Time: 0
Other-Leg-Channel-Answered-Time: 0
Other-Leg-Channel-Progress-Time: 0
Other-Leg-Channel-Progress-Media-Time: 0
Other-Leg-Channel-Hangup-Time: 0
Other-Leg-Channel-Transfer-Time: 0
Other-Leg-Screen-Bit: true
Other-Leg-Privacy-Hide-Name: false
Other-Leg-Privacy-Hide-Number: false
DTMF-Digit: *
DTMF-Duration: 2000
Event-Name: DTMF
Core-UUID: dab20b9c-a483-11dd-93a2-e949eaab0e91
FreeSWITCH-Hostname: localhost.localdomain
FreeSWITCH-IPv4: 192.168.50.94
FreeSWITCH-IPv6: %3A%3A1
Event-Date-Local: 2008-10-27%2020%3A07%3A08
Event-Date-GMT: Tue,%2028%20Oct%202008%2000%3A07%3A08%20GMT
Event-Date-timestamp: 1225152428873803
Event-Calling-File: switch_channel.c
Event-Calling-Function: switch_channel_dequeue_dtmf
Event-Calling-Line-Number: 358


===========================================



Channel-State: CS_EXCHANGE_MEDIA
Channel-State-Number: 5
Channel-Name: sofia/internal/1003%40192.168.50.56%3A50436%3Brinstance%3D15d12d876df10b6e
Unique-ID: 59d0bc7a-a484-11dd-93a2-e949eaab0e91
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
Caller-Username: 0000000000
Caller-Dialplan: XML
Caller-Caller-ID-Name: FreeSWITCH
Caller-Caller-ID-Number: 0000000000
Caller-Network-Addr: 192.168.50.94
Caller-Destination-Number: 1003%40192.168.50.56%3A50436%3Brinstance%3D15d12d876df10b6e
Caller-Unique-ID: 59d0bc7a-a484-11dd-93a2-e949eaab0e91
Caller-Source: mod_sofia
Caller-Context: default
Caller-RDNIS: 1003
Caller-Channel-Name: sofia/internal/1003%40192.168.50.56%3A50436%3Brinstance%3D15d12d876df10b6e
Caller-Profile-Index: 1
Caller-Profile-Created-Time: 1225152424046802
Caller-Channel-Created-Time: 1225152424046802
Caller-Channel-Answered-Time: 1225152426068190
Caller-Channel-Progress-Time: 1225152424150082
Caller-Channel-Progress-Media-Time: 0
Caller-Channel-Hangup-Time: 0
Caller-Channel-Transfer-Time: 0
Caller-Screen-Bit: true
Caller-Privacy-Hide-Name: false
Caller-Privacy-Hide-Number: false
Other-Leg-Username: 0000000000
Other-Leg-Dialplan: XML
Other-Leg-Caller-ID-Name: FreeSWITCH
Other-Leg-Caller-ID-Number: 0000000000
Other-Leg-Network-Addr: 192.168.50.94
Other-Leg-Destination-Number: 1003
Other-Leg-Unique-ID: 59c4b77c-a484-11dd-93a2-e949eaab0e91
Other-Leg-Source: mod_sofia
Other-Leg-Context: default
Other-Leg-RDNIS: 1003
Other-Leg-Channel-Name: sofia/internal/0000000000%40192.168.50.94
Other-Leg-Profile-Created-Time: 0
Other-Leg-Channel-Created-Time: 0
Other-Leg-Channel-Answered-Time: 0
Other-Leg-Channel-Progress-Time: 0
Other-Leg-Channel-Progress-Media-Time: 0
Other-Leg-Channel-Hangup-Time: 0
Other-Leg-Channel-Transfer-Time: 0
Other-Leg-Screen-Bit: true
Other-Leg-Privacy-Hide-Name: false
Other-Leg-Privacy-Hide-Number: false
DTMF-Digit: *
DTMF-Duration: 2000
Event-Name: DTMF
Core-UUID: dab20b9c-a483-11dd-93a2-e949eaab0e91
FreeSWITCH-Hostname: localhost.localdomain
FreeSWITCH-IPv4: 192.168.50.94
FreeSWITCH-IPv6: %3A%3A1
Event-Date-Local: 2008-10-27%2020%3A07%3A10
Event-Date-GMT: Tue,%2028%20Oct%202008%2000%3A07%3A10%20GMT
Event-Date-timestamp: 1225152430081562
Event-Calling-File: switch_channel.c
Event-Calling-Function: switch_channel_dequeue_dtmf
Event-Calling-Line-Number: 358


================================================

Channel-State: CS_EXECUTE
Channel-State-Number: 4
Channel-Name: sofia/internal/1003%40192.168.50.94
Unique-ID: 59c475e6-a484-11dd-93a2-e949eaab0e91
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
Caller-Caller-ID-Name: FreeSWITCH
Caller-Caller-ID-Number: 0000000000
Caller-Destination-Number: 1003%40192.168.50.94
Caller-Unique-ID: 59c475e6-a484-11dd-93a2-e949eaab0e91
Caller-Source: src/switch_ivr_originate.c
Caller-Context: default
Caller-Channel-Name: sofia/internal/1003%40192.168.50.94
Caller-Profile-Index: 1
Caller-Profile-Created-Time: 1225152423965777
Caller-Channel-Created-Time: 1225152423965777
Caller-Channel-Answered-Time: 1225152426086251
Caller-Channel-Progress-Time: 1225152424066002
Caller-Channel-Progress-Media-Time: 1225152424066002
Caller-Channel-Hangup-Time: 0
Caller-Channel-Transfer-Time: 0
Caller-Screen-Bit: true
Caller-Privacy-Hide-Name: false
Caller-Privacy-Hide-Number: false
DTMF-Digit: *
DTMF-Duration: 2080
Event-Name: DTMF
Core-UUID: dab20b9c-a483-11dd-93a2-e949eaab0e91
FreeSWITCH-Hostname: localhost.localdomain
FreeSWITCH-IPv4: 192.168.50.94
FreeSWITCH-IPv6: %3A%3A1
Event-Date-Local: 2008-10-27%2020%3A07%3A10
Event-Date-GMT: Tue,%2028%20Oct%202008%2000%3A07%3A10%20GMT
Event-Date-timestamp: 1225152430335702
Event-Calling-File: switch_channel.c
Event-Calling-Function: switch_channel_dequeue_dtmf
Event-Calling-Line-Number: 358





-------- Original-Nachricht --------
Quote:
Datum: Mon, 27 Oct 2008 14:04:14 -0500
Von: "Anthony Minessale" <anthony.minessale@gmail.com>
An: freeswitch-users@lists.freeswitch.org
Betreff: Re: [Freeswitch-users] DTMF Star Event Inconsistent

Quote:
there are 2 channels there?

one is ulaw and the other is g722 they are both getting a dtmf event?

also this output suggests older code.
can you update to trunk before testing anymore?

On Mon, Oct 27, 2008 at 1:32 PM, Klaus Teller <klaus.teller@gmx.net>
wrote:

Quote:
Interesting, thanks for pointing that. I would have thought that all
events
Quote:
related to a call would have the same Unique-ID. Now I'm even more
confused!
Quote:


regards,

Klaus


-------- Original-Nachricht --------
Quote:
Datum: Mon, 27 Oct 2008 14:22:31 -0400
Von: "Anthony Knight" <tntknight@gmail.com>
An: freeswitch-users@lists.freeswitch.org
Betreff: Re: [Freeswitch-users] DTMF Star Event Inconsistent

Quote:
I'm not an authority on this, but I have spotted some things that
might
Quote:
Quote:
help
you figure this out

Your events show up with different unique-ids - Unique-ID:
34b83622-a473-11dd-8207-2b46fcff01af
and Unique-ID: 34adac7a-a473-11dd-8207-2b46fcff01af
You should only be looking for events on only one unique-id.
If each ID is a leg of the call (Not sure about this) It also looks
like
Quote:
Quote:
each leg has a different sampling rate ie PCMU and G722.

Hope this is helpful

Tony Knight

On Mon, Oct 27, 2008 at 2:08 PM, Klaus Teller <klaus.teller@gmx.net>
wrote:

Quote:
Thanks. I am not bridging any call. Calls are originated via the
socket
Quote:
Quote:
Quote:
interface to the extension 1003. And for the same call, all digits
except
Quote:
star will produce two events while star will produce one event
sometimes
Quote:
and
Quote:
two events some other times in the same call.

Here are for instance events i got in one single call, pressing 5**
(five,
Quote:
star, star). You see that 5 produced two events, the first star
produced
Quote:
one
Quote:
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
Quote:
Quote:
Quote:
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
Quote:
Quote:
Quote:
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
Quote:
Quote:
Quote:
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
Quote:
Quote:
Quote:
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 --------
Quote:
Datum: Mon, 27 Oct 2008 12:16:34 -0500
Von: "Anthony Minessale" <anthony.minessale@gmail.com>
An: freeswitch-users@lists.freeswitch.org
Betreff: Re: [Freeswitch-users] DTMF Star Event Inconsistent

Quote:
if this is a bridged call you will get one on each leg as the dtmf
passes
Quote:
Quote:
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@gmx.net
Quote:
Quote:

Quote:
Quote:
wrote:

Quote:
I do indeed look for the Event-Name attribute. But since for a
single
Quote:
Quote:
DTMF
Quote:
digit two events are received from Freeswitch (with Event-Name:
DTMF) ,
Quote:
Quote:
i
Quote:
need to differentiate them somehow such that one is processed
and
Quote:
Quote:
the
Quote:
Quote:
other
Quote:
ignored. The differentiation pattern i found is the channel
state
Quote:
Quote:
Quote:
Quote:
Quote:
(CS_EXCHANGE_MEDIA or CS_EXECUTE state). But then, DTMF-star
doesn't
Quote:
Quote:
Quote:
always
Quote:
have these two states.

Klaus.


-------- Original-Nachricht --------
Quote:
Datum: Mon, 27 Oct 2008 11:19:18 -0500
Von: "Anthony Minessale" <anthony.minessale@gmail.com>
An: freeswitch-users@lists.freeswitch.org
Betreff: Re: [Freeswitch-users] DTMF Star Event Inconsistent

Quote:
you should be looking for the DTMF event and not reacting to
any
Quote:
Quote:
Quote:
Quote:
others
Quote:
Quote:

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@gmx.net>
Quote:
Quote:
Quote:
Quote:
wrote:

Quote:
Hi,

I'm calling a registered soft phone (ext. 1003) via the
event
Quote:
Quote:
Quote:
socket
Quote:
Quote:
Quote:
Quote:
interface. That is, on one side i have some Java code
connecting
Quote:
to
Quote:
Quote:
the
Quote:
Quote:
Quote:
Freeswitch event socket interface and placing calls and on
the
Quote:
Quote:
Quote:
other
Quote:
Quote:
Quote:
hand i
Quote:
have the soft phone registered to Freeswitch and awaiting
for
Quote:
Quote:
Quote:
calls.
Quote:
Quote:
Quote:
Quote:


Now, when i get a call on the soft phone, i press a sequence
of
Quote:
Quote:
Quote:
DTMF
Quote:
Quote:
Quote:
Quote:
digits. The sequence of DTMF digits is intended to be read
by
Quote:
Quote:
the
Quote:
Quote:
Java
Quote:
Quote:
code
Quote:
via the socket interface. Most things run pretty smoothly: i
can
Quote:
Quote:
Quote:
place
Quote:
Quote:
Quote:
calls, i can send DTMFs, i can receive them on the other
hand.
Quote:
Quote:
Quote:
Quote:
Quote:
Quote:
Quote:

The inconsistent behavior i'm seeing is following. For
DTMF-0
Quote:
to
Quote:
Quote:
Quote:
Quote:
DTMF-9,
Quote:
Quote:
and DTMF-#, i receive two events via the socket interface.
The
Quote:
Quote:
Quote:
first
Quote:
Quote:
one
Quote:
is
Quote:
in CS_EXCHANGE_MEDIA state and the second is in CS_EXECUTE
state.
Quote:
Quote:
Yet
Quote:
Quote:
for
Quote:
DTMF-* i receive inconsistent number of events: sometimes
only
Quote:
Quote:
one
Quote:
Quote:
Quote:
Quote:
single
Quote:
event in state CS_EXCHANGE_MEDIA sometimes two events as in
the
Quote:
Quote:
Quote:
case
Quote:
of
Quote:
Quote:
Quote:
other DTMF digits.

It seems there is a pattern in this "inconsistency". The odd
DTMF-*
Quote:
Quote:
Quote:
Quote:
(first,
Quote:
third, fifth, etc.) generate only one CS_EXCHANGE_MEDIA
event
Quote:
Quote:
while
Quote:
Quote:
the
Quote:
Quote:
even
Quote:
(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
Quote:
Quote:
Quote:
Quote:
Quote:
Quote:
Quote:
UNSUBSCRIBE:
http://lists.freeswitch.org/mailman/options/freeswitch-users
Quote:
Quote:
http://www.freeswitch.org




--
Anthony Minessale II

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

AIM: anthm

MSN:anthony_minessale@hotmail.com
<MSN%3Aanthony_minessale@hotmail.com><
MSN%3Aanthony_minessale@hotmail.com<MSN%253Aanthony_minessale@hotmail.com>
<MSN%3Aanthony_minessale@hotmail.com<MSN%253Aanthony_minessale@hotmail.com>
<MSN%253Aanthony_minessale@hotmail.com<MSN%25253Aanthony_minessale@hotmail.com>
Quote:
Quote:

Quote:
Quote:
<


MSN%3Aanthony_minessale@hotmail.com<MSN%253Aanthony_minessale@hotmail.com>
<MSN%253Aanthony_minessale@hotmail.com<MSN%25253Aanthony_minessale@hotmail.com>
<MSN%253Aanthony_minessale@hotmail.com<MSN%25253Aanthony_minessale@hotmail.com>
<MSN%25253Aanthony_minessale@hotmail.com<MSN%2525253Aanthony_minessale@hotmail.com>
GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com<PAYPAL%3Aanthony.minessale@gmail.com>
<PAYPAL%3Aanthony.minessale@gmail.com<PAYPAL%253Aanthony.minessale@gmail.com>
<PAYPAL%3Aanthony.minessale@gmail.com<PAYPAL%253Aanthony.minessale@gmail.com>
<PAYPAL%253Aanthony.minessale@gmail.com<PAYPAL%25253Aanthony.minessale@gmail.com>
<PAYPAL%3Aanthony.minessale@gmail.com<PAYPAL%253Aanthony.minessale@gmail.com>
<PAYPAL%253Aanthony.minessale@gmail.com<PAYPAL%25253Aanthony.minessale@gmail.com>
<PAYPAL%253Aanthony.minessale@gmail.com<PAYPAL%25253Aanthony.minessale@gmail.com>
<PAYPAL%25253Aanthony.minessale@gmail.com<PAYPAL%2525253Aanthony.minessale@gmail.com>
Quote:
Quote:

Quote:
Quote:

Quote:
Quote:

IRC: irc.freenode.net #freeswitch

FreeSWITCH Developer Conference

sip:888@conference.freeswitch.org
<sip%3A888@conference.freeswitch.org><
sip%3A888@conference.freeswitch.org<sip%253A888@conference.freeswitch.org>
<sip%3A888@conference.freeswitch.org<sip%253A888@conference.freeswitch.org>
<sip%253A888@conference.freeswitch.org<sip%25253A888@conference.freeswitch.org>
Quote:
Quote:

Quote:
Quote:
<


sip%3A888@conference.freeswitch.org<sip%253A888@conference.freeswitch.org>
<sip%253A888@conference.freeswitch.org<sip%25253A888@conference.freeswitch.org>
<sip%253A888@conference.freeswitch.org<sip%25253A888@conference.freeswitch.org>
<sip%25253A888@conference.freeswitch.org<sip%2525253A888@conference.freeswitch.org>
Quote:
Quote:

Quote:
Quote:

Quote:
Quote:

iax:guest@conference.freeswitch.org/888



googletalk:conf+888@conference.freeswitch.org<googletalk%3Aconf%2B888@conference.freeswitch.org>
<googletalk%3Aconf%2B888@conference.freeswitch.org<googletalk%253Aconf%252B888@conference.freeswitch.org>
<googletalk%3Aconf%2B888@conference.freeswitch.org<googletalk%253Aconf%252B888@conference.freeswitch.org>
<googletalk%253Aconf%252B888@conference.freeswitch.org<googletalk%25253Aconf%25252B888@conference.freeswitch.org>
<googletalk%3Aconf%2B888@conference.freeswitch.org<googletalk%253Aconf%252B888@conference.freeswitch.org>
<googletalk%253Aconf%252B888@conference.freeswitch.org<googletalk%25253Aconf%25252B888@conference.freeswitch.org>
<googletalk%253Aconf%252B888@conference.freeswitch.org<googletalk%25253Aconf%25252B888@conference.freeswitch.org>
<googletalk%25253Aconf%25252B888@conference.freeswitch.org<googletalk%2525253Aconf%2525252B888@conference.freeswitch.org>
Quote:
Quote:

Quote:
Quote:

Quote:
Quote:

pstn:213-799-1400

--
Psssst! Schon vom neuen GMX MultiMessenger gehört? Der kann`s
mit
Quote:
Quote:
Quote:
Quote:
allen:
Quote:
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
Quote:
Quote:
http://www.freeswitch.org




--
Anthony Minessale II

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

AIM: anthm

MSN:anthony_minessale@hotmail.com<MSN%3Aanthony_minessale@hotmail.com>
<MSN%3Aanthony_minessale@hotmail.com<MSN%253Aanthony_minessale@hotmail.com>
Quote:
Quote:
<

MSN%3Aanthony_minessale@hotmail.com<MSN%253Aanthony_minessale@hotmail.com>
<MSN%253Aanthony_minessale@hotmail.com<MSN%25253Aanthony_minessale@hotmail.com>
GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com<PAYPAL%3Aanthony.minessale@gmail.com>
<PAYPAL%3Aanthony.minessale@gmail.com<PAYPAL%253Aanthony.minessale@gmail.com>
<PAYPAL%3Aanthony.minessale@gmail.com<PAYPAL%253Aanthony.minessale@gmail.com>
<PAYPAL%253Aanthony.minessale@gmail.com<PAYPAL%25253Aanthony.minessale@gmail.com>
Quote:
Quote:

Quote:
Quote:

IRC: irc.freenode.net #freeswitch

FreeSWITCH Developer Conference

sip:888@conference.freeswitch.org<sip%3A888@conference.freeswitch.org>
<sip%3A888@conference.freeswitch.org<sip%253A888@conference.freeswitch.org>
Quote:
Quote:
<

sip%3A888@conference.freeswitch.org<sip%253A888@conference.freeswitch.org>
<sip%253A888@conference.freeswitch.org<sip%25253A888@conference.freeswitch.org>
Quote:
Quote:

Quote:
Quote:

iax:guest@conference.freeswitch.org/888


googletalk:conf+888@conference.freeswitch.org<googletalk%3Aconf%2B888@conference.freeswitch.org>
<googletalk%3Aconf%2B888@conference.freeswitch.org<googletalk%253Aconf%252B888@conference.freeswitch.org>
<googletalk%3Aconf%2B888@conference.freeswitch.org<googletalk%253Aconf%252B888@conference.freeswitch.org>
<googletalk%253Aconf%252B888@conference.freeswitch.org<googletalk%25253Aconf%25252B888@conference.freeswitch.org>
Quote:
Quote:

Quote:
Quote:

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
Quote:
Quote:
http://www.freeswitch.org


--
Psssst! Schon vom neuen GMX MultiMessenger gehört? Der kann`s mit
allen:
Quote:
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:anthony_minessale@hotmail.com <MSN%3Aanthony_minessale@hotmail.com>
GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com<PAYPAL%3Aanthony.minessale@gmail.com>
IRC: irc.freenode.net #freeswitch

FreeSWITCH Developer Conference
sip:888@conference.freeswitch.org <sip%3A888@conference.freeswitch.org>
iax:guest@conference.freeswitch.org/888
googletalk:conf+888@conference.freeswitch.org<googletalk%3Aconf%2B888@conference.freeswitch.org>
pstn:213-799-1400

--
GMX Download-Spiele: Preizsturz! Alle Puzzle-Spiele Deluxe über 60% billiger.
http://games.entertainment.gmx.net/de/entertainment/games/download/puzzle/index.html

_______________________________________________
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
Back to top
brian at freeswitch.org
Guest





PostPosted: Mon Oct 27, 2008 3:42 pm    Post subject: [Freeswitch-users] DTMF Star Event Inconsistent Reply with quote

Are you using inband dtmf anywhere in this mix?

/b

On Oct 27, 2008, at 3:13 PM, Klaus Teller wrote:

Quote:
As far as i can tell, there is one single channel. Call is
initiated via the socket interface to the extension 1003 and parked.
Or does parking generate a second channel?

I'm using Xlite to listen on 1003 and for sending DTMF digits on the
parked channel. The wireshark trace also shows one single call going
from my computer to the Freeswitch box located on another computer.
And in this trace, events are not duplicated.

I have updated and here is the new log information for 5** (DTMF-5,
DTMF-*, DTMF-*)

Klaus.



_______________________________________________
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
Back to top
klaus.teller at gmx.net
Guest





PostPosted: Mon Oct 27, 2008 3:46 pm    Post subject: [Freeswitch-users] DTMF Star Event Inconsistent Reply with quote

I have the default Freeswitch settings. That is, Freeswitch as checked out from trunk (with event_socket.conf.xml changed to allow remote connections).

I would thus think that this is RFC 2833. Also Wireshark is showing the DTMF gigits being sent as telephone-event which i guess sugesst that it's RFC 2833.

Klaus.

-------- Original-Nachricht --------
Quote:
Datum: Mon, 27 Oct 2008 15:17:52 -0500
Von: Brian West <brian@freeswitch.org>
An: freeswitch-users@lists.freeswitch.org
Betreff: Re: [Freeswitch-users] DTMF Star Event Inconsistent

Quote:
Are you using inband dtmf anywhere in this mix?

/b

On Oct 27, 2008, at 3:13 PM, Klaus Teller wrote:

Quote:
As far as i can tell, there is one single channel. Call is
initiated via the socket interface to the extension 1003 and parked.
Or does parking generate a second channel?

I'm using Xlite to listen on 1003 and for sending DTMF digits on the
parked channel. The wireshark trace also shows one single call going
from my computer to the Freeswitch box located on another computer.
And in this trace, events are not duplicated.

I have updated and here is the new log information for 5** (DTMF-5,
DTMF-*, DTMF-*)

Klaus.



_______________________________________________
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

--
Der GMX SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen!
Ideal für Modem und ISDN: http://www.gmx.net/de/go/smartsurfer

_______________________________________________
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
Back to top
anthony.minessale at g...
Guest





PostPosted: Mon Oct 27, 2008 4:13 pm    Post subject: [Freeswitch-users] DTMF Star Event Inconsistent Reply with quote

you clearly have 2 channels here.

sofia/internal/1003@192.168.50.94 (1003@192.168.50.94)
sofia/internal/1003@192.168.50.56:50436;rinstance=15d12d876df10b6e

if 1003 is a local user you should be originating with and @ try the % instead

sofia/internal/1003%192.168.50.94

otherwise you are making a looped call over sip back to your own box.

if you are using the default config you can also do

user/1003




On Mon, Oct 27, 2008 at 3:32 PM, Klaus Teller <klaus.teller@gmx.net (klaus.teller@gmx.net)> wrote:
Quote:
I have the default Freeswitch settings. That is, Freeswitch as checked out from trunk (with event_socket.conf.xml changed to allow remote connections).

I would thus think that this is RFC 2833. Also Wireshark is showing the DTMF gigits being sent as telephone-event which i guess sugesst that it's RFC 2833.

Klaus.

-------- Original-Nachricht --------
Quote:
Datum: Mon, 27 Oct 2008 15:17:52 -0500
Von: Brian West <brian@freeswitch.org (brian@freeswitch.org)>
An: freeswitch-users@lists.freeswitch.org (freeswitch-users@lists.freeswitch.org)
Betreff: Re: [Freeswitch-users] DTMF Star Event Inconsistent



Quote:
Are you using inband dtmf anywhere in this mix?

/b

On Oct 27, 2008, at 3:13 PM, Klaus Teller wrote:

Quote:
As far as i can tell, there is one single channel. Call is
initiated via the socket interface to the extension 1003 and parked.
Or does parking generate a second channel?

I'm using Xlite to listen on 1003 and for sending DTMF digits on the
parked channel. The wireshark trace also shows one single call going
from my computer to the Freeswitch box located on another computer.
And in this trace, events are not duplicated.

I have updated and here is the new log information for 5** (DTMF-5,
DTMF-*, DTMF-*)

Klaus.



_______________________________________________
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org (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



--
Der GMX SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen!
Ideal für Modem und ISDN: http://www.gmx.net/de/go/smartsurfer


_______________________________________________
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org (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:anthony_minessale@hotmail.com ([email]MSN%3Aanthony_minessale@hotmail.com[/email])
GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com ([email]PAYPAL%3Aanthony.minessale@gmail.com[/email])
IRC: irc.freenode.net #freeswitch

FreeSWITCH Developer Conference
sip:888@conference.freeswitch.org ([email]sip%3A888@conference.freeswitch.org[/email])
iax:guest@conference.freeswitch.org/888
googletalk:conf+888@conference.freeswitch.org ([email]googletalk%3Aconf%2B888@conference.freeswitch.org[/email])
pstn:213-799-1400
Back to top
klaus.teller at gmx.net
Guest





PostPosted: Tue Oct 28, 2008 8:03 am    Post subject: [Freeswitch-users] DTMF Star Event Inconsistent Reply with quote

Special thanks. Thatw as indeed the problem.


Klaus.
-------- Original-Nachricht --------
Quote:
Datum: Mon, 27 Oct 2008 16:01:12 -0500
Von: "Anthony Minessale" <anthony.minessale@gmail.com>
An: freeswitch-users@lists.freeswitch.org
Betreff: Re: [Freeswitch-users] DTMF Star Event Inconsistent

Quote:
you clearly have 2 channels here.

sofia/internal/1003@192.168.50.94
sofia/internal/1003@192.168.50.56:50436;rinstance=15d12d876df10b6e

if 1003 is a local user you should be originating with and @ try the %
instead

sofia/internal/1003%192.168.50.94

otherwise you are making a looped call over sip back to your own box.

if you are using the default config you can also do

user/1003




On Mon, Oct 27, 2008 at 3:32 PM, Klaus Teller <klaus.teller@gmx.net>
wrote:

Quote:
I have the default Freeswitch settings. That is, Freeswitch as checked
out
Quote:
from trunk (with event_socket.conf.xml changed to allow remote
connections).
Quote:

I would thus think that this is RFC 2833. Also Wireshark is showing the
DTMF gigits being sent as telephone-event which i guess sugesst that
it's
Quote:
RFC 2833.

Klaus.

-------- Original-Nachricht --------
Quote:
Datum: Mon, 27 Oct 2008 15:17:52 -0500
Von: Brian West <brian@freeswitch.org>
An: freeswitch-users@lists.freeswitch.org
Betreff: Re: [Freeswitch-users] DTMF Star Event Inconsistent

Quote:
Are you using inband dtmf anywhere in this mix?

/b

On Oct 27, 2008, at 3:13 PM, Klaus Teller wrote:

Quote:
As far as i can tell, there is one single channel. Call is
initiated via the socket interface to the extension 1003 and parked.
Or does parking generate a second channel?

I'm using Xlite to listen on 1003 and for sending DTMF digits on the
parked channel. The wireshark trace also shows one single call going
from my computer to the Freeswitch box located on another computer.
And in this trace, events are not duplicated.

I have updated and here is the new log information for 5** (DTMF-5,
DTMF-*, DTMF-*)

Klaus.



_______________________________________________
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
Quote:
Quote:
http://www.freeswitch.org

--
Der GMX SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen!
Ideal für Modem und ISDN: http://www.gmx.net/de/go/smartsurfer

_______________________________________________
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:anthony_minessale@hotmail.com <MSN%3Aanthony_minessale@hotmail.com>
GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com<PAYPAL%3Aanthony.minessale@gmail.com>
IRC: irc.freenode.net #freeswitch

FreeSWITCH Developer Conference
sip:888@conference.freeswitch.org <sip%3A888@conference.freeswitch.org>
iax:guest@conference.freeswitch.org/888
googletalk:conf+888@conference.freeswitch.org<googletalk%3Aconf%2B888@conference.freeswitch.org>
pstn:213-799-1400

--
Ist Ihr Browser Vista-kompatibel? Jetzt die neuesten
Browser-Versionen downloaden: http://www.gmx.net/de/go/browser

_______________________________________________
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
Back to top
Display posts from previous:   
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> freeSWITCH Users All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group

VoiceMeUp - Corporate & Wholesale VoIP Services