[Freeswitch-users] Aalternative to PlayAndGetDigits

kthofer karl-theo_hofer at inteli-sim.com
Sat Jan 17 01:57:48 MSK 2015


Hi Michael

Most likely you don't want to be running that inside an event handler and blocking there.

thats exactly we like to avoid!!

How can we avoid it
we used play and get digits to start and stop voice mail announcements
but stopped it and did start working with
dtmf events and $con->execute("playback"...
but this has issues because  we can not break synchronety in ESL
so we are thinking of going back to play and get digits or do you have 
some other alternative?





With best regards

Karl Theo Hofer

Michael Jerris skrev den 2015-01-16 23:44:
> Can you post a small example of exactly what you are doing.  Most likely you don't want to be running that inside an event handler and blocking there.
>
>> On Jan 16, 2015, at 5:24 PM, kthofer <karl-theo_hofer at inteli-sim.com> wrote:
>>
>> Hi There
>> guess i lost some text somewhere, sorry.
>>
>> If you are in a event for instance channel answer
>> there you do play and get digits.
>>
>>
>> Play and get digits blocks and will not release the channel answer event
>> but listen for further DTMF signals.
>>
>> when play and get digits is finished, the channel answer event will get
>> released
>> and all dtmf events which were blocked in play and get digits
>> will be received.
>>
>> can we get play and get digits
>> to not generate events for the key presses that play and get digits
>> already handled.
>>
>>
>>
>> With best regards
>>
>> Karl Theo Hofer
>>
>> Michael Jerris skrev den 2015-01-16 23:00:
>>> I don't understand the statement about the dtmf events getting released.
>>>
>>>> On Jan 16, 2015, at 4:55 PM, kthofer <karl-theo_hofer at inteli-sim.com> wrote:
>>>>
>>>> HI There
>>>>
>>>> does someone of you have a alternative to the play and get digit function
>>>> problem is that all dtmf events are released.
>>>>
>>>> which kills our scripts.
>>>>
>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
>
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://confluence.freeswitch.org
> http://www.cluecon.com
>
> 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




Join us at ClueCon 2016 Aug 8-12, 2016
More information about the FreeSWITCH-users mailing list