Sponsor: VoiceMeUp - Corporate & Wholesale VoIP Services

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

[Freeswitch-users] Reading DTMF via Event Socket


 
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: Tue Sep 23, 2008 6:47 am    Post subject: [Freeswitch-users] Reading DTMF via Event Socket Reply with quote

Hi,

Please help:

1) How do i send DTMF via the socket events interface?
2) It seems playing audios (playback) is non-blocking. Is this the intended behavior? How can i make it blocking? Alternately, how can i know when the audio is completed?


Thanks,
Klaus.
--
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
dave at 3c.co.uk
Guest





PostPosted: Thu Sep 25, 2008 12:34 am    Post subject: [Freeswitch-users] Reading DTMF via Event Socket Reply with quote

Hi Klaus,

1. Use the Gentones command - details here:
http://wiki.freeswitch.org/wiki/Misc._Dialplan_Tools_gentones

2. When you issue a playback command, you'll get two events in the future:
- CHANNEL_EXECUTE for the playback application when the playback starts;
- CHANNEL_EXECUTE_COMPLETE when it ends.

Cheers --

Dave
Quote:
Hi,

Please help:

1) How do i send DTMF via the socket events interface?
2) It seems playing audios (playback) is non-blocking. Is this the intended behavior? How can i make it blocking? Alternately, how can i know when the audio is completed?


Thanks,
Klaus.



--
David Knell, Director, 3C Limited
T: 020 8114 8901 F: 020 3002 7257 M: 001 415 630 3031
http://www.3c.co.uk


_______________________________________________
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: Thu Sep 25, 2008 8:33 am    Post subject: [Freeswitch-users] Reading DTMF via Event Socket Reply with quote

Hi Dave,

Thanks for your input. The first question was meant to ask how to read DTMFs (not write) from the event socket interface. Sorry for the confusion. Any idea?

I will try the solution to the second question and let you know.

Thanbks again,
Klaus.


-------- Original-Nachricht --------
Quote:
Datum: Thu, 25 Sep 2008 06:33:07 +0100
Von: David Knell <dave@3c.co.uk>
An: freeswitch-users@lists.freeswitch.org
Betreff: Re: [Freeswitch-users] Reading DTMF via Event Socket

Quote:
Hi Klaus,

1. Use the Gentones command - details here:
http://wiki.freeswitch.org/wiki/Misc._Dialplan_Tools_gentones

2. When you issue a playback command, you'll get two events in the
future:
- CHANNEL_EXECUTE for the playback application when the playback starts;
- CHANNEL_EXECUTE_COMPLETE when it ends.

Cheers --

Dave
Quote:
Hi,

Please help:

1) How do i send DTMF via the socket events interface?
2) It seems playing audios (playback) is non-blocking. Is this the
intended behavior? How can i make it blocking? Alternately, how can i know when
the audio is completed?
Quote:


Thanks,
Klaus.



--
David Knell, Director, 3C Limited
T: 020 8114 8901 F: 020 3002 7257 M: 001 415 630 3031
http://www.3c.co.uk


_______________________________________________
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
dave at 3c.co.uk
Guest





PostPosted: Thu Sep 25, 2008 8:51 am    Post subject: [Freeswitch-users] Reading DTMF via Event Socket Reply with quote

Hi Klaus,

Sorry - I misunderstood. Each time a tone comes in, you'll get a DTMF
event come in, and you can
find the DTMF in a thing called digit-string in the event.

Cheers --

Dave

Quote:
Hi Dave,

Thanks for your input. The first question was meant to ask how to
read DTMFs (not write) from the event socket interface. Sorry for
the confusion. Any idea?

I will try the solution to the second question and let you know.

Thanbks again,
Klaus.


-------- Original-Nachricht --------
Quote:
Datum: Thu, 25 Sep 2008 06:33:07 +0100
Von: David Knell <dave@3c.co.uk>
An: freeswitch-users@lists.freeswitch.org
Betreff: Re: [Freeswitch-users] Reading DTMF via Event Socket

Quote:
Hi Klaus,

1. Use the Gentones command - details here:
http://wiki.freeswitch.org/wiki/Misc._Dialplan_Tools_gentones

2. When you issue a playback command, you'll get two events in the
future:
- CHANNEL_EXECUTE for the playback application when the playback
starts;
- CHANNEL_EXECUTE_COMPLETE when it ends.

Cheers --

Dave
Quote:
Hi,

Please help:

1) How do i send DTMF via the socket events interface?
2) It seems playing audios (playback) is non-blocking. Is this the
intended behavior? How can i make it blocking? Alternately, how
can i know when
the audio is completed?
Quote:


Thanks,
Klaus.



--
David Knell, Director, 3C Limited
T: 020 8114 8901 F: 020 3002 7257 M: 001 415 630 3031
http://www.3c.co.uk


_______________________________________________
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



_______________________________________________
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
cesar at auronix.com
Guest





PostPosted: Thu Sep 25, 2008 10:26 am    Post subject: [Freeswitch-users] Reading DTMF via Event Socket Reply with quote

Hi,

For 1. You could also use uuid_send_dtmf <uuid> <dtmf_data>

Bye.

Cesar Cepeda.

Quote:
-----Mensaje original-----
De: freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-
users-bounces@lists.freeswitch.org] En nombre de David Knell
Enviado el: Thursday, September 25, 2008 12:33 AM
Para: freeswitch-users@lists.freeswitch.org
Asunto: Re: [Freeswitch-users] Reading DTMF via Event Socket

Hi Klaus,

1. Use the Gentones command - details here:
http://wiki.freeswitch.org/wiki/Misc._Dialplan_Tools_gentones

2. When you issue a playback command, you'll get two events in the
future:
- CHANNEL_EXECUTE for the playback application when the playback
starts;
- CHANNEL_EXECUTE_COMPLETE when it ends.

Cheers --

Dave
Quote:
Hi,

Please help:

1) How do i send DTMF via the socket events interface?
2) It seems playing audios (playback) is non-blocking. Is this the
intended behavior? How can i make it blocking? Alternately, how can i
know when the audio is completed?
Quote:


Thanks,
Klaus.



--
David Knell, Director, 3C Limited
T: 020 8114 8901 F: 020 3002 7257 M: 001 415 630 3031
http://www.3c.co.uk


_______________________________________________
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


_______________________________________________
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