Yealink Forums

Full Version: Programming Softkeys
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
We would like to remove the Hold softkey and replace it with a Park softkey, through programming (we believe having to use the Talking.xml file).

We can do it by going into each phone's GUI, it works perfect, but that is impractical with thousands of endpoints.

We have provided a talking.xml that looks like this (at least the first few lines):

<?xml version="1.0"?>
<Talk>
<Disable>
<Key Type="Empty" />
<Key Type="Mute" />
<Key Type="SWAP" />
<Key Type="NewCall" />
<Key Type="Switch" />
<Key Type="Answer" />
<Key Type="Reject" />
<Key Type="PriHold" />
<Key Type="Hold" />
<Key Type="GPark" />
<Key Type="RTP Status" />
<Key Type="Security" />
</Disable>
<Enable>
<Key Type="Transfer" />
<Key Type="Park" />
<Key Type="Conference" />
<Key Type="End Call" />
</Enable>
<Default>
<Key Type="Transfer" />
<Key Type="Park" />
<Key Type="Conference" />
<Key Type="End Call" />
</Default>
</Talk>

We provision this, the Park key is then present (page 2 - annoying) and the Hold key is still present - even though the Talking.xml file places it as "disabled". We do not need a hold key, it takes valuable real estate on the phone. Without the Hold button all the softkeys fit on page 1 = happy customers!

How can we get rid of the Hold key programmatically?
Downloaded the newest firmware's autoprovisioning info. This works!

<?xml version="1.0"?>
<Talk>
<Disable>
<Key Type="Empty" />
<Key Type="Mute" />
<Key Type="SWAP" />
<Key Type="NewCall" />
<Key Type="Switch" />
<Key Type="PriHold" />
<Key Type="Hold" />
<Key Type="GPark" />
<Key Type="RTP Status" />
<Key Type="Security" />
<Key Type="Call Shift" />
<Key Type="Extend" />
</Disable>
<Enable>
<Key Type="Transfer" />
<Key Type="Park" />
<Key Type="Conference" />
<Key Type="End Call" />
</Enable>
<Default>
<Key Type="Transfer" />
<Key Type="Park" />
<Key Type="Conference" />
<Key Type="End Call" />
</Default>
</Talk>
<Conferenced>
<Disable>
<Key Type="Empty" />
<Key Type="Switch" />
<Key Type="Mute" />
<Key Type="RTP Status" />
<Key Type="Extend" />
</Disable>
<Enable>
<Key Type="Conference" />
<Key Type="Manager" />
<Key Type="Split" />
<Key Type="End Call" />
</Enable>
<Default>
<Key Type="Conference" />
<Key Type="Manager" />
<Key Type="Split" />
<Key Type="End Call" />
</Default>
</Conferenced>
<ConferencedHold>
<Disable>
<Key Type="Empty" />
<Key Type="Switch" />
<Key Type="Extend" />
</Disable>
<Enable>
<Key Type="Split" />
<Key Type="Resume" />
<Key Type="NewCall" />
<Key Type="End Call" />
</Enable>
<Default>
<Key Type="Split" />
<Key Type="Resume" />
<Key Type="NewCall" />
<Key Type="End Call" />
</Default>
</ConferencedHold>
<NewCallIn>
<Disable>
<Key Type="Empty" />
<Key Type="Switch" />
<Key Type="Extend" />
</Disable>
<Enable>
<Key Type="Transfer" />
<Key Type="Answer" />
<Key Type="Reject" />
<Key Type="End Call" />
</Enable>
<Default>
<Key Type="Transfer" />
<Key Type="Answer" />
<Key Type="Reject" />
<Key Type="End Call" />
</Default>
</NewCallIn>
<ConferencedNewCallIn>
<Disable>
<Key Type="Empty" />
<Key Type="Switch" />
<Key Type="Extend" />
</Disable>
<Enable>
<Key Type="Empty" />
<Key Type="Answer" />
<Key Type="Reject" />
<Key Type="End Call" />
</Enable>
<Default>
<Key Type="Empty" />
<Key Type="Answer" />
<Key Type="Reject" />
<Key Type="End Call" />
</Default>
</ConferencedNewCallIn>
<Paging>
<Disable>
<Key Type="Empty" />
<Key Type="Extend" />
</Disable>
<Enable>
<Key Type="Empty" />
<Key Type="Hold" />
<Key Type="Empty" />
<Key Type="End Call" />
</Enable>
<Default>
<Key Type="Empty" />
<Key Type="Hold" />
<Key Type="Empty" />
<Key Type="End Call" />
</Default>
</Paging>
<ListeningPaging>
<Disable>
<Key Type="Empty" />
<Key Type="Extend" />
</Disable>
<Enable>
<Key Type="Empty" />
<Key Type="Hold" />
<Key Type="Empty" />
<Key Type="End Call" />
</Enable>
<Default>
<Key Type="Empty" />
<Key Type="Hold" />
<Key Type="Empty" />
<Key Type="End Call" />
</Default>
</ListeningPaging>
<BeTransferred>
<Disable>
<Key Type="Empty" />
<Key Type="Switch" />
<Key Type="NewCall" />
<Key Type="Extend" />
</Disable>
<Enable>
<Key Type="Empty" />
<Key Type="Hold" />
<Key Type="Empty" />
<Key Type="End Call" />
</Enable>
<Default>
<Key Type="Empty" />
<Key Type="Hold" />
<Key Type="Empty" />
<Key Type="End Call" />
</Default>
</BeTransferred>
Reference URL's