summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Kozak <spag@golwen.net>2013-02-27 17:47:13 -0500
committerPeter Kozak <spag@golwen.net>2013-02-27 17:47:13 -0500
commite78e21860788ed7faabe25d645f58cd0c153dfac (patch)
tree70ea5177c88e06ca4b8ae02ed2b9fc8685e73ffd
parent7b6c969acf68fa4cdb3b77559ff8af0eef8e5b1d (diff)
fixed call authentication
-rw-r--r--misc/freeswitch/scripts/dialplan/dialplan.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/misc/freeswitch/scripts/dialplan/dialplan.lua b/misc/freeswitch/scripts/dialplan/dialplan.lua
index 7d9ac58..4425f8b 100644
--- a/misc/freeswitch/scripts/dialplan/dialplan.lua
+++ b/misc/freeswitch/scripts/dialplan/dialplan.lua
@@ -251,7 +251,7 @@ function Dialplan.retrieve_caller_data(self)
-- TODO: Set auth_account on transfer initiated by calling party
if not common.str.blank(self.caller.dialed_sip_user) then
- self.caller.auth_account = self:object_find('sipaccount', self.caller.dialed_domain, dialed_sip_user);
+ self.caller.auth_account = self:object_find('sipaccount', self.caller.dialed_domain, self.caller.dialed_sip_user);
if self.caller.set_auth_account then
self.caller:set_auth_account(self.caller.auth_account);
end