mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2026-02-05 07:29:20 +00:00
Change error/user_busy to USER_BUSY
This commit is contained in:
@@ -123,7 +123,7 @@
|
||||
--DND enabled
|
||||
if (feature_action == "SetDoNotDisturb" and feature_enabled == "true") then
|
||||
--set a variable
|
||||
dial_string = "error/user_busy";
|
||||
dial_string = "!USER_BUSY";
|
||||
do_not_disturb = "true";
|
||||
|
||||
--update the extension
|
||||
|
||||
@@ -381,7 +381,7 @@
|
||||
|
||||
--set the dial_string
|
||||
if (do_not_disturb == "true") then
|
||||
dial_string = "error/USER_BUSY";
|
||||
dial_string = "!USER_BUSY";
|
||||
elseif (string.len(row.dial_string) > 0) then
|
||||
dial_string = row.dial_string;
|
||||
else
|
||||
|
||||
@@ -172,7 +172,7 @@
|
||||
sql = "update v_extensions set ";
|
||||
if (enabled == "true") then
|
||||
sql = sql .. "follow_me_enabled = 'false', ";
|
||||
sql = sql .. "dial_string = 'error/user_busy', ";
|
||||
sql = sql .. "dial_string = '!USER_BUSY', ";
|
||||
sql = sql .. "do_not_disturb = 'true', ";
|
||||
sql = sql .. "forward_all_enabled = 'false' ";
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user