06-06-2008 05:55 AM - edited 03-13-2019 05:19 PM
An earlier thread mentioned that using a URL with the parameter #DEVICENAME# would make the IP Phone ( a Cisco 7975 in this case ) update the #DEVICENAME# with the phone's phoneName when an menu item is clicked.
If so this would save me hours of development as I would not have to use AXL to find out the phoneName/MAC Address.
Example:
<Url>http://192.0.0.1/CiscoIPServices/display.asp?name=#DEVICENAME#</Url>
Can someone confirm this for me please?
David
06-06-2008 01:15 PM
no, only if it's the service url where you subscribe to....and only if your services are being serviced from the callmanager...
it's not the phone that put's the phoneName in, but it's the services script on the callmanager that replaces it..
it's not documented well, so one must be careful if they i.e. replace the services url, to have them provisioned by another webserver..
so when you need to use the phoneName further down your script, you will need to use the #DEVICENAME# in the service subscription and keep passing it on as a parameter to the following url's
hth
06-18-2008 07:41 AM
So if I create a Service url for the phone which has a parameter http://xxx/Service.asp?name=#DEVICENAME# and this is hosted on the Call Manager service, which I think it is.
On the Service page, the script could update all the links to have the filled in #DEVICENAME# parameter passed over to the other pages.
Example:
Service.asp?name=#DEVICENAME#
In the Service page:
name = Request.QueryString("name")
Or
06-18-2008 12:38 PM
the Service itself doesn't need to be hosted on the CCM, as long as the Service URL comes from CCM it's ok.
It doesn't update any other links, only your subscribed ipphone service, so you need to do your 1st option,
name = Request.QueryString("name")
06-19-2008 12:42 AM
I've seen a similar example of this being used in the book "Developing Cisco IP Phone Services: A Cisco AVVID Solution", but as this is only a preview on Google it misses the most important page.
Do I need to add this using the CallManager Service URL Parameter or is it enough to add to the Service URL in full?
David
06-19-2008 11:07 AM
just in full in the Service URL,
only use parameters if users need unique settings when they subscribe
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