cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
629
Views
0
Helpful
2
Replies

Clear Call History

TDoan
Level 1
Level 1

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

2 Replies 2

dstaudt
Cisco Employee
Cisco Employee

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

Thank you for your response.

Regards

Thuy Doan