cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
51
Views
0
Helpful
0
Comments
cdnadmin
Level 11
Level 11
This document was generated from CDN thread

Created by: Steve Schultz on 31-07-2009 07:23:02 PM
When my Cisco phone makes a specific request to my web service, the web service needs to see the telephone number of the phone. How can I do that?
 
Thanks,
Steve

Subject: RE: Webservice needs to see the phone number
Replied by: David Staudt on 31-07-2009 10:02:17 PM
You can query the phone's internal webserver via http://[phone-ip]/DeviceInformationX
 
The response will be an XML document that includes <phoneDN>
 
Note, if the phone has multiple lines, only the top line is shown.
 
If you need to obtain more complete phone information, ensure the phone is providing its device name by including a URL parameter with the #DEVICENAME# macro like:
 
http://service-ip/service/myservice.asp?device=#DEVICENAME#
 
The phone will replace the macro with its specific device name - i.e. SEPxxxxxxxxxxxx.  You can then use the AXL SOAP API <getPhone> to obtain phone details, including specifics on all line appearances.
 
http://developer.cisco.com/web/axl

Subject: RE: Webservice needs to see the phone number
Replied by: Steve Schultz on 03-08-2009 03:19:51 PM
David,
 
I think this will work perfectly.
Thanks!
 
Steve
Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community:

Quick Links