summaryrefslogtreecommitdiff
path: root/misc/freeswitch/scripts/dialplan_default.lua
diff options
context:
space:
mode:
authorPeter Kozak <spag@golwen.net>2013-07-04 13:33:03 +0200
committerPeter Kozak <spag@golwen.net>2013-07-04 13:33:03 +0200
commit59fddbdd5e07b7e9aa39d4504b0c1f02a3f6d031 (patch)
tree0777c5bb282967b1c27e9f76eab960f690fe8c7f /misc/freeswitch/scripts/dialplan_default.lua
parentfca31c4f47a04e7d21a9c6db69b2ff77d842aa23 (diff)
authenticate by previous_destination (transfer)
Diffstat (limited to 'misc/freeswitch/scripts/dialplan_default.lua')
-rw-r--r--misc/freeswitch/scripts/dialplan_default.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/misc/freeswitch/scripts/dialplan_default.lua b/misc/freeswitch/scripts/dialplan_default.lua
index 32789cb..eeeb5c2 100644
--- a/misc/freeswitch/scripts/dialplan_default.lua
+++ b/misc/freeswitch/scripts/dialplan_default.lua
@@ -74,7 +74,7 @@ if start_caller.from_node and not start_dialplan:auth_node() then
log:debug('DIALPLAN_DEFAULT - node unauthorized - node_id: ', start_caller.node_id, ', domain: ', start_dialplan.domain);
start_dialplan:hangup(401, start_dialplan.domain);
else
- if not start_dialplan:auth_sip_account() then
+ if not start_dialplan:auth_account() then
local gateway = start_dialplan:auth_gateway()
if gateway then