05-18-2018 04:41 AM
Hi,
I'm trying to update the phone using the updatePhone to change the Line configuration to enable call recording (I feel like, categorically, these settings should be in the updateLine request, but whatever). Anyways, here's the SOAP envelope I'm sending:
`<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns="http://www.cisco.com/AXL/API/11.5">
<soapenv:Header/>
<soapenv:Body>
<ns:updatePhone sequence="?">
<name>SEPAABBCC112233</name>
<line ctiid="?">
<index>1</index>
<recordingFlag>Automatic Call Recording Enabled</recordingFlag>
<recordingProfileName uuid="?">Calabrio</recordingProfileName>
<recordingMediaSource>Phone Preferred</recordingMediaSource>
<monitoringCssName uuid="?">Calabrio-CSS</monitoringCssName>
</line>
</ns:updatePhone>
</soapenv:Body>
</soapenv:Envelope>`
I get a response of 200 and the server returns a GUID, but nothing changes in the line configuration.
I tried to send an applyPhone command and again I get a 200 and a GUID, but no changes are made:
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns="http://www.cisco.com/AXL/API/11.5">
<soapenv:Header/>
<soapenv:Body>
<ns:applyPhone sequence="?">
<name>SEPAABBCC112233</name>
</ns:applyPhone>
</soapenv:Body>
</soapenv:Envelope>
What am I doing wrong?
Thanks!