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'});
}
});