cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1980
Views
0
Helpful
4
Replies

How to retrieve the Cisco Unity Connection IP address using AXL?

Zygmuntix
Level 1
Level 1

Is it possible to retrieve the Cisco Unity Connection (or Cisco Unity) server IP address using AXL?

1 Accepted Solution

Accepted Solutions

dstaudt
Cisco Employee
Cisco Employee

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>

View solution in original post

4 Replies 4

dstaudt
Cisco Employee
Cisco Employee

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>

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

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 

Zygmuntix
Level 1
Level 1

For another users that will see this question - it is also possible to get ip addresses using RisPort API:

How to get all endpoints ip? 

Getting Started

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: