37 lines
1.5 KiB
PHP
37 lines
1.5 KiB
PHP
<?php
|
|
//application details
|
|
$apps[$x]['name'] = "Calls";
|
|
$apps[$x]['uuid'] = '19806921-e8ed-dcff-b325-dd3e5da4959d';
|
|
$apps[$x]['category'] = 'Switch';;
|
|
$apps[$x]['subcategory'] = '';
|
|
$apps[$x]['version'] = '';
|
|
$apps[$x]['license'] = 'Mozilla Public License 1.1';
|
|
$apps[$x]['url'] = 'http://www.fusionpbx.com';
|
|
$apps[$x]['description']['en'] = 'Call Forward, Follow Me and Do Not Disturb.';
|
|
|
|
//menu details
|
|
$apps[$x]['menu'][0]['title']['en'] = 'Calls';
|
|
$apps[$x]['menu'][0]['uuid'] = '';
|
|
$apps[$x]['menu'][0]['parent_uuid'] = '';
|
|
$apps[$x]['menu'][0]['category'] = 'internal';
|
|
$apps[$x]['menu'][0]['path'] = '/app/calls/v_calls.php';
|
|
$apps[$x]['menu'][0]['groups'][] = 'user';
|
|
$apps[$x]['menu'][0]['groups'][] = 'admin';
|
|
$apps[$x]['menu'][0]['groups'][] = 'superadmin';
|
|
|
|
//permission details
|
|
$apps[$x]['permissions'][1]['name'] = 'follow_me';
|
|
$apps[$x]['permissions'][1]['groups'][] = 'user';
|
|
$apps[$x]['permissions'][1]['groups'][] = 'admin';
|
|
$apps[$x]['permissions'][1]['groups'][] = 'superadmin';
|
|
|
|
$apps[$x]['permissions'][2]['name'] = 'call_forward';
|
|
$apps[$x]['permissions'][2]['groups'][] = 'user';
|
|
$apps[$x]['permissions'][2]['groups'][] = 'admin';
|
|
$apps[$x]['permissions'][2]['groups'][] = 'superadmin';
|
|
|
|
$apps[$x]['permissions'][3]['name'] = 'do_not_disturb';
|
|
$apps[$x]['permissions'][3]['groups'][] = 'user';
|
|
$apps[$x]['permissions'][3]['groups'][] = 'admin';
|
|
$apps[$x]['permissions'][3]['groups'][] = 'superadmin';
|
|
?>
|