diff options
author | spag <spag@golwen.net> | 2013-01-31 11:26:35 +0100 |
---|---|---|
committer | spag <spag@golwen.net> | 2013-01-31 11:26:35 +0100 |
commit | 09c5d6929a20bda3972c80ee62e9f4ad2f25e9cf (patch) | |
tree | a116d07c51457b7bf1440d8d11ef9abe6472cd5b /misc/freeswitch | |
parent | a174fadb492cb2a88bd39dbc9b6d77955b878ccf (diff) |
clip_no_screening fixed
Diffstat (limited to 'misc/freeswitch')
-rw-r--r-- | misc/freeswitch/scripts/dialplan/dialplan.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/misc/freeswitch/scripts/dialplan/dialplan.lua b/misc/freeswitch/scripts/dialplan/dialplan.lua index a9b3a66..55f714b 100644 --- a/misc/freeswitch/scripts/dialplan/dialplan.lua +++ b/misc/freeswitch/scripts/dialplan/dialplan.lua @@ -761,7 +761,7 @@ function Dialplan.switch(self, destination) elseif not common.str.blank(destination.number) then local result = { continue = false, code = 404, phrase = 'No route' } - local clip_no_screening = common.str.try(caller, 'account.record.clip_no_screening'); + local clip_no_screening = common.str.try(self.caller, 'account.record.clip_no_screening'); self.caller.caller_id_numbers = {} if not common.str.blank(clip_no_screening) then for index, number in ipairs(common.str.strip_to_a(clip_no_screening, ',')) do |