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:
parent
5e1ea9fb7b
commit
be564502df
|
|
@ -166,7 +166,7 @@
|
||||||
sql = "update v_users set ";
|
sql = "update v_users set ";
|
||||||
sql = sql .. "user_status = '"..user_status.."' ";
|
sql = sql .. "user_status = '"..user_status.."' ";
|
||||||
sql = sql .. "where domain_uuid = '"..domain_uuid.."' ";
|
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
|
if (debug["sql"]) then
|
||||||
freeswitch.consoleLog("notice", "[do_not_disturb] "..sql.."\n");
|
freeswitch.consoleLog("notice", "[do_not_disturb] "..sql.."\n");
|
||||||
end
|
end
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue