Try this one<br><br><a href="http://pastebin.freeswitch.org/7391">http://pastebin.freeswitch.org/7391</a><br><br>I just tested this on latest trunk and it stopped instantly.<br><br><br><div class="gmail_quote">On Sat, Feb 21, 2009 at 1:35 PM, Stephen Crosby <span dir="ltr"><<a href="mailto:stevecrozz@gmail.com">stevecrozz@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Verry sorry for the list spam, this is the link to the corrected script:<br>
<a href="http://pastebin.freeswitch.org/7389" target="_blank">http://pastebin.freeswitch.org/7389</a><br>
<font color="#888888"><br>
--Stephen<br>
</font><div><div></div><div class="Wj3C7c"><br>
On Sat, Feb 21, 2009 at 11:33 AM, Stephen Crosby <<a href="mailto:stevecrozz@gmail.com">stevecrozz@gmail.com</a>> wrote:<br>
> There was a small error in that last script I sent, please test using<br>
> this version: <a href="http://pastebin.freeswitch.org/7388" target="_blank">http://pastebin.freeswitch.org/7388</a><br>
><br>
> Thanks.<br>
><br>
> On Sat, Feb 21, 2009 at 11:31 AM, Stephen Crosby <<a href="mailto:stevecrozz@gmail.com">stevecrozz@gmail.com</a>> wrote:<br>
>> Sure, I've stripped down the script somewhat to something smaller that<br>
>> still produces this effect and you can see it at:<br>
>> <a href="http://pastebin.freeswitch.org/7388" target="_blank">http://pastebin.freeswitch.org/7388</a><br>
>><br>
>> The file sound 'VR1' continues to play for a short time after I<br>
>> interrupt it with a DTMF event. It does interrupt, but it sounds a<br>
>> little awkward because of the delay. I was probably wrong in my<br>
>> estimate of the delay which seems to be about a full second, not two<br>
>> or three. I'm hoping I can adjust it somehow to feel more immediate.<br>
>> Any ideas?<br>
>><br>
>> --Stephen<br>
>><br>
>> On Fri, Feb 20, 2009 at 8:36 AM, Michael Collins <<a href="mailto:msc@freeswitch.org">msc@freeswitch.org</a>> wrote:<br>
>>> On Thu, Feb 19, 2009 at 9:27 PM, Stephen Crosby <<a href="mailto:stevecrozz@gmail.com">stevecrozz@gmail.com</a>> wrote:<br>
>>>> I have a few scripts that use the javascript<br>
>>>> session.streamFile('somefile.wav', onDtmf); where onDtmf is a function<br>
>>>> that returns false to interrupt the streaming file. There is a short<br>
>>>> delay between the time when I press a key and the time the file stops<br>
>>>> playing. Is there anything I can adjust that would affect that? It's<br>
>>>> only maybe 2-3 seconds, but it "feels" too long to me.<br>
>>>><br>
>>>> --Stephen<br>
>>><br>
>>> Could you pastebin your entire script plus the relevant dialplan<br>
>>> entry? Also, could you tell us which operating system and FS revision?<br>
>>> -MC<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>
>><br>
><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>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>Anthony Minessale II<br><br>FreeSWITCH <a href="http://www.freeswitch.org/">http://www.freeswitch.org/</a><br>ClueCon <a href="http://www.cluecon.com/">http://www.cluecon.com/</a><br>
<br>AIM: anthm<br><a href="mailto:MSN%3Aanthony_minessale@hotmail.com">MSN:anthony_minessale@hotmail.com</a><br>GTALK/JABBER/<a href="mailto:PAYPAL%3Aanthony.minessale@gmail.com">PAYPAL:anthony.minessale@gmail.com</a><br>
IRC: <a href="http://irc.freenode.net">irc.freenode.net</a> #freeswitch<br><br>FreeSWITCH Developer Conference<br><a href="mailto:sip%3A888@conference.freeswitch.org">sip:888@conference.freeswitch.org</a><br><a href="http://iax:guest@conference.freeswitch.org/888">iax:guest@conference.freeswitch.org/888</a><br>
<a href="mailto:googletalk%3Aconf%2B888@conference.freeswitch.org">googletalk:conf+888@conference.freeswitch.org</a><br>pstn:213-799-1400<br>