Don't use the extension dial_string to set the phone on DND.
This commit is contained in:
parent
48b93b66a1
commit
0c91ac4feb
|
|
@ -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 ";
|
||||
|
|
|
|||
Loading…
Reference in New Issue