Add ring group call screening

This commit is contained in:
FusionPBX
2024-09-15 16:47:53 -06:00
committed by GitHub
parent 795343379c
commit 340c6e17f3
4 changed files with 118 additions and 4 deletions

View File

@@ -142,6 +142,10 @@
$apps[$x]['permissions'][$y]['name'] = "ring_group_destinations";
$apps[$x]['permissions'][$y]['groups'][] = "superadmin";
$apps[$x]['permissions'][$y]['groups'][] = "admin";
$y++;
$apps[$x]['permissions'][$y]['name'] = "ring_group_call_screen_enabled";
$apps[$x]['permissions'][$y]['groups'][] = "superadmin";
$apps[$x]['permissions'][$y]['groups'][] = "admin";
//default settings
$y=0;
@@ -313,6 +317,10 @@
$apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
$apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "Select the ringback.";
$z++;
$apps[$x]['db'][$y]['fields'][$z]['name'] = "ring_group_call_screen_enabled";
$apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
$apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
$z++;
$apps[$x]['db'][$y]['fields'][$z]['name'] = "ring_group_call_forward_enabled";
$apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
$apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "Choose to follow a ring group destination's call forward.";