Change error/user_busy to USER_BUSY

This commit is contained in:
markjcrane
2021-09-18 23:26:21 -06:00
parent a47128f549
commit e429756307
5 changed files with 5 additions and 5 deletions

View File

@@ -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

View File

@@ -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

View File

@@ -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