summaryrefslogtreecommitdiff
path: root/misc/freeswitch
diff options
context:
space:
mode:
authorspag <spag@golwen.net>2013-01-30 10:00:46 +0100
committerspag <spag@golwen.net>2013-01-30 10:00:46 +0100
commit98e26f3e5b7bb7e282a25a7f7ce9af1294a3d3ed (patch)
tree6e9aea90ceb9487281a4f3841f03bc2333d267ab /misc/freeswitch
parent880cf1cd12ff8851337bc67f9c29ac53229ac911 (diff)
mysql vs. odbc driver issue
Diffstat (limited to 'misc/freeswitch')
-rw-r--r--misc/freeswitch/scripts/dialplan/acd.lua2
1 files changed, 1 insertions, 1 deletions
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);