Add new ring group settings

- call_screen_enabled
- call_forward_enabled
- follow_me_enabled

Used to set default values
This commit is contained in:
markjcrane
2025-11-08 08:07:50 -07:00
parent bcc7bf9dc2
commit d9deadf051
2 changed files with 27 additions and 3 deletions

View File

@@ -587,9 +587,9 @@
$destination_timeout_max = $settings->get('ring_group', 'destination_timeout_max', '');
$ring_group_call_timeout = $ring_group_call_timeout ?? '30';
$ring_group_greeting = $ring_group_greeting ?? '';
$ring_group_call_screen_enabled = $ring_group_call_screen_enabled ?? false;
$ring_group_call_forward_enabled = $ring_group_call_forward_enabled ?? false;
$ring_group_follow_me_enabled = $ring_group_follow_me_enabled ?? false;
$ring_group_call_screen_enabled = $settings->get('ring_group', 'call_screen_enabled', false);
$ring_group_call_forward_enabled = $settings->get('ring_group', 'call_forward_enabled', false);
$ring_group_follow_me_enabled = $settings->get('ring_group', 'follow_me_enabled', false);
//get the ring group destination array
if ($action == "add") {