Xacli – command-type commands – issuing a command, Issuing a command, Sequence notation (optional) – TANDBERG 6000MXP User Manual
Page 49: Command response, Xacli – command-type – issuing a command

D 13887.08
MAY 2008
49
TANDBERG 3000
MXP
&
6000
MXP
REFERENCE GUIDE FOR SYSTEM INTEGRATORS
When issuing a command, the system will return a set of return values. The
response will by default be on the same format as the standard XACLI Status
format. The other supported status formats (completepath/XML) are also
supported – ref.
EXAMPLE
xcommand dial 558458
*r Result (status=OK):
CallRef: 1
LogTag: 6
*r/end
OK
If complete path is enabled for the RS-232/Telnet session
(“
xpreferences completepath on”):
EXAMPLE
xcom dial 558458
*r Result (status=OK):
*r Result CallRef: 1
*r Result LogTag: 4
OK
XACLI – Command-type Commands – Issuing a Command
About the TANDBERG API
A command must start with the command-type command (
xcommand), followed by a command name, followed
by a set of parameters. Parameters values are identified by specifying the parameter name followed by a ‘
:’
EXAMPLE:
xcommand dial number:558458 restrict:on callrate:128 subaddress:10
If there are multiple instances of a parameter, the item number is added after the tag separated with a dot:
EXAMPLE:
xcommand groupentryadd name:TANDBERG localentryid.1:15 localentryid.2:57
Issuing a Command
Command Response
Sequence Notation (Optional)
When using this notation the parameter values must be entered in the sequence as stated in the help text:
EXAMPLE:
*h xCommand Dial 920/2560/3072/4096/Max/Auto> A combination of markup notation and sequence is also supported. The EXAMPLE: xcommand dial 666 restrict:on 777 8 128 Combination of Markup Notation and Sequence (Optional) NOTE! When using XACLI as a machine-machine interface we recommend that you use markup notation and always supply complete tag names.
Number:
SecondNumber:
SubAddress:
CallRate:
Restrict:
NetProfile: <1..7>
BillingCode:
To dial a participant with the following properties: Number: 666, SecondNumber:777, SubAddress: 8, CallRate:
128, Restrict: On
xcommand dial 666 777 8 128 on
marked parameters will be assigned the user entered values first, then the
system will assign the sequence entered parameters for the parameters not
yet having been assigned a value: