diff options
author | spag <spag@golwen.net> | 2013-01-21 13:01:35 +0100 |
---|---|---|
committer | spag <spag@golwen.net> | 2013-01-21 13:01:35 +0100 |
commit | f916b83b562edf5a3961fbbba107840c343a53a1 (patch) | |
tree | ee807b9c0b6a277447234f4d2b40288caab313e9 | |
parent | a6779c02f83d1873ebc33b1610013dcbadfeb10b (diff) |
set caller.destination_number from destination.number
-rw-r--r-- | misc/freeswitch/scripts/dialplan/dialplan.lua | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/misc/freeswitch/scripts/dialplan/dialplan.lua b/misc/freeswitch/scripts/dialplan/dialplan.lua index cc222fc..b92dc70 100644 --- a/misc/freeswitch/scripts/dialplan/dialplan.lua +++ b/misc/freeswitch/scripts/dialplan/dialplan.lua @@ -1004,6 +1004,7 @@ function Dialplan.run(self, destination) self.log:info('LOOP ', loop, ' NEW_DESTINATION_NUMBER - number: ', result.number ); destination = self:destination_new{ number = result.number } self.caller.destination = destination; + self.caller.destination_number = destination.number; end end |