jbarcena Thu, 04/12/2007 - 11:17
User Badges:
  • Red, 2250 points or more

There is no way to do this automatically but you could disable the direcotries access of the phones by phone or clusterwide. If you choose to do this clusterwide then go to the Enterprise Parameters and set the "URL Directories" to a fake URL.


In order to do this per phone, leave the Enterprise Parameter correct and then go to the phone were you wish to disable the access to the Direcotries, using the CCMAdmin webpage go to Device --> Phone and then to the phone, under "Cisco IP Phone - External Data Locations" you will see the Directoy field, just set a dummy/fake URL.



HTH


//Jorge

Aaron Harrison Fri, 04/13/2007 - 01:10
User Badges:
  • Super Bronze, 10000 points or more
  • Community Spotlight Award,

    Member's Choice, May 2015

Hi


You can clear the call history by doing the following:


1) Copy the attached .xml file into your callmanager's c:\CiscoWebs\IPPhoneServices\CCMCIP directory.


2) Configure the 'idle URL' on the phone config page to point to http:///CCMCIP/clearcallhistory.xml


3) Set the idle URL timer to something appropriate (i.e. quick enough to clear the history in a time that satisfies you, but not so short that it puts too much load on the server).


Once done, during any period of inactivity on the phone it will count down the idle timer and clear the history when it expires.


I've just knocked this together and tested on IP Communicator so your mileage may vary.


Regards


Aaron Harrison

Principal Engineer at Logicalis UK


Please rate helpful posts...

hwilms5575 Fri, 04/27/2007 - 14:46
User Badges:

I completed the tasks listed but I recieve an HTTP error 404 using a 7961 phone. Have you experienced this? Thanks

iptuser55 Tue, 04/15/2008 - 01:18
User Badges:
  • Silver, 250 points or more

Can you post the XML file again as it timed out for me- many thanks

agiaccone Tue, 04/15/2008 - 04:48
User Badges:
  • Bronze, 100 points or more

I don't know if it's the same of the expired attachment, however this one worked for me :







HTH

Alberto

ftachiya.. Thu, 05/10/2007 - 22:37
User Badges:

Hi,

How about 7912, 7905? idle URL no exist.

Got any ideas?

p-kitaka Mon, 04/14/2008 - 19:26
User Badges:

Hi Aaron,


Please repost the .xml file.


thanks

zhangjianping Sun, 08/17/2008 - 04:34
User Badges:

Hi sir, would u pls repost this xml file again? Seems we can't download it

sachin.mahangade Sun, 01/23/2011 - 22:37
User Badges:

How to do it on CUCM 7.1 or CUCM 6.1?? We are not using Extension mobility.

jasonwarner Mon, 01/24/2011 - 12:22
User Badges:

Sachin - do you want to clear the history or just prevent the directory from showing up? It shouldn't matter which version you are using or if you are using extension mobility.

sachin.mahangade Mon, 01/24/2011 - 22:41
User Badges:

I want to clear the Call history i.e. missed calls, received calls and Placed calls centrally from Callmanager which may be on time basis. I am not able to open the URL mentioned above. So I am wondering we may not have that XML file on the CUCM6.1.


Also if I dont want to show it at all then I may lose the Corporate directory as well. Is there any way to only disable the Call history form showing up on the phones?



BR,

Sachin

jasonwarner Tue, 01/25/2011 - 04:47
User Badges:

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.

neeraj.suriyal@... Mon, 11/28/2011 - 13:22
User Badges:

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.

Muthurani Lavan... Tue, 11/29/2011 - 02:13
User Badges:
  • Gold, 750 points or more

Aaron


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

Senthil Kumar Sankar Tue, 11/29/2011 - 02:36
User Badges:
  • Cisco Employee,

Hi Aaron,


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


- 

   Init:CallHistory" />

Key:NavUp" />

Key:NavDown" />



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

Aaron Harrison Tue, 11/29/2011 - 02:37
User Badges:
  • Super Bronze, 10000 points or more
  • Community Spotlight Award,

    Member's Choice, May 2015

No problem!


Seems lots of people find this one useful :-)

Senthil Kumar Sankar Tue, 11/29/2011 - 02:53
User Badges:
  • Cisco Employee,

Hi Aaron,


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


- 

   Init:CallHistory" />


Key:NavUp" />

Key:NavDown" />



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

Aaron Harrison Tue, 11/29/2011 - 03:01
User Badges:
  • Super Bronze, 10000 points or more
  • Community Spotlight Award,

    Member's Choice, May 2015

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

Pascal Blumenthal Tue, 06/02/2015 - 06:24
User Badges:

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

Aaron Harrison Wed, 06/03/2015 - 01:37
User Badges:
  • Super Bronze, 10000 points or more
  • Community Spotlight Award,

    Member's Choice, May 2015

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

Pascal Blumenthal Thu, 06/04/2015 - 00:56
User Badges:

Hi Aron

Thank you very much for your information.

Have a nice day.

Regards,

Pascal

Aaron Harrison Thu, 06/04/2015 - 01:23
User Badges:
  • Super Bronze, 10000 points or more
  • Community Spotlight Award,

    Member's Choice, May 2015

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

DWAM_2 Tue, 11/10/2015 - 06:08
User Badges:

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.

Aaron Harrison Wed, 11/11/2015 - 07:30
User Badges:
  • Super Bronze, 10000 points or more
  • Community Spotlight Award,

    Member's Choice, May 2015

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

DWAM_2 Thu, 11/12/2015 - 02:56
User Badges:

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.

Aaron Harrison Thu, 11/12/2015 - 03:11
User Badges:
  • Super Bronze, 10000 points or more
  • Community Spotlight Award,

    Member's Choice, May 2015

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

DWAM_2 Thu, 11/12/2015 - 04:43
User Badges:

Apache 2.4

clearcallhistory.xml

We have done a capture with wireshark when the phone ask the link and the answer was http ok 1.1 200.

On the phone, we still have the error : "http file error"

Best regards.

Aaron Harrison Fri, 11/13/2015 - 00:46
User Badges:
  • Super Bronze, 10000 points or more
  • Community Spotlight Award,

    Member's Choice, May 2015

What was the contentType header in the response? You should see this in wireshark.

DWAM_2 Tue, 11/17/2015 - 08:12
User Badges:

I'm waiting for the answer from customers.


Best regards.

Actions

This Discussion