« Back to Serviceability XML Questions

Re: SelectCmDevice, SelectCmDeviceSIP - status filter problem

Combination View Flat View Tree View
Threads [ Previous | Next ]
Unfortunately, that's the way it works. I opened a case on this and they're going to change the documentation.. not the functionality even though I pointed out that this used to work as expected on CCM4 (well it's not exactly the same but DeviceListX.asp contained devices in Unknown state). Basically you need to query the device table, make your serviceability request, then compare the results.. anything that is a device but not in the serviceability output is in status unknown.

Stephen would you mind sending me the bug # or case#: dstaudt@cisco.com

Unfortunately, that's the way it works. I opened a case on this and they're going to change the documentation.. not the functionality even though I pointed out that this used to work as expected on CCM4 (well it's not exactly the same but DeviceListX.asp contained devices in Unknown state).
 
You mean it's not a bug? So what is expected behavior of querying devices by "Unknown" status? The documentation is constantly being copy-pasted with syntax errors like here: http://www.cisco.com/en/US/docs/voice_ip_comm/cucm/devguide/6_0_1/ccmdvCh2.html#wp43191 - just look at the section "<span class="content">Array of Items for Which Search Criteria Are Specified</span>".
Basically you need to query the
device table, make your serviceability request, then compare the
results.. anything that is a device but not in the serviceability
output is in status unknown.

You mean that I shoul make AXL getPhones query to compare results with SelectCmDevice? But that requires different user permissions so it's not a complete solution.
Regards,
Peter

As you can see, in the 8.01 documentation errors are still being copy-pasted:
http://www.cisco.mn/en/US/docs/voice_ip_comm/cucm/devguide/8_0_1/serviceability.html#wp1053885
 
I haven't tested AXL functionality on this version yet, but that doesn't make me feel good about this...
 

Array of Items for Which Search Criteria Are Specified

The following example specifies an array that contains the IP Address or
Device Name of the items for which a real-time status is required.

<SelectItems href="#id2" />Name or IP</tns:CmSelectionCriteria
<soapenc:Array id="id2" soapenc:arrayType="tns:SelectItem[2]">
<Item href="#id3"/><Item xsi:null="1"/>
</soapenc:Array>
<tns:SelectItem id="id3" xsi:type="tns:SelectItem">
<Item xsi:type="xsd:string"/></tns:SelectItem>
</soap:Body>
</soap:Envelope>