mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2026-01-06 11:43:50 +00:00
Use the right comments for lua.
This commit is contained in:
@@ -139,7 +139,7 @@
|
|||||||
--play the message
|
--play the message
|
||||||
if (session:ready()) then
|
if (session:ready()) then
|
||||||
if (string.len(dtmf_digits) == 0) then
|
if (string.len(dtmf_digits) == 0) then
|
||||||
//check if wav file exists then play the file
|
--check if wav file exists then play the file
|
||||||
if (file_exists(voicemail_dir.."/"..voicemail_id.."/msg_"..uuid..".wav")) then
|
if (file_exists(voicemail_dir.."/"..voicemail_id.."/msg_"..uuid..".wav")) then
|
||||||
stream_seek = true;
|
stream_seek = true;
|
||||||
if (storage_type == "http_cache") then
|
if (storage_type == "http_cache") then
|
||||||
@@ -152,7 +152,7 @@
|
|||||||
session:streamFile("silence_stream://1000");
|
session:streamFile("silence_stream://1000");
|
||||||
end
|
end
|
||||||
|
|
||||||
//check if mp3 file exists then play the file
|
--check if mp3 file exists then play the file
|
||||||
if (file_exists(voicemail_dir.."/"..voicemail_id.."/msg_"..uuid..".mp3")) then
|
if (file_exists(voicemail_dir.."/"..voicemail_id.."/msg_"..uuid..".mp3")) then
|
||||||
stream_seek = true;
|
stream_seek = true;
|
||||||
if (storage_type == "http_cache") then
|
if (storage_type == "http_cache") then
|
||||||
|
|||||||
Reference in New Issue
Block a user