【问题标题】:How to query All devices with status None in axl?如何在axl中查询状态为None的所有设备?
【发布时间】:2019-06-08 17:14:22
【问题描述】:

目前我正在尝试使用 AXL 来查询电话状态。

我正在构建 python web 应用程序以在呼叫管理器中查询电话状态。

<SOAP-ENV:Envelope xmlns:ns3="http://www.w3.org/2001/XMLSchema"
xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:ns0="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:ns1="http://schemas.cisco.com/ast/soap/"
xmlns:ns2="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
<SOAP-ENV:Header/>
<ns2:Body>
<ns1:SelectCmDevice>
    <CmSelectionCriteria xsi:type="ns1:CmSelectionCriteria">
        <Class xsi:type="tns:DeviceClass">Phone</Class>
        <ns1:SelectBy xsi:type="ns3:string">Name</ns1:SelectBy>
    </CmSelectionCriteria>
</ns1:SelectCmDevice>
</ns2:Body>
</SOAP-ENV:Envelope>

我希望它能够提供所有电话。但它不会给电话状态为无。

请指向正确的文档以查询无状态的设备。

【问题讨论】:

    标签: cisco cucm cisco-axl


    【解决方案1】:

    CUCM Risport SOAP 服务将仅包含自上次 CUCM 重新启动后(以及最近约 48 小时内)在某个时间点已向 CUCM 注册的设备的数据 - 从未注册的设备将不会出现。

    您可能需要使用 CUCM AXL SOAP API(即&lt;listPhone&gt;)来获取已配置设备的完整列表,然后与您从 Risport SOAP 返回的内容进行比较以确定从未注册的设备。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2014-12-18
      • 2011-03-04
      • 2019-01-09
      • 1970-01-01
      • 2012-01-28
      • 2011-08-09
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多