Picture of s.taras
Registered 5 years 82 days
s.taras Wednesday, 18 March 2020, 12:02 PM
IPbxAdminApi
Hello. Does someone has sample how to use IPbxAdminApi and IPbxApi on service?

Or is this other way to get PBX object list (users, nodes, ...)
Thank you in advance
Picture of Matthias Schertler (innovaphone)
Moderator Registered 12 years 193 days
Matthias Schertler (innovaphone) Friday, 27 March 2020, 02:26 PM
Re: IPbxAdminApi
Hi,

in the PbxAdminApi protocol there are some messages that might be helpful.
  • SearchUsers - Search users by cn
  • GetObject - Read config of an object
  • GetAppObjects - Read App objects base on some filters
  • GetConfigObjects - Read config templates
  • GetPseudoObjects - Read pseudo objects of a given type
  • GetGroup - Read group members
  • GetRPs - Read configured RPs
  • GetNodes - Read all nodes and locations
  • GetConfigs - Read config templates
  • GetFilters - Read list of configured filters
  • GetGroups - Read availabe Groups
  • GetBooleans - Read available Booleans
  • GetPush - Read configured Push objects
  • GetMessages - Read configured Messages objects
The documentation can be found here: http://sdk.innovaphone.com/doc/appwebsocket/PbxAdminApi.htm

However it seems that the library IPbxAdminApi currently does not implement all of them, so sending the messages from the app code without using the library might be needed for now.

A second option would be the API PbxTableUsers that is documented here: http://sdk.innovaphone.com/doc/appwebsocket/Replication.htm

With that API you can replicate all PBX objects to your app and get live updates when objects are changed. With that API you can specify what kind of objects and what attributes you are interested in.

Example:

{ api: "PbxTableUsers", mt: "ReplicateStart", columns: { guid: {}, cn: {}, h323: {}, e164: {} }, pseudo: ["", "node", "app"] }

This messages starts a replication of all user, node and app objects. You will get back the attributes guid, cn, h323 and e164. All other object types and attributes can be specified as well.

Hoping this was helpful.

BR
Matthias
Picture of s.taras
Registered 5 years 82 days
s.taras Monday, 30 March 2020, 03:31 PM
Re: IPbxAdminApi
Thank you for help, Matthias
Picture of s.taras
Registered 5 years 82 days
s.taras Tuesday, 7 April 2020, 03:47 PM in response to Matthias Schertler (innovaphone)
Re: IPbxAdminApi
Matthias and All.

Is this possible to get access to PbxTableUsers from C++ side.

Thank you
← You can define your color theme preference here