[Freeswitch-users] Async JS functions?
Keith Laaks
keithl at voxtelecom.co.za
Fri Jul 31 06:51:01 PDT 2009
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 at lists.freeswitch.org
[mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of
Nicolas Brenner
Sent: 30 July 2009 20:31
To: freeswitch-users at 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20090731/42954241/attachment-0002.html
More information about the FreeSWITCH-users
mailing list