cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Announcements
Walkthrough Wednesdays

Looking to make an "on air" webapp digital sign for outside of a T3

17
Views
0
Helpful
0
Comments
This document was generated from CDN thread

Created by: Todd Dailey on 07-07-2009 06:42:52 AM
Hello,

I'm new to Tandberg and C90 integration, but Zip said I could get all the answer I wanted here. Be gentle.

We're looking to make a digital sign for outside of a T3 that will indicate when the room is "On Air". We can do this off a preset schedule, but it would be nice if we could only light up the "On Air" sign when a videoconference was actually live.

Is there a simple way to query all 3 C90's for on-air status? It looks like I can use the XML API to ask for "xstatus call status" and then parse that out and combine the results from all 3 C90's to get an aggregate "is a call live?" status check. I'll then feed this to a simple python or javascript webapp.

I'm not at the C90 right now, but it looks like this is as simple as:

http://somec90.example.com/getxml/call/status

for each c90.

Any pitfalls to doing it this way? Is call status going to read "connected" no matter what type of conference is going on?

Thanks in advance for any advice.

Subject: RE: Looking to make an "on air" webapp digital sign for outside o
Replied by: Einar Hagen on 07-07-2009 11:04:29 AM
Hi Todd,

I guess the simplest way to get the information you need is to integrate with the center codec on the T3 system. This codec will always be in call when the T3 system is in a call. You have to enable the HTTP service or the HTTPS service from the API on the codec first. It is probably best to enable the HTTPS service and not the HTTP service due to security. Talk to your IT department to be sure that you do not cross any lines. Here are the configurations you need to enable (log in via ssh to enable this):

(xConfiguration NetworkServices HTTP Mode: On)
xConfiguration NetworkServices HTTPS Mode: On

To get the call status for the center codec:

"http(s)://<ip address center codec>/getxml?location=status/call"

When you are in a call there will be one or more call elements there. Like this:

<?xml version="1.0" ?>
<Status xmlns="http://www.tandberg.com/XML/CUIL/2.0" product="TANDBERG Codec" version="TC1.2.1.188295Beta1">
  <Call item="6">
    <Status item="1">Connected</Status>
    ...
  </Call>
</Status>

If no call is present you will get following result:

<?xml version="1.0" ?>
<EmptyResult />

Just check if not <EmptyResult> => your in a call (or dialing)!
If you poll for this element every 5-10 secods it will be good enough, I guess.

Subject: RE: Looking to make an "on air" webapp digital sign for outside o
Replied by: Todd Dailey on 07-07-2009 06:00:26 PM
Perfect, thanks Einar!
Content for Community-Ad

This widget could not be displayed.