[Freeswitch-users] Async JS functions?

Nicolas Brenner nicolas at medularis.com
Fri Jul 31 10:59:40 PDT 2009


Thank you Keith, I'll try that as well and let you know.

On Fri, Jul 31, 2009 at 9:51 AM, Keith Laaks <keithl at voxtelecom.co.za>wrote:

>  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
>
> _______________________________________________
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20090731/e1c74fc6/attachment-0002.html 


More information about the FreeSWITCH-users mailing list