Phone API Reference - Core - digium.foreground

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

digium.foreground

Description

Brings an app into the foreground. If this is called without any arguments, it brings the current app to the foreground.

 
Basic Example:

digium.foreground([app_name]);

 

Note: The app needs to be running for this to do anything.

Parameters

app_name

No

string

 

Name of the app to act on as defined in its app.json file.

Return to Documentation Home I Return to Sangoma Support