Add destination ringback

This commit is contained in:
FusionPBX
2024-06-11 10:16:40 -06:00
committed by GitHub
parent e692dc35c4
commit 9e2ab9b8c3
3 changed files with 129 additions and 19 deletions
+7
View File
@@ -137,6 +137,9 @@
$apps[$x]['permissions'][$y]['name'] = "destination_distinctive_ring";
$apps[$x]['permissions'][$y]['groups'][] = "superadmin";
$y++;
$apps[$x]['permissions'][$y]['name'] = "destination_ringback";
$apps[$x]['permissions'][$y]['groups'][] = "superadmin";
$y++;
$apps[$x]['permissions'][$y]['name'] = "destination_accountcode";
$apps[$x]['permissions'][$y]['groups'][] = "superadmin";
$apps[$x]['permissions'][$y]['groups'][] = "admin";
@@ -324,6 +327,10 @@
$apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
$apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "Select whether to set distinctive ring.";
$z++;
$apps[$x]['db'][$y]['fields'][$z]['name'] = "destination_ringback";
$apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
$apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "Select whether to set the ringback.";
$z++;
$apps[$x]['db'][$y]['fields'][$z]['name'] = "destination_accountcode";
$apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
$apps[$x]['db'][$y]['fields'][$z]['search'] = 'true';