add default value for ring time delay before voicemail (#6900)
* add default value for ring time delay before voicemail * Update app_config.php
This commit is contained in:
parent
80c670d945
commit
b47f9c3219
|
|
@ -365,6 +365,14 @@
|
|||
$apps[$x]['default_settings'][$y]['default_setting_value'] = "0";
|
||||
$apps[$x]['default_settings'][$y]['default_setting_enabled'] = "true";
|
||||
$apps[$x]['default_settings'][$y]['default_setting_description'] = "";
|
||||
$y++;
|
||||
$apps[$x]['default_settings'][$y]['default_setting_uuid'] = "db521639-5c26-4cba-acc7-e8d6fe86657c";
|
||||
$apps[$x]['default_settings'][$y]['default_setting_category'] = "extension";
|
||||
$apps[$x]['default_settings'][$y]['default_setting_subcategory'] = "call_timeout";
|
||||
$apps[$x]['default_settings'][$y]['default_setting_name'] = "numeric";
|
||||
$apps[$x]['default_settings'][$y]['default_setting_value'] = "30";
|
||||
$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";
|
||||
|
||||
//cache details
|
||||
$apps[$x]['cache']['key'] = "directory.\${extension}@\${domain_name}";
|
||||
|
|
|
|||
|
|
@ -1068,7 +1068,7 @@
|
|||
if (empty($accountcode)) { $accountcode = get_accountcode(); }
|
||||
if (empty($limit_max)) { $limit_max = '5'; }
|
||||
if (empty($limit_destination)) { $limit_destination = '!USER_BUSY'; }
|
||||
if (empty($call_timeout)) { $call_timeout = '30'; }
|
||||
if (empty($call_timeout)) { $call_timeout = $_SESSION['extension']['call_timeout']['numeric'] ?? 30; }
|
||||
if (empty($call_screen_enabled)) { $call_screen_enabled = 'false'; }
|
||||
if (empty($user_record)) { $user_record = $_SESSION['extension']['user_record_default']['text']; }
|
||||
if (empty($voicemail_transcription_enabled)) { $voicemail_transcription_enabled = $_SESSION['voicemail']['transcription_enabled_default']['boolean']; }
|
||||
|
|
|
|||
Loading…
Reference in New Issue