GetObjectResult - wrong values for admin user
Using the "GetObject" method of the PbxAdminApi I check whether some users are licensed to use services such as UC, MyPBX, Reporting, Voicemail etc.
This works well for all users expect for my main user called "admin". The values in GetObjectResult for "uc" and "reporting" are correct, while the others are not (they are all false instead of true):
{
"api": "PbxAdminApi",
"mt": "GetObjectResult",
"cn": "admin",
"h323": "admin",
"node": "root",
"loc": "pbx",
...
...
"uclic": true,
"voicemail": false,
"fax": false,
"mobility": false,
"mypbx": false,
"video": false,
"app-sharing": false,
"reporting": true,
...
}
What I have noticed is that the problem is related to all service-licenses that are per default enabled cannot be changed in the PBX settings ( the ones greyed out in the screenshot below). Is this a bug in the API and if it is, is there a workaround for it?