【发布时间】: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>
我希望它能够提供所有电话。但它不会给电话状态为无。
请指向正确的文档以查询无状态的设备。
【问题讨论】: