Prevent a nil error
This commit is contained in:
parent
581c6177cf
commit
75a2f5ffd9
|
|
@ -417,7 +417,7 @@
|
||||||
caller_id_name = fax_caller_id_name;
|
caller_id_name = fax_caller_id_name;
|
||||||
caller_id_number = fax_caller_id_number;
|
caller_id_number = fax_caller_id_number;
|
||||||
fax_recipient = fax_recipient;
|
fax_recipient = fax_recipient;
|
||||||
fax_destination = sip_to_user;
|
fax_destination = fax_destination_number;
|
||||||
fax_base64 = fax_base64;
|
fax_base64 = fax_base64;
|
||||||
fax_date = os.date("%Y-%m-%d %X");
|
fax_date = os.date("%Y-%m-%d %X");
|
||||||
fax_time = os.time();
|
fax_time = os.time();
|
||||||
|
|
@ -453,7 +453,7 @@
|
||||||
freeswitch.consoleLog("INFO","caller_id_number: " .. fax_caller_id_number .. "\n");
|
freeswitch.consoleLog("INFO","caller_id_number: " .. fax_caller_id_number .. "\n");
|
||||||
end
|
end
|
||||||
freeswitch.consoleLog("INFO","fax_recipient: " .. fax_recipient .. "\n");
|
freeswitch.consoleLog("INFO","fax_recipient: " .. fax_recipient .. "\n");
|
||||||
freeswitch.consoleLog("INFO","fax_destination: " .. sip_to_user .. "\n");
|
freeswitch.consoleLog("INFO","fax_destination: " .. fax_destination_number .. "\n");
|
||||||
freeswitch.consoleLog("INFO","fax_result_code: ".. fax_result_code .."\n");
|
freeswitch.consoleLog("INFO","fax_result_code: ".. fax_result_code .."\n");
|
||||||
--freeswitch.consoleLog("INFO","mailfrom_address: ".. from_address .."\n");
|
--freeswitch.consoleLog("INFO","mailfrom_address: ".. from_address .."\n");
|
||||||
--freeswitch.consoleLog("INFO","mailto_address: ".. email_address .."\n");
|
--freeswitch.consoleLog("INFO","mailto_address: ".. email_address .."\n");
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue