09-20-2021 08:22 AM - edited 09-20-2021 08:22 AM
Is it possible to retrieve the Cisco Unity Connection (or Cisco Unity) server IP address using AXL?
Solved! Go to Solution.
09-20-2021 09:18 AM
Try the <listApplicationServer> request:
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns="http://www.cisco.com/AXL/API/14.0"> <soapenv:Header/> <soapenv:Body> <ns:listApplicationServer sequence="1"> <searchCriteria> <name>%</name> </searchCriteria> <returnedTags> <appServerType/> <name/> <ipAddress/> <url/> <endUserUrl/> <processNodeName/> </returnedTags> </ns:listApplicationServer> </soapenv:Body> </soapenv:Envelope>
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns="http://www.cisco.com/AXL/API/14.0"> <soapenv:Body> <ns:listApplicationServerResponse> <return> <applicationServer uuid="{8623AACF-5D11-2C4E-B243-35FEB85F0B18}"> <appServerType>Cisco Unity Connection</appServerType> <name>sjds-cuc14.cisco.com</name> <ipAddress>10.194.239.238</ipAddress> <url/> <endUserUrl/> <processNodeName/> </applicationServer> </return> </ns:listApplicationServerResponse> </soapenv:Body> </soapenv:Envelope>
09-20-2021 09:18 AM
Try the <listApplicationServer> request:
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns="http://www.cisco.com/AXL/API/14.0"> <soapenv:Header/> <soapenv:Body> <ns:listApplicationServer sequence="1"> <searchCriteria> <name>%</name> </searchCriteria> <returnedTags> <appServerType/> <name/> <ipAddress/> <url/> <endUserUrl/> <processNodeName/> </returnedTags> </ns:listApplicationServer> </soapenv:Body> </soapenv:Envelope>
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns="http://www.cisco.com/AXL/API/14.0"> <soapenv:Body> <ns:listApplicationServerResponse> <return> <applicationServer uuid="{8623AACF-5D11-2C4E-B243-35FEB85F0B18}"> <appServerType>Cisco Unity Connection</appServerType> <name>sjds-cuc14.cisco.com</name> <ipAddress>10.194.239.238</ipAddress> <url/> <endUserUrl/> <processNodeName/> </applicationServer> </return> </ns:listApplicationServerResponse> </soapenv:Body> </soapenv:Envelope>
09-21-2021 01:55 AM
Thank you very much for help. What will this request return if there is no Cisco Unity Connection and no Cisco Unity server set up? Empty list or maybe some invalid response? What will be the appServerType if Cisco Unity is used (not Cisco Unity Connection) - just "Cisco Unity"?
09-21-2021 06:32 AM
If there is no voice mail server, the list will be empty. The list of <appServerTypes> is in the schema here: https://pubhub.devnetcloud.com/media/axl-schema-reference/docs/Files/AXLSoap_XAppServer.html#Link51
09-21-2021 01:57 AM
For another users that will see this question - it is also possible to get ip addresses using RisPort API:
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