cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
308
Views
0
Helpful
0
Replies

One Touch Dialing

bsmcam
Level 1
Level 1

Hi all! having an issue setting up one touch dialing. Client want the button on the main page to make the call. I can only get it to work on a subpage using a widgetID. 

 

Here is the code that I am using. I have tweaked it every which way and can't get it to work. Any help would be appreciated.  

 

const xapi = require('xapi');

xapi.event.on ('UserInterface Extensions Page Action', (event) => {
if(event.Type === 'Opened' && event.PageId === 'speed_dial'){
xapi.command ("dial", {Number: '555825533@162.255.36.11'});
}
});

0 Replies 0
Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: