Add context field to conference and call center queue (#6836)

* Update conference_edit.php

* Update app_config.php

* Update app_config.php

* Update call_center_queue_edit.php

* Update call_center_queue_edit.php
This commit is contained in:
Alex
2023-11-29 13:26:48 -07:00
committed by GitHub
parent b0d87807b8
commit fa607d4bba
4 changed files with 71 additions and 3 deletions
+8
View File
@@ -42,6 +42,7 @@
$apps[$x]['destinations'][$y]['field']['destination'] = "conference_extension";
$apps[$x]['destinations'][$y]['field']['extension'] = "conference_extension";
$apps[$x]['destinations'][$y]['field']['description'] = "conference_description";
$apps[$x]['destinations'][$y]['field']['context'] = "conference_context";
$apps[$x]['destinations'][$y]['select_value']['dialplan'] = "transfer:\${destination} XML \${context}";
$apps[$x]['destinations'][$y]['select_value']['ivr'] = "menu-exec-app:transfer \${destination} XML \${context}";
$apps[$x]['destinations'][$y]['select_label'] = "\${destination} \${name} \${description}";
@@ -86,6 +87,9 @@
$apps[$x]['permissions'][$y]['groups'][] = "superadmin";
$apps[$x]['permissions'][$y]['groups'][] = "admin";
$y++;
$apps[$x]['permissions'][$y]['name'] = "conference_context";
$apps[$x]['permissions'][$y]['groups'][] = "superadmin";
$y++;
$apps[$x]['permissions'][$y]['name'] = "conference_email_address";
$y++;
$apps[$x]['permissions'][$y]['name'] = "conference_account_code";
@@ -169,6 +173,10 @@
$apps[$x]['db'][$y]['fields'][$z]['search'] = 'true';
$apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "Enter the description.";
$z++;
$apps[$x]['db'][$y]['fields'][$z]['name'] = "conference_context";
$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'] = "conference_enabled";
$apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
$apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "Select whether to enable or disable the conference.";