From bf1c7e649ce90c53cc083ce8bd62d0e6396fb523 Mon Sep 17 00:00:00 2001 From: FusionPBX Date: Fri, 1 Dec 2017 11:14:12 -0700 Subject: [PATCH] Update app_config.php --- app/destinations/app_config.php | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/app/destinations/app_config.php b/app/destinations/app_config.php index 032d3318f6..af5fbb07d8 100644 --- a/app/destinations/app_config.php +++ b/app/destinations/app_config.php @@ -76,6 +76,9 @@ $y++; $apps[$x]['permissions'][$y]['name'] = "destination_all"; $apps[$x]['permissions'][$y]['groups'][] = "superadmin"; + $y++; + $apps[$x]['permissions'][$y]['name'] = "destination_record"; + $apps[$x]['permissions'][$y]['groups'][] = "superadmin"; //default settings $y = 0; @@ -162,6 +165,14 @@ $apps[$x]['db'][$y]['fields'][$z]['type'] = "text"; $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "Enter the context."; $z++; + $apps[$x]['db'][$y]['fields'][$z]['name'] = "destination_record"; + $apps[$x]['db'][$y]['fields'][$z]['type'] = "text"; + $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "Select whether to record the call."; + $z++; + $apps[$x]['db'][$y]['fields'][$z]['name'] = "destination_accountcode"; + $apps[$x]['db'][$y]['fields'][$z]['type'] = "text"; + $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "Enter the accountcode."; + $z++; $apps[$x]['db'][$y]['fields'][$z]['name'] = "destination_app"; $apps[$x]['db'][$y]['fields'][$z]['type'] = "text"; $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "Enter the application."; @@ -177,9 +188,5 @@ $apps[$x]['db'][$y]['fields'][$z]['name'] = "destination_description"; $apps[$x]['db'][$y]['fields'][$z]['type'] = "text"; $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "Enter the description."; - $z++; - $apps[$x]['db'][$y]['fields'][$z]['name'] = "destination_accountcode"; - $apps[$x]['db'][$y]['fields'][$z]['type'] = "text"; - $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "Enter the accountcode."; ?>