02-01-2009 12:11 PM - edited 03-13-2019 06:02 PM
<p>Does any one know how to get (which table is the info in) a phone's registration status, ie the UCM server its registered to or if its not registered at all?</p>
<p>This doesnt seem to be held in the Device table...</p>
<p> </p>
<p> </p>
<p> </p>
Solved! Go to Solution.
02-02-2009 07:22 AM
I'm afraid that's not in the database. Depending on the CCM release you need to query the DeviceListX.asp report (details in the ip phone services developer guide that you can get in the appropriate section at developer.cisco.com) or send a SelectCmDevices AXL Serviceability query (with the usual caveat of only 200 devices per query.. so you need AXL to extract all devices, then send one AXL Serviceability request per 200 devices until you have all the devices).
You'll also find the details on developer.cisco.com (http://developer.cisco.com/web/sxml/home)
02-02-2009 07:22 AM
I'm afraid that's not in the database. Depending on the CCM release you need to query the DeviceListX.asp report (details in the ip phone services developer guide that you can get in the appropriate section at developer.cisco.com) or send a SelectCmDevices AXL Serviceability query (with the usual caveat of only 200 devices per query.. so you need AXL to extract all devices, then send one AXL Serviceability request per 200 devices until you have all the devices).
You'll also find the details on developer.cisco.com (http://developer.cisco.com/web/sxml/home)
02-02-2009 01:59 PM
Thanks for the help.. Ive got the data however the returned result is killing me
Im getting something like
When I would like to see
Is there any way to kill off the
xsi:type="xsd:string"
02-03-2009 06:32 AM
How do you parse the results?
I'm using xpath queries and I don't have to worry about that unless the elements contain different namespaces (in which case I transform using an xsl and then run the queries).
02-03-2009 07:56 AM
I take the results and load them into an MS XLM document, I then parse out the elements///
xmlDoc=new ActiveXObject("Microsoft.XMLDOM");
xmlDoc.async="false";
xmlDoc.loadXML(result);
For all of the AXL calls to UCM, my results come back as
the MS XMLdom doent like the namespaces...
02-03-2009 08:14 AM
Ok I got it...
My results were set to capture the text not the xml...
The MS XMLDOM does ignore the namepsaces...
Thanks for your help..
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