[Freeswitch-users] PlayAndGetDigits reset input

Seven Du dujinfang at gmail.com
Sat Aug 14 06:49:29 PDT 2010


You can get the input digits immediately as long as you desired sequence
ending with a "terminator" key(say #), then you will get all the digits in a
channel var you can test against if it matches you desired sequence or not
and decided if you want to start over the play_and_get_digits again.

On Sat, Aug 14, 2010 at 7:14 PM, Nigel Kent <ktngl at yahoo.co.uk> wrote:

> I think what you suggest would be better - to listen for the digits.
>
> Do you have any resource or tips that I can check to see how to implement
> listening and catching a desired sequence
>
> --- On *Fri, 13/8/10, Michael Collins <msc at freeswitch.org>* wrote:
>
>
> From: Michael Collins <msc at freeswitch.org>
> Subject: Re: [Freeswitch-users] PlayAndGetDigits reset input
> To: "FreeSWITCH Users Help" <freeswitch-users at lists.freeswitch.org>
> Date: Friday, 13 August, 2010, 20:25
>
>
>
>
> On Fri, Aug 13, 2010 at 1:46 AM, Nigel Kent <ktngl at yahoo.co.uk<http://mc/compose?to=ktngl@yahoo.co.uk>
> > wrote:
>
> Using PlayAndGetDigits I want to give option to the user to reset their
> input by entering a certain key sequence (##)
>
> How can I make PlayAndGetDigits reprocess immediatly if this key squenqence
> is pressed.
>
> I don't believe playandgetdigits does this. You will have to listen for ##
> (or whatever) and then loop back and re-execute playandgetdigits.
> -MC
>
>
> -----Inline Attachment Follows-----
>
>
> _______________________________________________
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org<http://mc/compose?to=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 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
>
>


-- 
Blog: http://www.dujinfang.com
Proj:  http://www.freeswitch.org.cn
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100814/de53e23d/attachment.html 


More information about the FreeSWITCH-users mailing list