Don't use the extension dial_string to set the phone on DND.

This commit is contained in:
FusionPBX 2021-10-14 01:02:00 -06:00 committed by GitHub
parent 48b93b66a1
commit 0c91ac4feb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 2 deletions

View File

@ -172,11 +172,9 @@
sql = "update v_extensions set ";
if (enabled == "true") then
sql = sql .. "follow_me_enabled = 'false', ";
sql = sql .. "dial_string = '!USER_BUSY', ";
sql = sql .. "do_not_disturb = 'true', ";
sql = sql .. "forward_all_enabled = 'false' ";
else
sql = sql .. "dial_string = null, ";
sql = sql .. "do_not_disturb = 'false' ";
end
sql = sql .. "where domain_uuid = :domain_uuid ";