[Freeswitch-users] PlayAndGetDigits reset input

Nyamul Hassan mnhassan at usa.net
Sat Aug 14 06:41:14 PDT 2010


How about using ** as the character sequence to reset, and # as the
terminating character.  Then, once you have the digit sequence returned by
play_and_get_digits, you can strip off everything left to the last **
sequence via a script?

Regards
HASSAN



On Sat, Aug 14, 2010 at 17:14, 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
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100814/f0dc17ae/attachment.html 


More information about the FreeSWITCH-users mailing list