summaryrefslogtreecommitdiff
path: root/misc/freeswitch/scripts/send_fax.lua
diff options
context:
space:
mode:
authorspag <spag@golwen.net>2013-01-18 14:21:41 +0100
committerspag <spag@golwen.net>2013-01-18 14:21:41 +0100
commit13f3c5274a025c6cc02200ea56488770d4a23984 (patch)
tree0e78d938f4c01607e6a6dcac760109ffb8390220 /misc/freeswitch/scripts/send_fax.lua
parent1de349a41e84981171a197546e01eab2f1d2c09e (diff)
comments removed
Diffstat (limited to 'misc/freeswitch/scripts/send_fax.lua')
-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 };