diff --git a/app/destinations/app_config.php b/app/destinations/app_config.php index b93842f46a..bbc3dd4202 100644 --- a/app/destinations/app_config.php +++ b/app/destinations/app_config.php @@ -79,11 +79,15 @@ $apps[$x]['permissions'][$y]['name'] = "destination_record"; $apps[$x]['permissions'][$y]['groups'][] = "superadmin"; $y++; + $apps[$x]['permissions'][$y]['name'] = "destination_trunk_prefix"; + $y++;; + $apps[$x]['permissions'][$y]['name'] = "destination_area_code"; + $apps[$x]['permissions'][$y]['groups'][] = "superadmin"; + $y++; $apps[$x]['permissions'][$y]['name'] = "destination_number"; $apps[$x]['permissions'][$y]['groups'][] = "superadmin"; $y++; $apps[$x]['permissions'][$y]['name'] = "destination_condition_field"; - //$apps[$x]['permissions'][$y]['groups'][] = "superadmin"; $y++; $apps[$x]['permissions'][$y]['name'] = "destination_caller_id_name"; $apps[$x]['permissions'][$y]['groups'][] = "superadmin"; @@ -173,6 +177,14 @@ $apps[$x]['db'][$y]['fields'][$z]['search'] = 'true'; $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "Enter the number."; $z++; + $apps[$x]['db'][$y]['fields'][$z]['name'] = "destination_trunk_prefix"; + $apps[$x]['db'][$y]['fields'][$z]['type'] = "text"; + $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "Enter the trunk prefix."; + $z++; + $apps[$x]['db'][$y]['fields'][$z]['name'] = "destination_area_code"; + $apps[$x]['db'][$y]['fields'][$z]['type'] = "text"; + $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "Enter the area code."; + $z++; $apps[$x]['db'][$y]['fields'][$z]['name'] = "destination_prefix"; $apps[$x]['db'][$y]['fields'][$z]['type'] = "text"; $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "Enter the prefix.";