TANDBERG MPS API

User Guide

<BaudRate item="1">2400</BaudRate>

</SerialPort>

</Configuration>

xpreferences xmlstatusfeedback <on/off>

If xmlstatusfeedback is set to on, all status feedback will be returned in XML-format instead of the standard XACLI status format.

Example 2.26

XACLI-format:

*s Call 1 (status=Synced, type=Vtlph, protocol=H323, direction=Outgoing):

Channels 1 (type=Incoming): Rate: 736

Audio (status=Active):

Protocol: G722_1

Rate: 32

*s/end

XML-format: <Status>

<Call item="1" status="Synced" type="Vtlph" protocol="H323" direction="Outgoing">

<Channels item="1" type="Incoming"> <Rate item="1">768</Rate> <Audio item="1" status="Active">

<Protocol item="1">G722</Protocol> <Rate item="1">64</Rate>

</Audio>

</Channels>

</Call>

</Status>

xpreferences xmlcommandresult <on/off>

If xmlcommandresult is set to on, response for commands will be returned in XML-format.

Example 2.27

XACLI-format:

xcom dial 10.47.15.127

*r Result (status=OK): CallRef: 1 LogTag: 8

*r/end

XML-format:

xcom dial 10.47.15.127

<Result item="1" status="OK"> <CallRef item="1">1</CallRef> <LogTag item="1">8</LogTag>

</Result>

35

Page 37
Image 37
TANDBERG D13639 manual BaudRate item=12400/BaudRate