summaryrefslogtreecommitdiff
path: root/misc/freeswitch/scripts
diff options
context:
space:
mode:
authorspag <spag@golwen.net>2013-01-17 21:51:58 +0100
committerspag <spag@golwen.net>2013-01-17 21:51:58 +0100
commit17206a20e5bcb44fa4d90f0e176f7aa0fe43bca3 (patch)
treeb16465034b16d2b1e00dc6ecf899f9fa063f0549 /misc/freeswitch/scripts
parentb800f7c7ec5aa65f773d1c91c1418ca5edac0f2c (diff)
rename_column table to routing_table
Diffstat (limited to 'misc/freeswitch/scripts')
-rw-r--r--misc/freeswitch/scripts/dialplan/router.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/misc/freeswitch/scripts/dialplan/router.lua b/misc/freeswitch/scripts/dialplan/router.lua
index f207276..33434ee 100644
--- a/misc/freeswitch/scripts/dialplan/router.lua
+++ b/misc/freeswitch/scripts/dialplan/router.lua
@@ -28,7 +28,7 @@ function Router.read_table(self, table_name)
local sql_query = 'SELECT * \
FROM `call_routes` `a` \
JOIN `route_elements` `b` ON `a`.`id` = `b`.`call_route_id`\
- WHERE `a`.`table` = "' .. table_name .. '" \
+ WHERE `a`.`routing_table` = "' .. table_name .. '" \
ORDER BY `a`.`position`, `b`.`position`';
local last_id = 0;