summaryrefslogtreecommitdiff
path: root/misc/freeswitch/scripts
diff options
context:
space:
mode:
authorspag <spag@golwen.net>2013-01-29 20:59:06 +0100
committerspag <spag@golwen.net>2013-01-29 20:59:06 +0100
commit9928e509175ec6dbb9cd77aaeb06168c0de99d38 (patch)
treeae7a24aa672859596574f1d40498c482eeb768d4 /misc/freeswitch/scripts
parenta9be92fdc62d55e6b6a8da80f0fe959ad90fa678 (diff)
destination.number vs. destination.destination_number
Diffstat (limited to 'misc/freeswitch/scripts')
-rw-r--r--misc/freeswitch/scripts/dialplan/router.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/misc/freeswitch/scripts/dialplan/router.lua b/misc/freeswitch/scripts/dialplan/router.lua
index 68989fa..0813a37 100644
--- a/misc/freeswitch/scripts/dialplan/router.lua
+++ b/misc/freeswitch/scripts/dialplan/router.lua
@@ -159,6 +159,7 @@ function Router.route_match(self, route)
end
if route_matches then
+ destination.number = destination.number or destination.destination_number;
return destination;
end;