Cisco TelePresence SX20 Codec Reference Manual page 98

Application programming interface (api)
Hide thumbs Also See for TelePresence SX20 Codec:
Table of Contents

Advertisement

Cisco TelePresence SX20 Codec
Contents
Introduction
xCommand Phonebook Contact Add
Add a new contact to the local phonebook. The command returns the ContactId, which is a unique
string that identifies the contact; typically the format is "localContactId-n".
You can add several contact methods to a contact using the xCommand Phonebook ContactMethod
Add command. Note that only the first contact method will appear in the Favorites list on the Cisco
TelePresence Touch controller. All contact methods are available in the API, on the web interface
and when using the remote control.
Name: The name of the contact.
FolderId: The unique identifier for the folder that you want to store the contact in. The identifier
will be returned by an xCommand Phonebook Search command. It was also returned when the
xCommand Phonebook Folder Add command was issued to make the folder.
ImageURL: Currently not in use.
Title: The title of the contact.
Number: The phone number or address of the contact.
Protocol: Select Auto, SIP, H323 or H320 protocol.
CallRate: Set a call rate.
CallType: Select a call type (audio or video).
Device: Select the device type.
Requires user role: ADMIN
Parameters:
Name(r): <S: 0, 255>
FolderId: <S: 0, 255>
ImageURL: <S: 0, 255>
Title: <S: 0, 255>
Number: <S: 0, 255>
Protocol: <Auto/H320/H323/SIP>
CallRate: <0..6000>
CallType: <Audio/Video>
Device: <Mobile/Other/Telephone/Video>
Example:
xCommand Phonebook Contact Add Name: "John Doe" Number:12345
OK
*r PhonebookContactAddResult (status=OK):
Name: localContactId-1
** end
SX20 Codec API Reference Guide TC6.2, JULY 2013.
D14949.04
About the API
xConfiguration
xCommand Phonebook Contact Modify
98
xCommand
xCommand
Modify contact details of an existing contact in the local phonebook. The following parameters
can be changed using this command: Name, FolderId, ImageURL and Title. You must use the
xCommand Phonebook ContactMethod Modify command to change the other parameters: Number,
Protocol, CallRate, CallType and Device.
ContactId: The unique identifier for the contact you want to modify. The identifier will be returned by
an xCommand Phonebook Search command. It was also returned when the xCommand Phonebook
Contact Add command was issued to make the contact.
Name: The name of the contact.
FolderId: A unique identifier for the folder. The identifier will be returned by an xCommand
Phonebook Search command. It was also returned when the xCommand Phonebook Folder Add
command was issued.
ImageURL: Currently not in use.
Title: The title of the contact.
Requires user role: ADMIN
Parameters:
ContactId(r): <S: 0, 255>
Name: <S: 0, 255>
FolderId: <S: 0, 255>
ImageURL: <S: 0, 255>
Title: <S: 0, 255>
Example:
xCommand Phonebook Contact Modify ContactId:localContactId-1 Name: "John
Doe - office"
OK
*r PhonebookContactModifyResult (status=OK):
** end
API Reference Guide
xStatus
Appendices
Copyright © 2013 Cisco Systems, Inc. All rights reserved.

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents