Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Community Member

Get Phone Registration Status

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

1 ACCEPTED SOLUTION

Accepted Solutions

Re: Get Phone Registration Status

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)

5 REPLIES

Re: Get Phone Registration Status

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)

Community Member

Re: Get Phone Registration Status

Thanks for the help.. Ive got the data however the returned result is killing me

Im getting something like

myservername

When I would like to see

myservername

Is there any way to kill off the

xsi:type="xsd:string"

Re: Get Phone Registration Status

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

Community Member

Re: Get Phone Registration Status

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 data

the MS XMLdom doent like the namespaces...

Community Member

Re: Get Phone Registration Status

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

242
Views
0
Helpful
5
Replies
CreatePlease to create content