Picture of mitop
Registered 3 years 151 days
mitop Wednesday, 6 March 2024, 04:37 PM in response to Andreas Fink (innovaphone)
Re: How to use PbxAdmin Api from C++ project
Hello Andreas,

can't get it to work. What do I have to do to be able to use the Api? Do I have to create my own classes like here https://sdk.innovaphone.com/14r1/sdk/common/interface/json_api.htm with the Echo class? In my opinion, the given link describes how to create a custom UJsonApiContext, not how to use an existing one. IPbxAdminApi from pbx_admin.h is already a UJsonApiContext. Do I now have to derive my own class from IPbxAdminApi?
Which CreateJsonApi should I use? The one from the IPbxAdminApi object or the one from my app class? When do I call the "Create" from the IPbxAdminApi? When do i call RegisterJsonApi and JsonApiStart?

Don't you have a Microsoft Visual Studio project example that shows how to implement and use the PbxAdminApi inside an App?


Best regards
Mladen Topic
← You can define your color theme preference here