Add a short delay before playing the audio

This commit is contained in:
Mark Crane 2014-08-14 09:00:41 +00:00
parent 8a855f159e
commit e9055eab14
1 changed files with 3 additions and 0 deletions

View File

@ -31,6 +31,9 @@
--answer the call
session:answer();
--add short delay before playing the audio
session:sleep(1000);
--get the variables
context = session:getVariable("context");
sounds_dir = session:getVariable("sounds_dir");