[Freeswitch-users] Asynchronous session:streamFile in Lua

Avi Marcus avi at avimarcus.net
Tue Nov 13 10:55:54 MSK 2012


Not 100% sure if this is what you need.. but
uuid_broadcast<http://wiki.freeswitch.org/wiki/Mod_commands#uuid_broadcast>is
async.

-Avi


On Tue, Nov 13, 2012 at 4:22 AM, Dar Zuch <dar at helia.ca> wrote:

> I have a Lua script that 1) answers a session 2) initiates a new session
> 3) plays two different wave files on each leg 4) bridges the sessions.
>
> I'm using session:streamFile() to play the sound file but this is
> happening synchronously (i.e. file completes playing on one leg before the
> streamFile() starts on the other leg).
>
> Is there a way to play sounds files on each leg at the same time?
>
>
>   Dar @ Helia
>
>
>
>
>
>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
>
> 
> 
>
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://wiki.freeswitch.org
> http://www.cluecon.com
>
> 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/20121113/fd070089/attachment.html 


Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users mailing list