mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2026-01-01 01:33:49 +00:00
Add a short delay before playing the audio
This commit is contained in:
@@ -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");
|
||||
|
||||
Reference in New Issue
Block a user