Cisco Cisco Computer Telephony Integration Option 9.0 Developer's Guide

Page of 490
   
10-22
CTI OS Developer’s Guide for Cisco Unified Contact Center Enterprise
Release 8.5(3)
Chapter 10      Call Object
Methods
SendDTMFSignal
The SendDTMFSignal method requests that the ACD send a sequence of DTMF tones.
Syntax
C++:
int SendDTMFSignal(Arguments& args)
COM:
HRESULT SendDTMFSignal (/*[in]*/ args *arguments, /*[out, retval]*/ int * 
errorcode)
VB:
SendDTMFSignal (args As CTIOSCLIENTLib.IArguments, errorcode As Long)
Java:
int SendDTMFSignal(Arguments rArgs)
.NET:
CilError SendDTMFSignal(Arguments args)
Parameters
args
An input parameter of either a reference or a pointer to an Arguments array containing parameters 
from following table. You can add any of these parameters included to the Arguments array using 
the associated key word.
Table 10-10
SendDTMFSignal parameters
errorcode
An output parameter (return parameter in VB) that contains an error code from 
 in 
Return Values
Default CTI OS return values. See 
Remarks
The OnSendDTMFSignalConf event is received if this request succeeds.
The OnControlFailureConf event is received if this request fails.
Parameter
Type
Description
DTMFString (required)
STRING. 
maximum 
length 32
The sequence of tones to be generated. 
ToneDuration (optional)
INT
Specifies the duration in milliseconds of DTMF 
digit tones. Use 0 to take the default. Can be 
ignored if the peripheral is unable to alter the 
DTMF tone timing.
PauseDuration (optional)
INT
Specifies the duration in milliseconds of DTMF 
inter-digit spacing. Use 0 to take the default. Can 
be ignored if the peripheral is unable to alter the 
DTMF tone timing.