diff --git a/app/devices/app_config.php b/app/devices/app_config.php index 7c9c79dddc..484ba81481 100644 --- a/app/devices/app_config.php +++ b/app/devices/app_config.php @@ -99,6 +99,12 @@ $apps[$x]['permissions'][$y]['groups'][] = "superadmin"; $apps[$x]['permissions'][$y]['groups'][] = "admin"; $y++; + $apps[$x]['permissions'][$y]['name'] = "device_line_server_address_primary"; + //$apps[$x]['permissions'][$y]['groups'][] = "superadmin"; + $y++; + $apps[$x]['permissions'][$y]['name'] = "device_line_server_address_secondary"; + //$apps[$x]['permissions'][$y]['groups'][] = "superadmin"; + $y++; $apps[$x]['permissions'][$y]['name'] = "device_line_password"; $apps[$x]['permissions'][$y]['groups'][] = "superadmin"; $apps[$x]['permissions'][$y]['groups'][] = "admin"; @@ -124,11 +130,11 @@ $apps[$x]['permissions'][$y]['name'] = "device_key_extension"; //$apps[$x]['permissions'][$y]['groups'][] = "superadmin"; $y++; - $apps[$x]['permissions'][$y]['name'] = "device_outbound_proxy_primary"; - $apps[$x]['permissions'][$y]['groups'][] = "superadmin"; - $apps[$x]['permissions'][$y]['groups'][] = "admin"; + $apps[$x]['permissions'][$y]['name'] = "device_line_outbound_proxy_primary"; + //$apps[$x]['permissions'][$y]['groups'][] = "superadmin"; + //$apps[$x]['permissions'][$y]['groups'][] = "admin"; $y++; - $apps[$x]['permissions'][$y]['name'] = "device_outbound_proxy_secondary"; + $apps[$x]['permissions'][$y]['name'] = "device_line_outbound_proxy_secondary"; //$apps[$x]['permissions'][$y]['groups'][] = "superadmin"; $y++; $apps[$x]['permissions'][$y]['name'] = "device_setting_view"; @@ -443,6 +449,14 @@ $apps[$x]['db'][$y]['fields'][$z]['type'] = "text"; $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "Enter the sip server address."; $z++; + $apps[$x]['db'][$y]['fields'][$z]['name'] = "server_address_primary"; + $apps[$x]['db'][$y]['fields'][$z]['type'] = "text"; + $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "Enter the sip server primary address."; + $z++; + $apps[$x]['db'][$y]['fields'][$z]['name'] = "server_address_secondary"; + $apps[$x]['db'][$y]['fields'][$z]['type'] = "text"; + $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "Enter the sip server secondary address."; + $z++; $apps[$x]['db'][$y]['fields'][$z]['name']['text'] = "outbound_proxy_primary"; $apps[$x]['db'][$y]['fields'][$z]['name']['deprecated'] = "outbound_proxy"; $apps[$x]['db'][$y]['fields'][$z]['type'] = "text";