<div>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?</div>

<div><br></div><div>Regards</div><div>HASSAN</div><div><br></div><div><br><br><div class="gmail_quote">On Sat, Aug 14, 2010 at 17:14, Nigel Kent <span dir="ltr">&lt;<a href="mailto:ktngl@yahoo.co.uk">ktngl@yahoo.co.uk</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><table cellspacing="0" cellpadding="0" border="0"><tbody><tr><td valign="top" style="font:inherit">I think what you suggest would be better - to listen for the digits.<br>

<br>Do you have any resource or tips that I can check to see how to implement listening and catching a desired sequence <br><br>--- On <b>Fri, 13/8/10, Michael Collins <i>&lt;<a href="mailto:msc@freeswitch.org" target="_blank">msc@freeswitch.org</a>&gt;</i></b> wrote:<br>

<blockquote style="border-left:2px solid rgb(16, 16, 255);margin-left:5px;padding-left:5px"><br>From: Michael Collins &lt;<a href="mailto:msc@freeswitch.org" target="_blank">msc@freeswitch.org</a>&gt;<br>Subject: Re: [Freeswitch-users] PlayAndGetDigits reset input<br>

To: &quot;FreeSWITCH Users Help&quot; &lt;<a href="mailto:freeswitch-users@lists.freeswitch.org" target="_blank">freeswitch-users@lists.freeswitch.org</a>&gt;<br>Date: Friday, 13 August, 2010, 20:25<div><div></div><div class="h5">

<br><br><div><br><br><div>On Fri, Aug 13, 2010 at 1:46 AM, Nigel Kent <span dir="ltr">&lt;<a rel="nofollow" href="http://mc/compose?to=ktngl@yahoo.co.uk" target="_blank">ktngl@yahoo.co.uk</a>&gt;</span> wrote:<br><blockquote style="border-left:1px solid rgb(204, 204, 204);margin:0pt 0pt 0pt 0.8ex;padding-left:1ex">


<table border="0" cellpadding="0" cellspacing="0"><tbody><tr><td style="font-family:inherit;font-style:inherit;font-variant:inherit;font-weight:inherit;font-size:inherit;line-height:inherit;font-size-adjust:inherit;font-stretch:inherit" valign="top">

Using PlayAndGetDigits I want to give option to the user to reset their input by entering a certain key sequence (##)<br>
<br>How can I make PlayAndGetDigits reprocess immediatly if this key squenqence is pressed.</td></tr></tbody></table><br></blockquote><div>I don&#39;t believe playandgetdigits does this. You will have to listen for ## (or whatever) and then loop back and re-execute playandgetdigits.<br>


-MC<br></div></div><br>
</div><br></div></div>-----Inline Attachment Follows-----<br><br><div>_______________________________________________<br>FreeSWITCH-users mailing list<br><a href="http://mc/compose?to=FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a><br>

<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>

<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br></div></blockquote></td></tr></tbody></table><br>



      <br>_______________________________________________<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<br></blockquote></div><br></div>