Fix some line spacing and one tab in fax_retry.lua.
This commit is contained in:
@@ -303,7 +303,7 @@
|
|||||||
if (storage_type == "base64") then
|
if (storage_type == "base64") then
|
||||||
--include the base64 function
|
--include the base64 function
|
||||||
dofile(scripts_dir.."/resources/functions/base64.lua");
|
dofile(scripts_dir.."/resources/functions/base64.lua");
|
||||||
|
|
||||||
--base64 encode the file
|
--base64 encode the file
|
||||||
local f = io.open(fax_file, "rb");
|
local f = io.open(fax_file, "rb");
|
||||||
local file_content = f:read("*all");
|
local file_content = f:read("*all");
|
||||||
@@ -372,7 +372,6 @@
|
|||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
||||||
-- send the selected variables to the console
|
-- send the selected variables to the console
|
||||||
if (fax_success ~= nil) then
|
if (fax_success ~= nil) then
|
||||||
freeswitch.consoleLog("INFO","fax_success: '" .. fax_success .. "'\n");
|
freeswitch.consoleLog("INFO","fax_success: '" .. fax_success .. "'\n");
|
||||||
@@ -401,7 +400,6 @@
|
|||||||
--to keep the originate command shorter these are things we always send. One place to adjust for all.
|
--to keep the originate command shorter these are things we always send. One place to adjust for all.
|
||||||
originate_same = "for_fax=1,absolute_codec_string='PCMU,PCMA',accountcode='"..accountcode.."',mailto_address='"..email_address.."',mailfrom_address='"..from_address.."',origination_caller_id_name='"..origination_caller_id_name.. "',origination_caller_id_number="..origination_caller_id_number..",fax_uri="..fax_uri..",fax_retry_limit="..fax_retry_limit..",fax_retry_sleep="..fax_retry_sleep..",fax_verbose=true,fax_file='"..fax_file.."'";
|
originate_same = "for_fax=1,absolute_codec_string='PCMU,PCMA',accountcode='"..accountcode.."',mailto_address='"..email_address.."',mailfrom_address='"..from_address.."',origination_caller_id_name='"..origination_caller_id_name.. "',origination_caller_id_number="..origination_caller_id_number..",fax_uri="..fax_uri..",fax_retry_limit="..fax_retry_limit..",fax_retry_sleep="..fax_retry_sleep..",fax_verbose=true,fax_file='"..fax_file.."'";
|
||||||
|
|
||||||
|
|
||||||
if (fax_retry_attempts < fax_retry_limit) then
|
if (fax_retry_attempts < fax_retry_limit) then
|
||||||
|
|
||||||
--timed out waitng for comm or on first message, or busy code
|
--timed out waitng for comm or on first message, or busy code
|
||||||
|
|||||||
Reference in New Issue
Block a user