Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Pb with HTML Toolkit

Status
Not open for further replies.

olive

Programmer
May 10, 2001
76
0
0
FR
Good Morning,

For Hospitality needs, we are customising the display of the 5340 IP Phone using the HTML ToolKit.

I have a problem using the SetButtonFunction() function of the Mitel HTML ToolKit on a 5340 IP Phone in GUIReplacement Mode.

This function always returns -1.

I tried the example given in the Mitel documentation :
TelML.Buttons.Item("PK2").SetButtonFunction("Boss', "SpeedCall","1234"); But it returns -1.
I tried other functions as "DoNotDisturb", "PhoneBook" ? but with same issue.

Before calling this function I check that the GetIsProgrammable() function returns TRUE. And that's right.

I tried it in the "Hospitality" template and added this line at the end of the SetGUIReplacementMode() function of the telephony.js file.


I don't know if it is a bug ?

Could you help me please ?

Best regards.
 
Hi,
nobody works with the HTML toolkit ?
 
I've Been playing with this a little bit.

I did notice in the scripting that the Variable for SetButtonfuction is set to -1 early on.

I would surmise that your script does not properly assign a new variable.

*******************************************************
Occam's Razor - All things being equal, the simplest solution is the right one.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top