EasyManuals Logo

Cisco TelePresence System Codec C-Series Reference Guide

Cisco TelePresence System Codec C-Series
224 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #20 background imageLoading...
Page #20 background image
D14642.15 Codec C40-C60 API Reference Guide TC7.0, JANUARY 2014. Copyright © 2010–2014 Cisco Systems, Inc. All rights reserved. 20
Cisco TelePresence System Codec C40/C60 API Reference Guide
Feedback from codec over HTTP
To get notifications from the codec, you need to register
HTTP feedback expressions. The codec will then use HTTP
POST to send feedback messages to the supplied IP-
address. This means that you have to have a HTTP server
running for your application to receive updates from the
codec.
Registering for feedback
The command for registering is
xCommand HttpFeedback Register. The syntax for this
command and its arguments are described in this section.
HttpFeedback Register syntax:
xCommand HttpFeedback Register
FeedbackSlot: <1..4>
ServerUrl(r): <S: 1, 2048>
Expression: <S: 1, 255>
Expression: <S: 1, 255>
Expression: <S: 1, 255>
Expression: <S: 1, 255>
Expression: <S: 1, 255>
Expression: <S: 1, 255>
Expression: <S: 1, 255>
Expression: <S: 1, 255>
Expression: <S: 1, 255>
Expression: <S: 1, 255>
Expression: <S: 1, 255>
Expression: <S: 1, 255>
Expression: <S: 1, 255>
Expression: <S: 1, 255>
Expression: <S: 1, 255>
HttpFeedback Register arguments:
FeedbackSlot: The codec can register up to 4 slots of
servers requesting HTTP feedback. Set the registering to one
of them.
Note: Avoid using FeedbackSlot 3 in an environment where
Cisco TelePresence Management Suite (TMS) is used as
TMS uses this feedbackslot to register its expressions.
ServerUrl: The URL that you want the codec to post the
HTTP feedback messages to.
Expression 1-15: Register the expressions you want to
receive feedback on. Refer to ”Feedback mechanism” on
page 17.
Example: Registering feedback on configuration changes,
disconnect events and call status changes.
<Command>
<HttpFeedback>
<Register command=”True”>
<FeedbackSlot>1</FeedbackSlot>
<Se r ver Url>htt p://127.0.0.1/
myhttppostscripturl</ServerUrl>
<Expression item=”1”>/Configuration
</Expression>
<Expression item=”2”>/Event/
CallDisconnect</Expression>
<Expression item=”3”>/Status/Call
</Expression>
</Register>
</HttpFeedback>
</Command>
Feedback output
When the codec notifies the registered HTTP server about
changes, the body contains the same XML as when polling.
There is however one small difference. The root-node
contains an Identification node with children that specify the
codec from which the notification originated. This means that
you can handle multiple codecs with a single HTTP server
URI.
Example: Audio volume changed.
<Configuration xmlns=”http://www.company.com/XML/
CUIL/2.0>
<Identification>
<SystemName>integrator</SystemName>
<M ACAdd ress>00:00:de:ad:be:ef</M ACAdd ress>
<IPAdd r ess>192.168.1.100</IPA d d re ss>
<ProductType>Cisco Codec</ProductType>
<ProductID>Cisco Codec C60</ProductID>
<SW Versio n >TC6.0.0.199465</S W Ve rsion>
<H W Board >101401-5 [08]</H W Bo a rd >
<SerialNumber>PH0000000</SerialNum ber>
</Identification>
<Audio item=”1>
<Volume item=”1”>60</Volume>
</Audio>
</Configuration>
Contents
Introduction
About the API
xConfiguration
Appendices
xCommand
xStatus
About the API

Other manuals for Cisco TelePresence System Codec C-Series

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Cisco TelePresence System Codec C-Series and is the answer not in the manual?

Cisco TelePresence System Codec C-Series Specifications

General IconGeneral
BrandCisco
ModelTelePresence System Codec C-Series
CategoryConference System
LanguageEnglish

Related product manuals