I&#39;m not sure why it locks up for you.  It works for me and I know of at least one other developer that got it all to work.  <br><br>The way I do it in my custom APP is to set {start-input-timers=false} in the speech recognition request and register an input callback function to deal with the recognition and DTMF events.  The input callback reacts to the start of speech and recognition complete events by stopping the prompt.  At start of speech, the input timers are started and silence is played until the final result arrives from the recognizer (no match, match, etc).  <br>
<br>An alternative way to do this is to watch for the recognition events over ESL and react to them.<br><br><br><br><div class="gmail_quote">On Mon, Nov 14, 2011 at 9:19 AM, xl127 <span dir="ltr">&lt;<a href="mailto:x.liu@hw.ac.uk">x.liu@hw.ac.uk</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
  
    
  
  <div text="#000000" bgcolor="#FFFFFF">
    Hi Christopher,<br>
    <br>
    That will be great! Thanks and looking forward to your app!<br>
    <br>
    By the way, do you have a quick thoughts about the reasons the FS
    stucks when garge-in occurs?<br>
    Otherwise if it is not straightforward to explain it,  just leave it
    alone until your new app comes out.<br>
    <br>
    Cheers,<br>
    Xing<div><div class="h5"><br>
    <br>
    <br>
    <br>
    On 14/11/11 13:23, Christopher Rienzo wrote:
    <blockquote type="cite">I&#39;ll write up a dialplan app this week to deal with
      this.  Getting tired of being asked the same question over and
      over since it&#39;s too complicated as is currently designed :)<br>
      <br>
      <br>
      <br>
      <br>
      <div class="gmail_quote">
        On Mon, Nov 14, 2011 at 8:07 AM, xl127 <span dir="ltr">&lt;<a href="mailto:x.liu@hw.ac.uk" target="_blank">x.liu@hw.ac.uk</a>&gt;</span>
        wrote:<br>
        <blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
          Hi,<br>
          <br>
          The first problem I need to solve is that FS stucks when I
          speak during<br>
          the prompt is playing.<br>
          It looks like the recognizer is not listening any more. It
          works fine if<br>
          I speak after the playing prompt finishes.<br>
          <br>
          I tried Nuance and PocketSphinx recognizers and got same
          problem.<br>
          <br>
          Any idea about what the possible causes are?<br>
          <br>
          Thanks!<br>
          Xing<br>
          <div>
            <div><br>
              <br>
              On 11/11/11 18:59, xl127 wrote:<br>
              &gt; Hello,<br>
              &gt;<br>
              &gt; I found this is a question that was asked before by
              others, but I didn&#39;t<br>
              &gt; find the answer.<br>
              &gt;<br>
              &gt; Anyway, I am using FS ESL outbound mode connecting to
              my IVR app,  using<br>
              &gt; FS&#39;s &quot;speak&quot;<br>
              &gt; and &quot;detect_speech&quot; to access Nuance MRCP V1 server.<br>
              &gt;<br>
              &gt; I want the user to be able to barge-in during the
              system&#39;s speaking.<br>
              &gt; How could I implement it?<br>
              &gt;<br>
              &gt; I tried to specify &quot;kill-on-barge-in=true&quot; in the
              mrcp config profile.<br>
              &gt; The barge-in doesn&#39;t work.<br>
              &gt;<br>
              &gt; With or without setting kill-on-barge-in, FS stops
              responding to my<br>
              &gt; phone call and<br>
              &gt; eventually it hangs up my call if I speak somthing
              (do the barge-in)<br>
              &gt; during the system&#39;s speaking.<br>
              &gt;<br>
              &gt; I made a turn-by-turn loop in my app, the ASR/TTS
              works fine if I do not<br>
              &gt; do barge-in ( I wait until the TTS finishes then I
              start to speak)<br>
              &gt;<br>
              &gt; Any advices please?<br>
              &gt;<br>
              &gt; Thanks!<br>
              &gt; Xing<br>
              &gt;<br>
              &gt;<br>
              &gt;<br>
              <br>
              <br>
              <br>
              --<br>
              Heriot-Watt University is a Scottish charity<br>
              registered under charity number SC000278.<br>
              <br>
              Heriot-Watt University is the Sunday Times<br>
              Scottish University of the Year 2011-2012<br>
              <br>
              <br>
              <br>
_________________________________________________________________________<br>
              Professional FreeSWITCH Consulting Services:<br>
              <a href="mailto:consulting@freeswitch.org" target="_blank">consulting@freeswitch.org</a><br>
              <a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
              <br>
              FreeSWITCH-powered IP PBX: The CudaTel Communication
              Server<br>
              <a href="http://www.cudatel.com" target="_blank">http://www.cudatel.com</a><br>
              <br>
              Official FreeSWITCH Sites<br>
              <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
              <a href="http://wiki.freeswitch.org" target="_blank">http://wiki.freeswitch.org</a><br>
              <a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><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>
            </div>
          </div>
        </blockquote>
      </div>
      <br>
      <br>
      <fieldset></fieldset>
      <br>
      <pre>_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
<a href="mailto:consulting@freeswitch.org" target="_blank">consulting@freeswitch.org</a>
<a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a>

FreeSWITCH-powered IP PBX: The CudaTel Communication Server
<a href="http://www.cudatel.com" target="_blank">http://www.cudatel.com</a>

Official FreeSWITCH Sites
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a>
<a href="http://wiki.freeswitch.org" target="_blank">http://wiki.freeswitch.org</a>
<a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a>

FreeSWITCH-users mailing list
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a>
</pre>
    </blockquote>
    <br>
  <br>
</div></div><hr>
<br>
<img src="cid:hw_uni_of_year.jpg" alt="Scottish University of the Year 2011-12" align="left">
<font face="arial,helvetica">
  <b>Heriot-Watt University is the Sunday Times<div class="im"><br> 
  Scottish University of the Year 2011-2012</div></b>
</font>
<br><div class="im"><br>
<font face="arial,helvetica" size="-1">
  Heriot-Watt University is a Scottish charity<br>
  registered under charity number SC000278.
<br>
</font>

</div></div>

<br>_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
<a href="http://www.cudatel.com" target="_blank">http://www.cudatel.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://wiki.freeswitch.org" target="_blank">http://wiki.freeswitch.org</a><br>
<a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><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>