cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
176
Views
0
Helpful
0
Comments
cdnadmin
Level 11
Level 11
This document was generated from CDN thread

Created by: Mitchell Walcott on 17-04-2012 07:16:24 PM
Hello everyone,

I currently know how to issue commands to C-series units for various parameters. An example would be for clearing the call log history on a unit.

via SSH client:
xcommand calllog clear

via HTTP:
http://ipaddress/formputxml?xmldoc=<Command><CallLog><Clear command="True"></Clear></CallLog></Command>


What I would like to accomplish is to use the Configuration Templates (within the Provisioning section of TMS) to achieve the same result.

Under the "Select Advanced Settings" area of a configuration template, you can filter your results based on the system type. In my case, I selected "TANDBERG C-series Endpoint" and then viewed the options.

There were two categories that I tried and they were:

Custom Command
and
Custom Configuration

Next to each of these categories, a blank cell is listed that allows you to enter in a custom sequence. I have tried the following parameters, but have not had any luck:

xcommand calllog clear
command calllog clear
calllog clear


When I look at the "Provisioning Activity Status" page, the error message reads as:

An Xml error occurred. Details: Data at the root level is invalid. Line 1, position 1.


Does anyone know what the format should be for this type of scenario? Also, would I use the "Custom Command" or the "Custom Configuration" category?

Best regards,

Mitch Walcott

Subject: RE: Provisioning - Configuration Templates - Custom Command
Replied by: null on 17-04-2012 07:21:04 PM
you must enter the string as XML... just like your HTTP example  (but without the http://address/  stuff)

So it would be like

<Command><CallLog><Clear command="True"></Clear></CallLog></Command>

Subject: RE: Provisioning - Configuration Templates - Custom Command
Replied by: null on 19-04-2012 10:15:05 PM
Hi Steve,

That made the difference.

Thank you very much.

-Mitch
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:

Quick Links