Getting Started with the Phone API

Desk Phone API features described in this section are deprecated and supported only on the following models: D40, d45, d50, d60, d62, d65, d70

This guide is an overview of Sangoma Phone app development: the process of building an app, reviewing and testing it on the phone, and the basic development tools.

What You Need First

Sangoma Phone dedicated for development, on a trusted network

Sangoma D-Phone firmware version 1.3 or later on your phone (download)

Building and Reviewing a Custom App

Browse the API Reference and the Demos sections to familarize yourself with the phone API.

Write your phone app in JavaScript.

Write your app.json file, ensuring it has all the required information.

Zip your app's JavaScript file and app.json file together, naming the zip file in a way that helps you remember what the app does. If your app uses any images or language files, put them in this zip file also.

Enable  App Development on your Digium Phone.

Add your app's zip file to the phone using the phone's app development tools (web page or the CGI).

View the Debug Log to be sure you don't miss any problems. See util.debug for more information. 

Start your app, and run through its features.  

Repeat as necessary. When you make changes, remember to zip the files again, upload the revised zip file, view the log, and start your app.

 

See Also: 

 

Return to Documentation Home I Return to Sangoma Support