Cisco Cisco Computer Telephony Integration Option 8.5 Developer's Guide

Page of 546
 
10-17
Cisco ICM Software CTI OS Developer’s Guide Release 6.0(0)
 
Chapter 10      Call Object
Methods
GetCallContext
The GetCallContext method returns an Arguments array containing the values for 
call properties other than CallVariables and ECC Variables, such as ANI, DNIS, 
and the other properties listed in 
Syntax
C++:
int GetCallContext(Arguments& args)
COM:
HRESULT GetCallContext (/*[out,retval]*/ IArguments ** args)
VB:
GetCallContext (CTIOSCLIENTLib.IArguments args)
Java:
int GetCallContext()
Parameters
args
An output parameter containing a reference or a pointer to an Arguments 
array containing any of the members in 
 that are present in the call.
Return Value
COM: Default HRESULT return values. Se
All Others: A pointer to an Arguments array that, on return, holds name/value 
pairs from 
. Any of these parameters included may be accessed from 
the Arguments array using the associated keyword.
Table 10-3
GetCallContext Arguments Array Contents
Keyword
Type
Description
ANI
STRING
The calling line ID of the caller.
CallerEnteredDigits
STRING
The digits entered by the caller in 
response to IVR prompting.
CallType
SHORT
The general classification of the call 
type.
CallWrapupData
STRING
Call-related wrapup data.