Change concurrent_outbound_limit to limit_max

This commit is contained in:
FusionPBX 2024-05-16 09:38:31 -06:00 committed by GitHub
parent 1b83d95935
commit e95ea23ce9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 4 additions and 4 deletions

View File

@ -292,7 +292,7 @@
$apps[$x]['default_settings'][$y]['default_setting_name'] = "boolean";
$apps[$x]['default_settings'][$y]['default_setting_value'] = "true";
$apps[$x]['default_settings'][$y]['default_setting_enabled'] = "true";
$apps[$x]['default_settings'][$y]['default_setting_description'] = "Set whether to require at least one lowecase letter in extension passwords.";
$apps[$x]['default_settings'][$y]['default_setting_description'] = "Set whether to require at least one lowercase letter in extension passwords.";
$y++;
$apps[$x]['default_settings'][$y]['default_setting_uuid'] = "256b0d87-a43e-4618-b96b-541e191879c7";
$apps[$x]['default_settings'][$y]['default_setting_category'] = "extension";
@ -358,9 +358,9 @@
$apps[$x]['default_settings'][$y]['default_setting_enabled'] = "true";
$apps[$x]['default_settings'][$y]['default_setting_description'] = "Set the ring time (delay in seconds) before sending a call to voicemail";
$y++;
$apps[$x]['default_settings'][$y]['default_setting_uuid'] = "dad8148d-e96b-45a3-973d-2746bed389a8";
$apps[$x]['default_settings'][$y]['default_setting_uuid'] = "ed1833a1-8dd5-4ca7-8a78-b5329e909841";
$apps[$x]['default_settings'][$y]['default_setting_category'] = "extension";
$apps[$x]['default_settings'][$y]['default_setting_subcategory'] = "concurrent_outbound_limit";
$apps[$x]['default_settings'][$y]['default_setting_subcategory'] = "limit_max";
$apps[$x]['default_settings'][$y]['default_setting_name'] = "numeric";
$apps[$x]['default_settings'][$y]['default_setting_value'] = "5";
$apps[$x]['default_settings'][$y]['default_setting_enabled'] = "true";

View File

@ -1066,7 +1066,7 @@
if (empty($user_context)) { $user_context = $_SESSION['domain_name']; }
if (empty($max_registrations)) { $max_registrations = $_SESSION['extension']['max_registrations']['numeric'] ?? ''; }
if (empty($accountcode)) { $accountcode = get_accountcode(); }
if (empty($limit_max)) { $limit_max = $_SESSION['extension']['concurrent_outbound_limit']['numeric'] ?? 5; }
if (empty($limit_max)) { $limit_max = $_SESSION['extension']['limit_max']['numeric'] ?? 5; }
if (empty($limit_destination)) { $limit_destination = '!USER_BUSY'; }
if (empty($call_timeout)) { $call_timeout = $_SESSION['extension']['call_timeout']['numeric'] ?? 30; }
if (empty($call_screen_enabled)) { $call_screen_enabled = 'false'; }