Yealink Forums
XML TextMenu Object Problem on T54W FW 96.86.0.45 - Printable Version

+- Yealink Forums (http://forum.yealink.com/forum)
+-- Forum: IP Phone Series (/forumdisplay.php?fid=4)
+--- Forum: T5X Series (/forumdisplay.php?fid=58)
+--- Thread: XML TextMenu Object Problem on T54W FW 96.86.0.45 (/showthread.php?tid=45770)



XML TextMenu Object Problem on T54W FW 96.86.0.45 - roemer_m - 04-29-2022 04:51 AM

Hello,
I use XML-Textmenu to read and display status information of my PBX and offer possibilities to change these workplace settings via Menuitems. The MenuItems contains options to change settings using both URI and Dial MenuItem-parameters to have best user experience. If I choose to Dial every works as expected and menu is closed after dialing but if I choose SoftKey:Select to activate URI action (which also dials the same number as Dial does using a custom dial-URL on my FreePBX) the menu is not closed and stays open afterwards. Because settings have changed meantime the content of menuitems shows now wrong (old) information. Question is how can I close the screen also on SoftKey:Select as SoftKey:Dial does or other option I see, how can I refresh TextMenu items after activation of SoftKey:Select?
I have already tried to set TextMenu option like refresh/url etc. but doesn't found a working setup. The best way would be to add a AfterAction-parameter to SoftKey items with at least exit/close/refresh option which describes the screen behaviour after activating the SoftKey.
Any help or pointer to fixes are welcome. Sample XML-files and data could be provided on request.
Thanks in advance, Siegfried Roemer


RE: XML TextMenu Object Problem on T54W FW 96.86.0.45 - sbhsjr - 05-30-2022 01:18 PM

We are finding a similar issue using the YealinkIPPhoneInputScreen XML node on the 96.86.0.106.
We have a SoftKey:Submit that is pressed and phone receives an YealinkIPPhoneExecute that dials a number, however when the phone hangs up the input screen is still visible.
The soft buttons really need a way to say what happens to the screen after they are pushed.


RE: XML TextMenu Object Problem on T54W FW 96.86.0.45 - sbhsjr - 05-31-2022 01:57 PM

A possible solution is the new
Code:
destroyOnExit="yes"
root flag for some menus.
It is only shown in the newer XML developer guide (> 2020) and will close the menu before processing the action.


RE: XML TextMenu Object Problem on T54W FW 96.86.0.45 - roemer_m - 05-31-2022 02:17 PM

(05-31-2022 01:57 PM)sbhsjr Wrote:  A possible solution is the new
Code:
destroyOnExit="yes"
root flag for some menus.
It is only shown in the newer XML developer guide (> 2020) and will close the menu before processing the action.

Thanks for that pointer to those new option. It is a workaround but better solution than destroying and recreating screen every time externally by pushing a new xml would be to have also an option on deskphone site to refresh content actively by calling a url like for instance
Code:
refreshOnExit="URL"
.