[Freeswitch-users] Asynchronous session:streamFile in Lua

Dar Zuch dar at helia.ca
Tue Nov 13 05:22:33 MSK 2012


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





-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20121112/1bf49603/attachment-0001.html 


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