diff options
author | Peter Kozak <spag@golwen.net> | 2013-05-22 00:35:22 +0200 |
---|---|---|
committer | Peter Kozak <spag@golwen.net> | 2013-05-22 00:35:22 +0200 |
commit | fdab546ae6710e8b870d4b7a46a4283e2f20d86c (patch) | |
tree | 9960898eec08f9a937b197ac4dddd6facc7979ab /misc/freeswitch/scripts | |
parent | 82e76a100851ce62748d411c982f74c1a6366830 (diff) |
date/time in routing test fixed
Diffstat (limited to 'misc/freeswitch/scripts')
-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 98dfda9..4a879d1 100644 --- a/misc/freeswitch/scripts/test_route.lua +++ b/misc/freeswitch/scripts/test_route.lua @@ -41,6 +41,8 @@ local dialplan_object = dialplan.dialplan.Dialplan:new{ log = log, caller = call dialplan_object:configuration_read(); caller.dialplan = dialplan_object; caller.local_node_id = dialplan_object.node_id; +caller.date = os.date('%y%m%d%w'); +caller.time = os.date('%H%M%S'); dialplan_object:retrieve_caller_data(); local destination = arguments.destination or dialplan_object:destination_new{ number = caller.destination_number }; |