diff options
author | Peter Kozak <spag@golwen.net> | 2013-07-09 12:11:16 +0200 |
---|---|---|
committer | Peter Kozak <spag@golwen.net> | 2013-07-09 12:11:16 +0200 |
commit | e1b8a3961833f66f03659d16b2737ab62efd999c (patch) | |
tree | ffa3a2e0ea10752e1be5da571650e4df3b6ad1dd /misc/freeswitch/scripts/dialplan/dialplan.lua | |
parent | e59fda6f6dd64dfe0bd2cdea66b19e3ba1fa4f90 (diff) | |
parent | 3def6156141c1235d1ab0782900d43c097676243 (diff) |
Merge branch 'develop' of github.com:amooma/GS5 into develop
Diffstat (limited to 'misc/freeswitch/scripts/dialplan/dialplan.lua')
-rw-r--r-- | misc/freeswitch/scripts/dialplan/dialplan.lua | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/misc/freeswitch/scripts/dialplan/dialplan.lua b/misc/freeswitch/scripts/dialplan/dialplan.lua index 370aa0b..ac8a07d 100644 --- a/misc/freeswitch/scripts/dialplan/dialplan.lua +++ b/misc/freeswitch/scripts/dialplan/dialplan.lua @@ -896,9 +896,10 @@ function Dialplan.run(self, destination) self.caller:set_variable('sound_prefix', common.array.try(self.config, 'sounds.' .. tostring(self.caller.language))); self.log:info('DIALPLAN start - caller_id: ',self.caller.caller_id_number, ' "', self.caller.caller_id_name, '" , number: ', destination.number, ', language: ', self.caller.language); - self.caller.static_caller_id_number = self.caller.caller_id_number; self.caller.static_caller_id_name = self.caller.caller_id_name; + self.caller:set_variable('gs_caller_id_number', self.caller.caller_id_number); + self.caller:set_variable('gs_caller_id_name', self.caller.caller_id_name); local result = { continue = false }; local loop = self.caller.loop_count; |