[Freeswitch-users] ESL & DTMF
Antonio Teixeira
eagle.antonio at gmail.com
Thu Apr 28 20:34:17 MSD 2011
I also remembered that i can always do this with play_get_digits and
silence_stream.
:D
Going to try that tomorrow *
*
2011/4/28 Antonio Teixeira <eagle.antonio at gmail.com>
> Hello Michael.
>
> Yes we are doing ivr stuf using sync , mainly because we have some routines
> that require step by step and timing processing , like PIN verification ,
> Security Clearance , etc.
> This is mainly why i use mode sync ( I'm not telling you I'm right just
> trying to give you an ideia of what we are doing)
>
> From my understanding , async is a full dump to FS of all the commands for
> that DP like :
> Answer()
> Speak (' Hello World')
> GetDigits()
> now if the person presses 2 , hears a menu with more options and presses
> another key.
> What will call for example a program that send an SMS to give you an ideia.
>
>
> Example :
> Answer
> Speak('Press 1 or 2')
> GetDigits()
>
> if dtmf == 1:
> speak('bye')
> elif dtmf == 2:
> SendMySMS('blahblah')
> speak ('now pres 3 4 or 5')
> get digits()
> if dtmf == 3:
> etc , etc etc.
>
>
> With step by step this is simple ( except the GetDigits Part)
>
>
>
>
> 2011/4/28 Michael Collins <msc at freeswitch.org>
>
>> Can you tell us more about how you're doing this? It sounds like you are
>> doing IVR-ish stuff which, IMHO, does not lend itself for async ESL. I would
>> rather see you do something akin to the fs_ivrd + perl ESL::IVR examples.
>>
>> -MC
>>
>> On Thu, Apr 28, 2011 at 1:58 AM, Antonio Teixeira <
>> eagle.antonio at gmail.com> wrote:
>>
>>> Good Morning.
>>>
>>> I'm currently in the process of converting my IVR's into ESL , freedom
>>> :D.
>>> From my testing is extremely flexible until i have reached a wall.
>>>
>>> We use TTS to generate alot of information for our users then we need to
>>> collect some answers, in session i had GetDigists , yay :).
>>> In ESL i have the DTMF event the problem is that from my testing and wiki
>>> , DTMF event is only send down the socket using asycn , now i need "sync"
>>> because the IVRs need to understand the exact position of the user and blah
>>> blah blah , need to be dynamically extended in realtime and would be hard
>>> to implement in async , specially the timing for digit collection.
>>>
>>> So i tried capturing the event with no luck the only one i got is
>>> SERVER_DISCONNECT at the end.
>>>
>>> I think It is possible if for every thread i would raise a listener for
>>> that specific uuid that would share memory with the first one so i could
>>> read that DTMF events that arrives trough the other socket but i think this
>>> is way to much duct tape for a simple thing.
>>>
>>> So any help on this ?
>>> Thanks
>>> A/T
>>>
>>>
>>>
>>>
>>>
>>>
>>> _______________________________________________
>>> 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
>>>
>>>
>>
>> _______________________________________________
>> 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
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20110428/b98ab33b/attachment-0001.html
More information about the FreeSWITCH-users
mailing list