Cisco Cisco Computer Telephony Integration Option 8.5 Developer's Guide

Page of 500
   
13-9
CTI OS Developer’s Guide for Cisco Unified ICM/Contact Center Enterprise & Hosted
Release 7.5(1)
Chapter 13      SilentMonitorManager Object
Methods
Note
AgentState control only uses SetIPPhoneInfo in a Citrix environment. Since the IP address/port that the 
phone is connected to is not local to the Citrix server, the AgentState control uses terminal services APIs 
to figure out the IP address of the real network interface.
Syntax 
C++:
 int SetIPPhoneInfo (Arguments & args);
COM: 
 
HRESULT SetIPPhoneInfo ( /*[in]*/ IArguments * args, /*[out,retval]*/ int * 
errorcode );
VB:
 
SetIPPhoneInfo (ByVal args as CTIOSCLIENTLIB.IArguments ) As Long
Parameters
args
Arguments array that can contain the parameters listed in 
Table 13-9
SetIPPhoneInfo Arguments Array Parameters
Keyword
Type
Description
ClientAddress 
(required)
STRING
IP Address of the IP Phone to be used by the 
client application. 
BitRate (optional)
INT
Audio transmission bit rate.
PacketSize 
(optional)
INT
Number of milliseconds of audio stored in a 
packet.
Direction (optional)
SHORT
One of the following values that indicates 
the direction of voice flow between the 
calling party and the called party: 
0: Input
1: Output
2: Bidirectional
RTPType (optional)
SHORT
One of the following values that indicates 
the type of RTP messages between the 
calling party and the called party:
0: audio
1: video
2: data
EchoCancelation 
(optional)
SHORT
One of the following values that indicates 
whether the echo cancellation feature is 
enabled on this IP Phone:
0: Off
1: On
PayLoadType 
(optional)
SHORT
Audio codec type.