cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1136
Views
0
Helpful
6
Replies

Clear call log - E20

mattjenkins
Level 1
Level 1

I need to clear the call logs on all my e20's (70 odd) and wanted to be able to run the 'xcommand calllog clear' through a TMS provisioning template.

I saw the Custom Command/Custom Configuration options but these return back with xml errors...

Is this possible at all??

2 Accepted Solutions

Accepted Solutions

Hi,

I think the line should be

However, there is a bug in TE4.x that it has a problem with XML Get command. See CSCtx78605.  This has been fixed and should be part of future release.

However, I think you can use a C-series a try out this command to confirm it does work. Cause C-series uses the same command. 

Alternatively, you can jsut try it on a TE2.x release E20.

View solution in original post

Hi!

Yes I agree with Teck. I tried it yesterday in my Lab.

Well spotted Teck, I wrote the code myself so I did not notice the missing tag :-)

* C60 with TC5.1: worked fine, history removed

* E20 with TE4.0: the error Kjetil described: No action detected in document

* E20 with TE4.1.1: the e20 returned: 500 - Internal Server Error

Did not check with TE2.x but that sounds like a good idea to try.

If TE4.x is required I would look into using an ssh script to execute that command.

Please remember to rate helpful responses and identify

View solution in original post

6 Replies 6

Kjetil Ree
Cisco Employee
Cisco Employee

The TMS online help says we need to use this notation for custom commands:

System name test

I don't have an E20 at hand, so I can't test it myself right now, but I thus think you should use something like

Clear

Hmm... What I suggested above didn't work...

curl -d "Clear" http:///putxml

returned:

No action detected in document

I'm not sure how to translate "xcommand calllog clear" into a command that the endpoint's XML API service  recongnizes, but someone else out there probably knows...

Anyone else able to help?

Sent from Cisco Technical Support iPad App

Hi,

I think the line should be

However, there is a bug in TE4.x that it has a problem with XML Get command. See CSCtx78605.  This has been fixed and should be part of future release.

However, I think you can use a C-series a try out this command to confirm it does work. Cause C-series uses the same command. 

Alternatively, you can jsut try it on a TE2.x release E20.

Hi!

Yes I agree with Teck. I tried it yesterday in my Lab.

Well spotted Teck, I wrote the code myself so I did not notice the missing tag :-)

* C60 with TC5.1: worked fine, history removed

* E20 with TE4.0: the error Kjetil described: No action detected in document

* E20 with TE4.1.1: the e20 returned: 500 - Internal Server Error

Did not check with TE2.x but that sounds like a good idea to try.

If TE4.x is required I would look into using an ssh script to execute that command.

Please remember to rate helpful responses and identify

Cheers guys will monitor the bug and will look in to scripting a ssh job.

Sent from Cisco Technical Support iPad App

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: