<table cellspacing="0" cellpadding="0" border="0" ><tr><td valign="top" style="font: inherit;">Hi MC,<br><br>thank you very much! I tried all the following combinations:<br>i) break;<br>ii) break all;<br>iii) uuid_break;<br>iv) uuid_break all;<br>but I always had the same problem...<br><br>As a "workaround", I changed my script this way:<br><br>1) I play the prompt:<br>session:streamFile("/usr/local/freeswitch/sounds/en/us/pizza/GP-DeliveryorTakeout.wav");<br>2) I play a short sample of silence. <br>session:streamFile("/home/ubuntu/audio/silence.wav");&nbsp;&nbsp;&nbsp; <br><br>With this strategy, if I say something when the prompt is being played, it is stopped and a short sample (duration: ~20 ms) without audio is played. It's not the ideal solution, but, at least, it doesn't stuck.<br><br>If you have another idea, please tell me. I would like to solve it without "workarounds".<br><br>Eduardo<br><br><br><br>--- Em <b>seg, 13/6/11, mercutioviz [via
 freeswitch-users] <i>&lt;<a href="/user/SendEmail.jtp?type=node&node=6473905&i=0" target="_top" rel="nofollow" link="external">[hidden email]</a>&gt;</i></b> escreveu:<br><blockquote style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; padding-left: 5px;"><br>De: mercutioviz [via freeswitch-users] &lt;<a href="/user/SendEmail.jtp?type=node&node=6473905&i=1" target="_top" rel="nofollow" link="external">[hidden email]</a>&gt;<br>Assunto: Re: Lua ASR TTS<br>Para: "educs13" &lt;<a href="/user/SendEmail.jtp?type=node&node=6473905&i=2" target="_top" rel="nofollow" link="external">[hidden email]</a>&gt;<br>Data: Segunda-feira, 13 de Junho de 2011, 18:14<br><br><div id="yiv1491177285">

        Sorry for the late reply - I missed this one. Are you using the break app or the uuid_break API? Also, are you using the "all" argument?<div>-MC<br><br><div class="yiv1491177285gmail_quote">On Sat, Jun 4, 2011 at 8:45 AM, educs13 <span dir="ltr">&lt;<a rel="nofollow" target="_top" link="external">[hidden email]</a>&gt;</span> wrote:<br>
<blockquote class="yiv1491177285gmail_quote" style="border-left: 2px solid rgb(204, 204, 204); padding: 0pt 1em;">Hi,<br>
<br>
I was trying to run the 'Examples directory lua asr tts'<br>
(<a rel="nofollow" target="_blank" href="http://wiki.freeswitch.org/wiki/Examples_directory_lua_asr_tts" link="external">http://wiki.freeswitch.org/wiki/Examples_directory_lua_asr_tts</a>) in Ubuntu<br>
10.04/32 bits, but I had some problems with the 'session:streamFile()'.<br>
<br>
If I say something when the prompt is still playing, the audio stucks<br>
indefinitely. It seems that the 'break' command isn't doing all its job. I<br>
guess that maybe the 'break' is just stop feeding the audio player with new<br>
samples, but it is not stopping the player. So, this player keeps reading<br>
and playing the same samples continuously ...<br>
<br>
I really don't know if my guess makes sense and as I don't know C very well,<br>
I don't know where to look for a solution in the source code. I Hope you<br>
could help me.<br>
<br>
Thanks,<br>
Eduardo<br>
<br>
<br>
<br>
--<br>
View this message in context: <a rel="nofollow" target="_blank" href="http://freeswitch-users.2379917.n2.nabble.com/Lua-ASR-TTS-tp6439449p6439449.html" link="external">http://freeswitch-users.2379917.n2.nabble.com/Lua-ASR-TTS-tp6439449p6439449.html</a><br>

Sent from the freeswitch-users mailing list archive at Nabble.com.<br>
<br>
_______________________________________________<br>
FreeSWITCH-users mailing list<br>
<a rel="nofollow" target="_top" link="external">[hidden email]</a><br>
<a rel="nofollow" target="_blank" href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" link="external">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a rel="nofollow" target="_blank" href="http://lists.freeswitch.org/mailman/options/freeswitch-users" link="external">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a rel="nofollow" target="_blank" href="http://www.freeswitch.org" link="external">http://www.freeswitch.org</a><br>
</blockquote></div><br></div>
<br>_______________________________________________
<br>FreeSWITCH-users mailing list
<br><a rel="nofollow" target="_top" link="external">[hidden email]</a>
<br><a rel="nofollow" target="_blank" href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" link="external">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>UNSUBSCRIBE:<a rel="nofollow" target="_blank" href="http://lists.freeswitch.org/mailman/options/freeswitch-users" link="external">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br><a rel="nofollow" target="_blank" href="http://www.freeswitch.org" link="external">http://www.freeswitch.org</a><br>
        
        <br>
        <br>
        <hr color="#cccccc" noshade="noshade" size="1">
        <div style="color: rgb(68, 68, 68); font: 12px tahoma,geneva,helvetica,arial,sans-serif;">
                <div style="font-weight: bold;">If you reply to this email, your message will be added to the discussion below:</div>
                <a rel="nofollow" target="_blank" href="http://freeswitch-users.2379917.n2.nabble.com/Lua-ASR-TTS-tp6439449p6471843.html" link="external">http://freeswitch-users.2379917.n2.nabble.com/Lua-ASR-TTS-tp6439449p6471843.html</a>
        </div>
        <div style="color: rgb(102, 102, 102); font: 11px tahoma,geneva,helvetica,arial,sans-serif; margin-top: 0.4em;">
                
                To unsubscribe from Lua ASR TTS, <a rel="nofollow" target="_blank" href="" link="external">click here</a>.
        </div></div></blockquote></td></tr></table>
        
<br/><hr align="left" width="300" />
View this message in context: <a href="http://freeswitch-users.2379917.n2.nabble.com/Lua-ASR-TTS-tp6439449p6473905.html">Re: Lua ASR TTS</a><br/>
Sent from the <a href="http://freeswitch-users.2379917.n2.nabble.com/">freeswitch-users mailing list archive</a> at Nabble.com.<br/>