Endpoint Manager: Provision Custom Application <appconfig> via Basefile edit

This is a deployment of 20 or so D40’s D70’s and D60’s which are being (have been) migrated from an old v12 installation that is no longer viable. The phones and app deployment were managed by the Digium Phone Module in this instance.

The Digium phones were initially chosen for their ability to run custom applications built on the Digium Phone API. FreePBX (at that time AsteriskNOW) was a no brainer. Clunky but fantastic!

All phones run a custom CRM application developed in house.

The new installation (15.0.23) is running well and all phones have been provisioned via EPM, however we have not yet found a way to include the custom application within the provisioning XML. This means all phones at the moment have had the zip pushed manually. This is not a viable solution other than in the very very short term.

DPMA is being used for provisioning.

I have been trying now for several weeks but have not found a solution. I do not want to script or manually interact with /etc/asterisk/dpma/phone_configs/*/*.cfg

There is allowance for loading custom applications within the D-Series provisioning specification (XML Configuration 2.9.15+), however as far as I can tell, there is no way to get the Basefile editor to do what is needed.

What i need is the following XML to be generated or able to be included somewhere.

    <appconfig id="mycustomapp">
        <url url="http://server.example.com/myapp.zip" />
        <auto_start />
    </appconfig>

EPM Basefile documentation is not great, but as far as I am aware, I have read everything there is to read.

We have tried the following with no success

  • GUI Combinations of Section (TOP), Parameter and value (PARENT)
  • Poking around and modifying the DB (endpoint_basefiles) directly

Many thanks in advance, long long time viewer, first time poster

Russ