Sure, I've stripped down the script somewhat to something smaller that still produces this effect and you can see it at: http://pastebin.freeswitch.org/7388
The file sound 'VR1' continues to play for a short time after I interrupt it with a DTMF event. It does interrupt, but it sounds a little awkward because of the delay. I was probably wrong in my estimate of the delay which seems to be about a full second, not two or three. I'm hoping I can adjust it somehow to feel more immediate. Any ideas? --Stephen On Fri, Feb 20, 2009 at 8:36 AM, Michael Collins <[email protected]> wrote: > On Thu, Feb 19, 2009 at 9:27 PM, Stephen Crosby <[email protected]> wrote: >> I have a few scripts that use the javascript >> session.streamFile('somefile.wav', onDtmf); where onDtmf is a function >> that returns false to interrupt the streaming file. There is a short >> delay between the time when I press a key and the time the file stops >> playing. Is there anything I can adjust that would affect that? It's >> only maybe 2-3 seconds, but it "feels" too long to me. >> >> --Stephen > > Could you pastebin your entire script plus the relevant dialplan > entry? Also, could you tell us which operating system and FS revision? > -MC > > _______________________________________________ > Freeswitch-users mailing list > [email protected] > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > _______________________________________________ Freeswitch-users mailing list [email protected] http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
