cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
11702
Views
50
Helpful
34
Replies

Automatically Erase Directory Call History

jwarnerGB
Level 1
Level 1

Is there a way to automatically erase the call history on an IP phone ... or disable the the directories all together?

34 Replies 34

Don't think you can clear the call history from a central location for a group of phones without something custom ... if you want to kill the corp directory / call history then just use BAT or manually configure the directory URL for each device for something like http://nodirectory and the directory will not load. This way you can override each device and still keep the enterprise level directories working.

For linux based CUCM you can clear the call history by doing the below config.

1: Host the clearcallhist.xml in a webserver for example:

http://10.10.10.XX/phone/clearcallhist.xml

2: Configure the 'idle URL' on the phone config page to point to the webpage you have configured in above step. i.e

http://10.10.10.XX/phone/clearcallhist.xml

3: Set the idle timer(in phone config page) to the appropriate value.

this will clear the call history.

Aaron

Thanks for sharing the procedures in detail.  My rating is +5

Hi Aaron,

I have 7945 phones, Can i modify the XML file like the below one

- 

  

By doing this, Is this like when I press the Navigation buttons it will clear the CallHistory ?

Can I give multiple Key URL on one XML File

Regards,

Senthilk

No problem!

Seems lots of people find this one useful :-)

Aaron Please remember to rate helpful posts to identify useful responses, and mark 'Answered' if appropriate!

Hi Aaron,

I have 7945 phones, Can i modify the XML file like the below one

- 

  

By doing this, Is this like when I press the Navigation buttons it will clear the CallHistory ?

Can I give multiple Key URL on one XML File

Regards,

Senthilk

Hi Sankar

You can submit multiple ExecuteItems, yes... however as I understand it there's no guarantee on order of execution. So if you are trying to simulate user activity you would have to call each keypress in sequence and check the response (probably by posting to the phone from an application you write, rather than the phone simply pulling this XML file).

What is it you are trying to achieve with the navup/navdown?

Aaron

Aaron Please remember to rate helpful posts to identify useful responses, and mark 'Answered' if appropriate!

Hi Aaron

Do you know how it works now with CUCM 10.x?

To which directory do I need to copy this file and how can I do that?

Thank you for your help.

Regards,

Pascal

Hi Pascal

You would need to host the file on an external web server, and then reference that web server in the URL that you configure on the phone.

This is a limitation of the CUCM Appliance model which does not allow you to host additional web files.

Aaron

Aaron Please remember to rate helpful posts to identify useful responses, and mark 'Answered' if appropriate!

Hi Aron

Thank you very much for your information.

Have a nice day.

Regards,

Pascal

No problem - please remember to rate replies to highlight useful content.

Aaron Please remember to rate helpful posts to identify useful responses, and mark 'Answered' if appropriate!

Hello Aaron,

we have been using yours methods for severals years (since CCM version 4.0) and it was great.

But for an unknown reason, I've got now an error message on the phone as soon as it connnects to the http server with the clearcallhstory.xml.

Message error is : "http file error"

Have you got an idea ?

Best regards.

Could be lots of things - can you still access the file with a browser?

Some phone versions may be sensitive to the content type set in the HTTP response... eg. if it's not set to text/xml


Aaron

Aaron Please remember to rate helpful posts to identify useful responses, and mark 'Answered' if appropriate!

Thank you Aaron,

we can acces the file from browser.

We have checked with http / https : without sucess.

We have checked with the follow code :

original code :
<CiscoIPPhoneExecute>
 <ExecuteItem URL="Init:CallHistory"/>
 <ExecuteItem URL="Key:Services"/>
</CiscoIPPhoneExecute>

other code :
<CiscoIPPhoneExecute>
 <ExecuteItem Priority="0" URL="Init:CallHistory" />
 <ExecuteItem Priority="0" URL="SoftKey:Exit" />
</CiscoIPPhoneExecute>
No success.

Best regards.

Hi

What type of web server is it? e.g tomcat/apache/iis?

What's your filename?

http file error suggests an error with transmission/web server rather than the content of the XML - usually you'd get a parse error or other higher level error if it was the file contents.

Aaron

Aaron Please remember to rate helpful posts to identify useful responses, and mark 'Answered' if appropriate!