diff options
author | spag <spag@golwen.net> | 2013-01-17 21:51:58 +0100 |
---|---|---|
committer | spag <spag@golwen.net> | 2013-01-17 21:51:58 +0100 |
commit | 17206a20e5bcb44fa4d90f0e176f7aa0fe43bca3 (patch) | |
tree | b16465034b16d2b1e00dc6ecf899f9fa063f0549 /misc/freeswitch/scripts/dialplan/router.lua | |
parent | b800f7c7ec5aa65f773d1c91c1418ca5edac0f2c (diff) |
rename_column table to routing_table
Diffstat (limited to 'misc/freeswitch/scripts/dialplan/router.lua')
-rw-r--r-- | misc/freeswitch/scripts/dialplan/router.lua | 2 |
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; |