From 98e26f3e5b7bb7e282a25a7f7ce9af1294a3d3ed Mon Sep 17 00:00:00 2001 From: spag Date: Wed, 30 Jan 2013 10:00:46 +0100 Subject: mysql vs. odbc driver issue --- misc/freeswitch/scripts/dialplan/acd.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'misc/freeswitch/scripts/dialplan/acd.lua') diff --git a/misc/freeswitch/scripts/dialplan/acd.lua b/misc/freeswitch/scripts/dialplan/acd.lua index f4b298e..5ed8979 100644 --- a/misc/freeswitch/scripts/dialplan/acd.lua +++ b/misc/freeswitch/scripts/dialplan/acd.lua @@ -194,7 +194,7 @@ function AutomaticCallDistributor.agents_available(self, strategy) local accounts = {} self.database:query(sql_query, function(entry) - if not entry.callstate then + if common.str.blank(entry.callstate) then table.insert(accounts, entry); end end); -- cgit v1.2.3