This last change will enable do not disturb to update the user status which will then show in the operator panel.

This commit is contained in:
markjcrane
2015-09-05 11:26:13 -06:00
parent cbb8be7279
commit 672f2dffaf

View File

@@ -166,7 +166,7 @@
sql = "update v_users set ";
sql = sql .. "user_status = '"..user_status.."' ";
sql = sql .. "where domain_uuid = '"..domain_uuid.."' ";
sql = sql .. "and username = '"..row.user_uuid.."' ";
sql = sql .. "and user_uuid = '"..row.user_uuid.."' ";
if (debug["sql"]) then
freeswitch.consoleLog("notice", "[do_not_disturb] "..sql.."\n");
end