jbarcena Thu, 04/12/2007 - 11:17

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

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

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

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

agiaccone Tue, 04/15/2008 - 04:48

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

HTH

Alberto

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

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

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

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

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.

Senthil Kumar Sankar Tue, 11/29/2011 - 02:36

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

Senthil Kumar Sankar Tue, 11/29/2011 - 02:53

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

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

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

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

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

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

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

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

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

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

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

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

I'm waiting for the answer from customers.

Best regards.

Actions

This Discussion