summaryrefslogtreecommitdiff
path: root/misc/freeswitch
diff options
context:
space:
mode:
Diffstat (limited to 'misc/freeswitch')
-rw-r--r--misc/freeswitch/scripts/send_fax.lua4
1 files changed, 0 insertions, 4 deletions
diff --git a/misc/freeswitch/scripts/send_fax.lua b/misc/freeswitch/scripts/send_fax.lua
index 7099223..ffb81e2 100644
--- a/misc/freeswitch/scripts/send_fax.lua
+++ b/misc/freeswitch/scripts/send_fax.lua
@@ -80,8 +80,6 @@ local session = nil
if phone_number then
session = freeswitch.Session("[" .. table.concat(origination_variables, ",") .. "]loopback/" .. destination_number .. "/default");
else
- -- local owner_class = common.str.downcase(fax_account.record.fax_accountable_type);
-
local caller = {
destination_number = destination_number,
caller_id_name = fax_account.record.station_id,
@@ -90,8 +88,6 @@ else
auth_account_type = 'faxaccount',
auth_account_uuid = fax_account.uuid,
}
-
- -- caller.caller_phone_numbers = phone_number_class:list_by_owner(fax_account.record.id, 'FaxAccount');
require 'dialplan.dialplan'
local dialplan = dialplan.dialplan.Dialplan:new{ log = log, caller = caller, database = database };