When I list all devices on my 12.5SU6 CUCM, using this request
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns="http://www.cisco.com/AXL/API/12.5"><soapenv:Header/><soapenv:Body><ns:listPhone sequence="0"><searchCriteria><name>%</name></searchCriteria><returnedTags><name/><product/><locationName/><callingSearchSpaceName/><userLocale/><devicePoolName/><ownerUserName/></returnedTags></ns:listPhone></soapenv:Body></soapenv:Envelope>
I'm not only getting my phones, but also CTI RPs and gatewaySccpEndpoints.
This is different from ccmadmin where CTI RPs and gatewaySccpEndpoints are in separate menus. I'm assuming somebody forgot to add a filter to remove these devices from listPhone.
I'd also recomment to check getPhone.. I've previously managed to extract a gatewaySccpEndpoints using the getGatewayEndpointAnalogAccess command.