D14869.11
Codec C20 API Reference Guide TC7.0, JANUARY 2014.
Copyright © 2010–2014 Cisco Systems, Inc. All rights reserved.
14
Cisco TelePresence System Codec C20
API Reference Guide
Addressing status information with xStatus
To read the status from the system type the root command (xStatus) followed by a path (address expression):
xStatus <address expression>
Example 1: Query all ongoing Call information:
xStatus Call
*s Call 2 Status: Connected
*s Call 2 Direction: Outgoing
*s Call 2 Protocol: "sip"
*s Call 2 CallType: Video
*s Call 2 RemoteNumber: "[email protected]"
*s Call 2 CallbackNumber: "sip:[email protected]"
*s Call 2 DisplayName: "[email protected]"
*s Call 2 TransmitCallRate: 1152
*s Call 2 ReceiveCallRate: 1920
*s Call 2 CallPriority: None
*s Call 2 FacilityServiceId: 0
*s Call 2 Encryption Type: "None"
*s Call 2 PlacedOnHold: False
*s Call 2 Duration: 6
*s Call 2 AnswerState: Answered
*s Call 2 ModifyState: Idle
*s Call 2 DeviceType: Endpoint
** end
OK
Example 2: Query the protocol for a call:
xStatus Call Protocol
*s Call 3 Protocol: “sip”
OK
xStatus ?
– Status –
Audio
Call[...]
Camera [1..1]
Conference
Diagnostics
Experimental
H320
H323
HttpFeedback[1..4]
ICE
MediaChannels
Network [1..1]
NetworkServices
Preset[1..15]
Provisioning
Security
SIP
Standby
SystemUnit
Time
Video
OK
Status
A status contains the current state of the codec, such as
connected calls, the status of the gatekeeper registration,
connected inputs and output sources.
Writing
xStatus ?
on the command line lists all top level
statuses.
Writing
xStatus
lists all statuses and their current values.
To list out only some of the statuses, write xstatus followed by
the relevant part of the status path.
Contents
Introduction
About the API
xConfiguration
Appendices
xCommand
xStatus
About the API