Picture of Marko 6403
Registered 2 years 158 days
Marko 6403 Friday, 21 October 2022, 11:10 AM
Deployment - automatically configure PBX object
Good day!

I deploy my Javascript app by manually uploading the generic Javascript Runtime and the HTTP files in the AP manager in myApps. However, I need to repeat the same process in multiple environments (and some customers may need to do it, too) and each time, the PBX object of the app must be configured, an instance has to be created in the PBX and AP manager and access rights to some APIs (e.g. PbxAdminApi) also need to be granted.

What would be the best way to automate or at least shorten this process, especially since I'd like to save the customers from all the configuration hassle? Can this be set up in some kind of configuration file? I haven't managed to find anything in the docs. It'd be ideal if the could simply upload all required files and have the app ready-to-use right after.
Andreas Fink
Moderator Registered 12 years 347 days
Andreas Fink (innovaphone) Friday, 21 October 2022, 12:01 PM
Re: Deployment - automatically configure PBX object
Hello Marko,

let take a look on the required steps and possible solutions.


App Installation

Manual file upload on the AP Manager is not suitable for customer deployments. Instead installation from an App Store. In case your app is not on our official App Store, you can host your own App Store. The customer must switch to your App Store URL to be able to install the app.

Even if App Store is used, this step must be performed on the AP Manager in the "App Store" menu manually.


Creating instance of the App

This step is also must be performed manually on the AP Manager. We are reviewing a redesign at this point, to be able to add a default instance upon installation.


Creating App Object in the PBX

With a PBX Manager Plugin a PBX admin can add required PBX App Object that refer to the instance. If you use Visual Studio templates for innovaphone Apps, a PBX Manager Plugin is already included and must be only adjusted.


Assign App to User

This step can be automated in the PBX Manager Plugin, if app is assigned to Users template.


You could create an app that performs all this steps by using APIs of AP Manager and the PBX. But this app must still be installed manually first smile


We are working on a solution that enables to streamline this process, but it will be a part of one of the planned major releases (e.g. 14).

Best Regards
Andreas Fink
← You can define your color theme preference here