Unanswered Question
Oct 2nd, 2007

I kown the #DEVICENAME# param can be defined to be send when one publish the service in the callManager.

But, what if I need the phone to make a request to de application url directy? how can I define this #DEVICENAME# param to be send by the phone.

example, if I made a CiscoIPPhoneMenu and one menu item send you to another URL, how can I do????

I?m trying only by setting the url http://xxxxx.jsp?device=#DEVICENAME# in the CiscoIPPhoneMenu but it doesnt work... :(

Thanks a lote!

I have this problem too.
0 votes
  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 0 (0 ratings)
ckatene Wed, 10/03/2007 - 14:51

just leave the parameter off. If you configure a URL as the phone's services URL, when the phone makes a request to the URL it will add the parameter 'name' to the request with the devicename.

disclaimer: haven't done this for a while. it used to work this way, but knowing cisco's commitment to backward compatibility (or lack thereof) ...

Sascha Monteiro Fri, 10/05/2007 - 23:36

the 1st url (the one in the ipphone service o.e.) should have the device=#DEVICENAME# in the request, in that page you just need to "extract" that parameter and pass it onto the next url, i.e.

String theDevice = request.getParameter("device");

and then you can use that to populate your URL's like this;

String theUrl = "http://xxxx.jsp?device="+theDevice;



n.rungjitwaranon Mon, 11/12/2007 - 21:38

Does the IP Phone also send it's model name when requesting the service?

I have some problem when displaying contents on 7911 screen while 7940 can display correctly. So I would like to write a script to check the model name before showing the contents. Please help.

Thank you in advance.

ckatene Mon, 11/12/2007 - 23:27

yes it does, from memory. but its a header field, not an http parameter. do a trace of a request and you should see it.


This Discussion