Skip to content

Instantly share code, notes, and snippets.

@voipnorm
Created September 12, 2019 18:02
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save voipnorm/7c4ec4ccc09fb33d3cc8b591beca9ffc to your computer and use it in GitHub Desktop.
Save voipnorm/7c4ec4ccc09fb33d3cc8b591beca9ffc to your computer and use it in GitHub Desktop.
const xapi = require('xapi');
xapi.event.on('UserInterface Extensions Panel Clicked', (event) => {
if(event.PanelId === "chris-pmr"){
xapi.command("dial", {Number: 'chris@site.webex.com'}).catch((error) => { console.error(error); });
}
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment