07-07-2004 06:41 AM - edited 03-13-2019 05:32 AM
Hello everyone!
Is there a way to make different softkeys for different CiscoIPPhone Menus(I mean, if one item is selected, it should show the button, if the other is selected, it shouldn't, etc.)
And also, is there a way to learn which item was selected when user pressed custom softkey?
Thank you in advance for you help,
best regards,
Victor
07-08-2004 10:33 AM
No, there is no way to disable a softkey depending on which menu item is highlighted.
Each softkey has an associated URL, and each menuitem also has an associated URL. When the Select softkey is pressed, the phone calls the URL associated with the currently highlighted menu item. When a custom softkey is pressed, the phone calls the URL associated with the softkey pressed. If the softkey URL is a QueryStringParam value, then that parameter is appended to the URL of the currently highlighted menu item and the phone calls that URL. Conversely, if the currently highlighted menu item contains a QueryStringParam value, that parameter is appended to the URL of the softkey pressed by the user and the phone calls that URL.
For example:
To provide customized actions on a menuitem based on which softkey a user presses, try using the QueryStringParam URI. In the URL parameter of each menuitem, use a string of the format QueryStringParam:message=1 instead of an URL like http://webserver/myapp/app.asp. Then put the URL on your softkey (i.e. http://webserver/myapp/app.asp). When the user presses the softkey with that menuitem selected, the phone will call an url like http://webserver/myapp/app.asp?message=1
e.g.:
Name>Message Two
Note that you can put the QueryStringParam in the softkey and put the URL on the menuitem if you prefer, it works both ways.
This link provides more information on the XML tags:
For more information on this, you should get the IP Phone SDK, available from Cisco's Developer Support program. The SDK provides more information on developing applications for the IP Phones, and has example applications in both ASP and JSP.
This page describes the IP Phone SDK:
This page describes the Cisco Developer Support Program:
http://www.cisco.com/pcgi-bin/dev_support/access_level/product_support
07-09-2004 02:29 AM
Thank you!
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide