03-28-2012 09:29 AM - edited 03-17-2019 10:58 PM
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??
Solved! Go to Solution.
03-30-2012 06:50 AM
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.
03-30-2012 08:40 AM
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
03-28-2012 01:55 PM
The TMS online help says we need to use this notation for custom commands:
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
03-28-2012 02:37 PM
Hmm... What I suggested above didn't work...
curl -d "
returned:
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...
03-30-2012 03:38 AM
Anyone else able to help?
Sent from Cisco Technical Support iPad App
03-30-2012 06:50 AM
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.
03-30-2012 08:40 AM
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
03-30-2012 08:46 AM
Cheers guys will monitor the bug and will look in to scripting a ssh job.
Sent from Cisco Technical Support iPad App
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: