[Freeswitch-users] Playing multiple files in lua script
John Nash
john.nash778 at gmail.com
Tue May 19 01:22:54 MSD 2015
I am trying to play some native files (Preencoded) in lua script and
calling the lua script in dialpan like below..
session:execute("playback", <path to file1>);
session:execute("playback", <path to file2>);
session:execute("playback", <path to file3>);
When I make call I hear file1 clearly but after that for approx 10-15
seconds I do not hear anything (except some occasional noise like breaking
voice)
I tried commenting file1 (to check if file1 is corrupt or something) but
then I hear file2 clearly and not file 3 for 10-15 seconds. I also tried
session:sleep(100) between playbacks but issues remains same.
Am I doing something wrong?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150519/4dbe28f4/attachment-0001.html
Join us at ClueCon 2016 Aug 8-12, 2016
More information about the FreeSWITCH-users
mailing list