mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2026-01-08 04:33:49 +00:00
WhitespaceClean-resources/install/scripts
whitespace pass over files for reference regex that was used s/[ \t]+(\r?\n)/\1/
This commit is contained in:
@@ -165,7 +165,7 @@
|
||||
--check if a file exists
|
||||
require "resources.functions.file_exists"
|
||||
|
||||
--define select_entry function
|
||||
--define select_entry function
|
||||
function select_entry()
|
||||
dtmf_digits = "";
|
||||
digit_timeout = "500";
|
||||
@@ -182,7 +182,7 @@
|
||||
return dtmf_digits;
|
||||
end
|
||||
|
||||
--define prompt_for_name function
|
||||
--define prompt_for_name function
|
||||
function prompt_for_name()
|
||||
dtmf_digits = "";
|
||||
min_digits=0; max_digits=3; max_tries=3; digit_timeout = "5000";
|
||||
@@ -196,7 +196,7 @@
|
||||
--get the digits for the name
|
||||
dtmf_digits = prompt_for_name();
|
||||
|
||||
--show the dtmf digits
|
||||
--show the dtmf digits
|
||||
freeswitch.consoleLog("notice", "[directory] first 3 letters of first or last name: " .. dtmf_digits .. "\n");
|
||||
|
||||
--loop through the extensions to find matches
|
||||
@@ -214,7 +214,7 @@
|
||||
if (row.first_name) then
|
||||
--play the recorded name
|
||||
if (storage_type == "base64") then
|
||||
sql = [[SELECT * FROM v_voicemails
|
||||
sql = [[SELECT * FROM v_voicemails
|
||||
WHERE domain_uuid = ']] .. domain_uuid ..[['
|
||||
AND voicemail_id = ']].. row.extension.. [[' ]];
|
||||
if (debug["sql"]) then
|
||||
|
||||
Reference in New Issue
Block a user