Cisco DX80 Kiosk Version 2

Recently I wrote a Kiosk mode for the DX80 that you can find here.   There where a few limitations that make this solution a bit tricky to use.  The primary complain was of course having to touch the screen twice to start a call.  Second, the popup window was not terribly appealing aesthetically.  The new iteration of the code addresses both of these issues.

First, the buttons placed on the screen in the in room controls editor can be customized as far as the button icon and the color of the button.  The panel shown below is the options menu for these buttons.  It is also worth noting that the colors are simply hexadecimal values and can be edited in the raw XML file for the room layout as well to match your companies color schemes (I changed the color of the Mortgage item in the XML code available on Git Hub as an example of this).

With the button layout established you will see the on screen layout something like what I have shown below:

It is worth noting that the default background can be replaced with a custom background to accommodate the needs of your organization as well.

The next component is the code that drives these buttons.  I won’t go in depth but will point out that variable can be changed to work with your dial plan be it numeric or SIP URI’s.  The code listens for one of the buttons to be pushed and then invokes the dial function to evaluate what button was selected and to them make the actual call.

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
/**
* Banking Assistant 2.0 written by Adam Schaeffer
* http://technologyordie.com
*/
const xapi = require('xapi');
 
//change number / SIP URI below for your requirements
const dial_general = '1000';
const dial_mortgage = '2000';
const dial_wealth = '3000';
 
 
function dial(event) {
//console.log(event); //logs the information passed in the "event" variable
 
if (event.PanelId === 'general') {
xapi.command('Dial', { Number: dial_general });
}
 
if (event.PanelId === 'mortgage') {
xapi.command('Dial', { Number: dial_mortgage });
}
 
if (event.PanelId === 'wealth') {
xapi.command('Dial', { Number: dial_wealth });
}
 
}
 
//Listen for event to happen.
xapi.event.on('UserInterface Extensions Panel Clicked', dial);

This code can be found as part of the CE9-Projects repository on GitHub is you would like to use or modify the code for your own use.

I hope this has been valuable!  Please comment with questions, comments, or ideas for improvement!

This entry was posted in Collaboration and tagged , , , . Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.