cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
334
Views
0
Helpful
2
Replies

Making soft keys "disabled"

webmailmaster
Level 1
Level 1

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

2 Replies 2

aaronw.ca
Level 5
Level 5

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.:

Message List

Two Messages

Message One

QueryStringParam:message=1

Name>Message Two

queryStringParam:message=2

Read

http://server/read.asp

Delete

http://server/delete.asp

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:

http://www.cisco.com/en/US/products/sw/voicesw/ps556/products_programming_reference_guide_book09186a00801faa4d.html

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:

http://www.cisco.com/en/US/products/sw/voicesw/ps556/products_programming_reference_guide_chapter09186a00801fb6dc.html

This page describes the Cisco Developer Support Program:

http://www.cisco.com/pcgi-bin/dev_support/access_level/product_support

Thank you!