on 01-24-2014 09:47 AM
You could send a SOAP request to the machine to fetch the info about IP phones(including IP address) and LIne number using the name of the device:
........
Thanks and Regards,
Madhukar
Hi:
I posted the same question in the IP Services foro, but I think this foro is more appropiate.
I've got the phone extension number from the Active Directory using LDAP, then, I need the IP phone address to make a PUSH data to that phone.
How can I do this in a simple way?
thank you in advance,
marcelo
Hi
I tried above request but I got below Error
<soapenv:Fault xmlns:axis2ns11="http://schemas.xmlsoap.org/soap/envelope/">
<faultcode>axis2ns11:Client</faultcode>
<faultstring>The endpoint reference (EPR) for the Operation not found is https://XXXXX:8443/axl/services/AXLAPIService and the WSA Action = CUCM:DB ver=8.5 SelectCmDevice</faultstring>
<detail/>
</soapenv:Fault>
Any help?
For calling <SelectCmDevice>, the service URL and SOAPAction header appear to be incorrect (you're using the values appropriate to the AXL API, vs. the Risport API). Per the cURL command referenced above:
curl -k -u <adminUser> -H "Content-type: text/xml;" -H "SOAPAction: 'http://schemas.cisco.com/ast/soap/action/#RisPort#SelectCmDevice'" -d @ipRequest.xml https://<CMServer>:8443/realtimeservice/services/RisPort
You need to use the URL as: https://<CMServer>:8443/realtimeservice/services/RisPort
and the SOAPAction header as: SOAPAction: 'http://schemas.cisco.com/ast/soap/action/#RisPort#SelectCmDevice'
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: