10-05-2016 05:22 PM
Hi,
I would like to clear call history (missed, received, placed) on the phone through AXL?
Do you have any way to do this?. That would be much appreciated!
Regards
Thuy Doan
10-05-2016 06:29 PM
Via AXL, about all you can do is restart the device via <doDeviceReset>
https://developer.cisco.com/media/axl-schema-11-5/Files/AXLSoap_doDeviceReset.html#Link40F
The other possibility involves the IP Phone Services XML API. With this approach, the application makes an HTTP POST to the device's onboard mini web server, with a specially formatted XML object that includes the 'Init:CallHistory' URI:
<CiscoIPPhoneExecute>
<ExecuteItem URL="Init:CallHistory"/>
</CiscoIPPhoneExecute>
https://developer.cisco.com/site/ip-phone-services/
Note, this approach involves a few challenges, i.e.:
- The application must know the IP address of the phone (or possibly use TAPI or JTAPI's data pass through features). The Serviceability Risport API may be helpful in getting IP addresses:
https://developer.cisco.com/site/sxml/documents/api-reference/risport/
- The POST requires authentication, so a CUCM username/password must be given, with a user that is associated to the target device
10-06-2016 06:43 AM
Thank you for your response.
Regards
Thuy Doan
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