[Freeswitch-users] Reading DTMF via Event Socket

David Knell dave at 3c.co.uk
Thu Sep 25 06:49:04 PDT 2008


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

> 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 --------
>> Datum: Thu, 25 Sep 2008 06:33:07 +0100
>> Von: David Knell <dave at 3c.co.uk>
>> An: freeswitch-users at lists.freeswitch.org
>> Betreff: 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
>>> 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 at lists.freeswitch.org
>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
>> http://www.freeswitch.org
>
> -- 
> Psssst! Schon vom neuen GMX MultiMessenger gehört? Der kann`s mit  
> allen: http://www.gmx.net/de/go/multimessenger
>
> _______________________________________________
> Freeswitch-users mailing list
> Freeswitch-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>





More information about the FreeSWITCH-users mailing list