diff options
author | spag <spag@golwen.net> | 2013-01-30 10:00:46 +0100 |
---|---|---|
committer | spag <spag@golwen.net> | 2013-01-30 10:00:46 +0100 |
commit | 98e26f3e5b7bb7e282a25a7f7ce9af1294a3d3ed (patch) | |
tree | 6e9aea90ceb9487281a4f3841f03bc2333d267ab | |
parent | 880cf1cd12ff8851337bc67f9c29ac53229ac911 (diff) |
mysql vs. odbc driver issue
-rw-r--r-- | misc/freeswitch/scripts/dialplan/acd.lua | 2 |
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); |