We run Asterisk with a custom-developed front-end and want to do some screen-pops on the Yealink phones when the user dials certain digits/feature codes. The Yealink phones are at the latest firmware for T27 and T29.[/code][/php]
We want to do a screen pop on the Yealink display when the user dial the Pause or UnPause feature codes to give them a visual display that the features are enabled.
Yealink has a XML developer guide available on their site for reference. We can push XML to these phones as well.
Essentially what I want is this:
If an extension dials *20 to "pause agent from queue", display a pop up on the phone display saying "you are paused and cannot receive queue calls until you unpause". On the popup, there should be a soft key that says "unpause". When this is pressed, it will dial the UnPause feature code *21. The initial pop-up cannot be cleared unless the acknowledge it.
There are other features we would want to apply this same theory to as well, but once the initial idea is created, we can likely mange the rest ourselves.
Yealink XML Developer Docs found here:
http://support.yealink.com/attachmentDow...er_V80.zip
I'm able to make a screen pop and lock it so the use must acknowledge it but creating a simple TextMenu Object and programming a BLF key to run the .XML file that I hosted on one of our servers and set it to "lock" so it can't be cleared by lifting the handset, etc.
Example:
Code:
<?xml version="1.0" encoding="ISO-8859-1"?>
<YealinkIPPhoneTextScreen Timeout="86400" LockIn="yes" Beep="yes">
<Title wrap="yes">Agent Pause</Title>
<Text>
YOU ARE CURRENTLY PAUSE AND WILL NOT RECEIVE QUEUE CALLS!
</Text>
</YealinkIPPhoneTextScreen>
Unfortunately, this only displays the text when I press a button that is set to browse to where the .XML file is located.
Another thing I tried:
Code:
<?xml version="1.0" encoding="ISO-8859-1"?>
<YealinkIPPhoneExecute Beep="yes">
<ExecuteItem URI="Dial:*20"/>
<ExecuteItem URI="http://myserver.com/somefile.xml"/>
</YealinkIPPhoneExecute>
This dials *20 and BRIEFLY displays the screen-pop defined in 'somefile.xml', but as soon as Asterisk answers the call to *20, the screen-pop clears.
Any suggestions/ideas?