From be564502df73a93edd09b0a8b11a05f49382dfcd Mon Sep 17 00:00:00 2001 From: markjcrane Date: Sat, 5 Sep 2015 11:26:13 -0600 Subject: [PATCH] This last change will enable do not disturb to update the user status which will then show in the operator panel. --- resources/install/scripts/do_not_disturb.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/install/scripts/do_not_disturb.lua b/resources/install/scripts/do_not_disturb.lua index 2664d40c29..7c0fccefc9 100644 --- a/resources/install/scripts/do_not_disturb.lua +++ b/resources/install/scripts/do_not_disturb.lua @@ -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