Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Verify User has RESTful API Setup

  1. Review the Wiki on User Management here.  Making  Make sure Rest API is enabled and selected for all modules for each user.  

...

  1. Log into your Commercial End Point Manager and either create or edit a template for a supported device. In our example we are going to pick Aastra and edit our "Sample" template. For more information on using EPM please see this wiki. For the purpose of this wiki we will assume you know how to use the Commercial EPM, and just we will only cover how to add an application to a template.


  2. You can pick a phone model and setup a few buttons to be the XML-API type. Next to the "Value" field will be a drop down dropdown menu of available RESTful Apps for you to choose from.


  3. When finished make sure to save your template, and then map your devices to use this template in the Extension Mapping section.
     

...

  1. If your phone is external from your PBX, and your PBX is behind a firewall, you will need to open the RestFUL RESTful Apps port. To do this go into the System Admin module and click on the Port Management section.


  2. Locate the RESTful Phone Apps Port.
     
     
  3. From here you can change the port to be something different if you would like. Do not forget to open your firewall for this port if you will have external phones connecting will connect to the PBX and needing need access to the RESTful Phone Apps. The phones will use this port when connecting to the phone apps.

Start the

...

Process Script

  1. After you have licensed Phone Apps you need to start the demon that watches for hints the first time, as this can could not be started when their there was no license.  This script will be auto-started anytime any time amportal start is run, which includes on boot up.  

    /etc/init.d/restapps restart 

    Code Block
    [root@mybox ~]# /etc/init.d/restapps restart
    Shutting down REST applications daemon:                    [FAILED]
    Starting REST applications daemon:                         [  OK  ]
    [root@mybox ~]# 

     

     

...