Cisco TelePresence System Codec C20
Contents
Introduction
Translating from terminal mode to XML
Translating commands
The XML commands maintain the same structure as the terminal
commands, but they use a parent-child relationship to describe
the hierarchy. You can see this structure in the examples below.
example 1: Setting up a call.
Terminal
xCommand Dial Number: "12345" Protocol: H323
XML
<Command>
<Dial command="True">
<Number>12345</Number>
<Protocol>H323</Protocol>
</Dial>
</Command>
example 2: Assigning video layout to a call.
Terminal
xCommand Video Layout AssignCall CallId: 2
LayoutId: 1
XML
<Command>
<Video>
<Layout>
<AssignCall command="True">
<CallId>2</CallId>
<LayoutId>1</LayoutId>
</AssignCall>
</Layout>
</Video>
</Command>
Codec C20 API Reference Guide TC6.0 February 2013.
D14869.05
About the API
About the API
xConfiguration
Translating configurations
Translating from xConfiguration to XML is similar to commands,
but with the addition of a special attribute item="NN" for speci-
fying the index in arrays.
example: Configuring connector for input source 2.
Terminal
xConfiguration Video Input Source 2
Connector: HDMI
XML
<Configuration>
<Video>
<Input>
<Source item="2">
<Connector>HDMI</Connector>
</Source>
</Input>
</Video>
</Configuration>
23
xCommand
xStatus
Copyright © 2010–2013 Cisco Systems, Inc. All rights reserved.
API Reference Guide
Appendices
Need help?
Do you have a question about the Codec C20 and is the answer not in the manual?
Questions and answers