diff options
author | spag <spag@golwen.net> | 2012-12-23 18:36:05 +0100 |
---|---|---|
committer | spag <spag@golwen.net> | 2012-12-23 18:36:05 +0100 |
commit | e9dc7ef003b6adf68e6751b71a8347b843c54619 (patch) | |
tree | 192bcc70921071dfe570209affd8bee7290d7c9b | |
parent | eea25f2f08c37593d7057a8af78412cb6b72c671 (diff) |
save clir value
-rw-r--r-- | misc/freeswitch/scripts/dialplan/dialplan.lua | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/misc/freeswitch/scripts/dialplan/dialplan.lua b/misc/freeswitch/scripts/dialplan/dialplan.lua index f4dca9e..70edaa1 100644 --- a/misc/freeswitch/scripts/dialplan/dialplan.lua +++ b/misc/freeswitch/scripts/dialplan/dialplan.lua @@ -905,9 +905,8 @@ function Dialplan.run(self, destination) end end - self.log:info('DIALPLAN start - caller_id: ',self.caller.caller_id_number, ' "', self.caller.caller_id_name,'"', - ', number: ', destination.number); - + self.log:info('DIALPLAN start - caller_id: ',self.caller.caller_id_number, ' "', self.caller.caller_id_name, ', number: ', destination.number); + local result = { continue = false }; local loop = self.caller.loop_count; while self.caller:ready() and loop < self.max_loops do @@ -918,6 +917,7 @@ function Dialplan.run(self, destination) ' - destination: ', destination.type, '=', destination.id, '/', destination.uuid,'@', destination.node_id, ', number: ', destination.number); + self.caller:set_variable('gs_clir', self.caller.clir); self.caller:set_variable('gs_destination_type', destination.type); self.caller:set_variable('gs_destination_id', destination.id); self.caller:set_variable('gs_destination_uuid', destination.uuid); |