Hi Nicolas, I wonder if session.execute( "sched_broadcast"", "+1 /path/file.wav aleg") followed immediately by your 'new Session' and 'bridge' would do the trick ? Not sure if/how "sched_broadcast" functions when the call has not yet been bridged though... Let us know.. Best Regards Keith From: freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org] On Behalf Of Nicolas Brenner Sent: 30 July 2009 20:31 To: freeswitch-users@lists.freeswitch.org Subject: [Freeswitch-users] Async JS functions? Hi, I have a small JS script that calls a phonenumber, when the call is answered it plays a wave file, then it calls a second phonenumber and bridges the calls. Is it possible to make wave-playing async, so that the second call is generated as soon as the first is picked up? Right now the wave file takes about 2 secs to play, but I need to extend that time, and I don't want to delay the second call. Thanks! Nicolas