diff options
author | Peter Kozak <spag@golwen.net> | 2013-03-14 05:16:25 -0400 |
---|---|---|
committer | Peter Kozak <spag@golwen.net> | 2013-03-14 05:16:25 -0400 |
commit | 05619cea39af74cb538598c598abf4427319de5f (patch) | |
tree | 318766ceb5c108a6126de74f404516c4da0714ef /misc/freeswitch | |
parent | 7c5c0f972b6127335bc1f9b3141b8df0c5d35fbf (diff) |
save destination in caller table
Diffstat (limited to 'misc/freeswitch')
-rw-r--r-- | misc/freeswitch/scripts/test_route.lua | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/misc/freeswitch/scripts/test_route.lua b/misc/freeswitch/scripts/test_route.lua index e311690..98dfda9 100644 --- a/misc/freeswitch/scripts/test_route.lua +++ b/misc/freeswitch/scripts/test_route.lua @@ -65,6 +65,8 @@ if destination and destination.type == 'unknown' then destination.callee_id_name = nil; end +caller.destination = destination; + require 'dialplan.router'; routes = dialplan.router.Router:new{ log = log, database = database, caller = caller, variables = caller, log_details = true }:route_run(arguments.table or 'outbound'); |