Cisco Cisco TelePresence MCU 4510 Developer's Guide

Page of 120
API reference 
Cisco TelePresence MCU API 2.8 
Page 89 of 120
 
services.query 
This call returns the services information as seen on the Network > Services web page. The 
response contains an array named ports which contains a struct for each network port on the 
MCU. Each struct contains a port string which identifies the port (A or B), a protocol string 
(IPv4 or IPv6), and an array of structures that contain the service details for that port and protocol. 
ports array 
Parameter 
Type 
Comments 
ports 
Array 
An array whose members are structures 
representing the Ethernet ports on the device 
port struct 
port 
String 
Identifies the Ethernet port. May be A or B. 
protocol 
String 
Identifies the addressing protocol used on that 
Ethernet port. May be IPv4 or IPv6. 
services 
Array 
An array whose members represent the web 
services provided on the particular port and 
protocol. 
services array members 
enabled 
Boolean 
true
 if the service is enabled on the port 
type 
String 
The type of service, either tcp or udp 
name 
String 
The name of the service, for example ftp. 
port 
Integer 
The port number on which the service is 
enabled, for example 21. The port number is 
only returned if enabled is true. 
sip.query 
Retrieves information on SIP configuration for an MCU. Takes no parameters. 
Response 
Type 
Comments 
configuredRegistrar 
String 
The currently configured SIP registrar address. 
This corresponds to the “SIP registrar address” on 
the Settings >SIP web page, and will be an empty 
string value if there is no currently configured SIP 
registrar. 
configuredProxy 
String 
The currently configured SIP proxy address. This 
corresponds to the “SIP proxy address” on the 
Settings > SIP
 web page, and will be an empty