From 05619cea39af74cb538598c598abf4427319de5f Mon Sep 17 00:00:00 2001 From: Peter Kozak Date: Thu, 14 Mar 2013 05:16:25 -0400 Subject: save destination in caller table --- misc/freeswitch/scripts/test_route.lua | 2 ++ 1 file changed, 2 insertions(+) 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'); -- cgit v1.2.3