Yes. The terminator key is not part of what is captured.<br>-MC<br><br><div class="gmail_quote">On Wed, Sep 22, 2010 at 11:47 AM, Phillip Jones <span dir="ltr">&lt;<a href="mailto:pjintheusa@gmail.com">pjintheusa@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;"><div>Hi.</div>
<div> </div>
<div>When I use this method and do GetDigits after - the first digit (that caused the prompt to stop playing) is not collected by GetDigits</div>
<div> </div>
<div>So the user starts entering 6095554444, 6 stops the prompt - GetDigits collects 095554444</div>
<div> </div>
<div>DId you have the same experience?<br><br></div>
<div class="gmail_quote">On Thu, Sep 16, 2010 at 7:34 AM, Tihomir Culjaga <span dir="ltr">&lt;<a href="mailto:tculjaga@gmail.com" target="_blank">tculjaga@gmail.com</a>&gt;</span> wrote:<br>
<blockquote style="border-left: 1px solid rgb(204, 204, 204); margin: 0px 0px 0px 0.8ex; padding-left: 1ex;" class="gmail_quote">forget about this, solved by a script:<br><br><br>local macro = argv[1];<br>local data = argv[2];<br>
local langue = argv[3];<br>
<br><br>function on_key(session, input_type, data, args)<br>  if input_type == &quot;dtmf&quot; then<br>    freeswitch.consoleLog(&quot;info&quot;, &quot;stop playback by DTMF digit: &quot; .. data[&quot;digit&quot;])<br>

    return &quot;break&quot;<br>  end<br>end<br>if session:ready() then<br>  session:setInputCallback(&quot;on_key&quot;, &quot;&quot;)<br>  session:sayPhrase(macro, data, langue)<br>end<br><br><br>&lt;action application=&quot;lua&quot; data=&quot;phrase.lua saymoney 9.40 ${language}&quot;/&gt;<br>

<br><br><br><br><br>lua rocks! 
<div>
<div></div>
<div><br><br><br><br><br>
<div class="gmail_quote">On Thu, Sep 16, 2010 at 10:28 AM, Tihomir Culjaga <span dir="ltr">&lt;<a href="mailto:tculjaga@gmail.com" target="_blank">tculjaga@gmail.com</a>&gt;</span> wrote:<br>
<blockquote style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;" class="gmail_quote">is there any playback terminator for phrase macros?<br><br><br>e.g. when you do:<br><br>&lt;action application=&quot;phrase&quot; data=&quot;saymoney , 2.31&quot;/&gt;<br>

or <br>&lt;action application=&quot;phrase&quot; data=&quot;timeleft , 33&quot;/&gt;<br><br><br>I&#39;d like to make FS stop playing on any pressed digits...<br><br><br><br>something like:       <br>&lt;action application=&quot;set&quot; data=&quot;playback_terminators=#*0123456789&quot;/&gt; <br>

<br>but seems not to be working ...<br><br><br>any ideas ?<br></blockquote></div><br></div></div><br>_______________________________________________<br>FreeSWITCH-users mailing list<br><a href="mailto: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><br></blockquote></div><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>