diff --git a/app/basic_operator_panel/index.php b/app/basic_operator_panel/index.php index 658844af48..b7fc652700 100644 --- a/app/basic_operator_panel/index.php +++ b/app/basic_operator_panel/index.php @@ -115,7 +115,7 @@ foreach($_SESSION['user']['extension'] as $row) { //build the array $array['extensions'][$x]['extension_uuid'] = $row['extension_uuid']; - $array['extensions'][$x]['dial_string'] = 'error/user_busy'; + $array['extensions'][$x]['dial_string'] = '!USER_BUSY'; $array['extensions'][$x]['do_not_disturb'] = 'true'; //delete extension from the cache diff --git a/app/extensions/extension_edit.php b/app/extensions/extension_edit.php index 2df0661f24..cced4ca7c3 100644 --- a/app/extensions/extension_edit.php +++ b/app/extensions/extension_edit.php @@ -893,7 +893,7 @@ if (strlen($max_registrations) == 0) { $max_registrations = $_SESSION['extension']['max_registrations']['numeric']; } if (strlen($accountcode) == 0) { $accountcode = get_accountcode(); } if (strlen($limit_max) == 0) { $limit_max = '5'; } - if (strlen($limit_destination) == 0) { $limit_destination = 'error/user_busy'; } + if (strlen($limit_destination) == 0) { $limit_destination = '!USER_BUSY'; } if (strlen($call_timeout) == 0) { $call_timeout = '30'; } if (strlen($call_screen_enabled) == 0) { $call_screen_enabled = 'false'; } if (strlen($user_record) == 0) { $user_record = $_SESSION['extension']['user_record_default']['text']; } diff --git a/app/scripts/resources/scripts/app/feature_event/index.lua b/app/scripts/resources/scripts/app/feature_event/index.lua index 95ec5edf72..68fa615747 100644 --- a/app/scripts/resources/scripts/app/feature_event/index.lua +++ b/app/scripts/resources/scripts/app/feature_event/index.lua @@ -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 diff --git a/app/scripts/resources/scripts/app/xml_handler/resources/scripts/directory/directory.lua b/app/scripts/resources/scripts/app/xml_handler/resources/scripts/directory/directory.lua index 7d2c155859..a050cbc81c 100644 --- a/app/scripts/resources/scripts/app/xml_handler/resources/scripts/directory/directory.lua +++ b/app/scripts/resources/scripts/app/xml_handler/resources/scripts/directory/directory.lua @@ -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 diff --git a/app/scripts/resources/scripts/do_not_disturb.lua b/app/scripts/resources/scripts/do_not_disturb.lua index bb70185552..c7b6c115fa 100644 --- a/app/scripts/resources/scripts/do_not_disturb.lua +++ b/app/scripts/resources/scripts/do_not_disturb.lua @@ -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