90 Global Call API for HMP on Windows Programming Guide — August 2006
Call Control
See the Global Call API Library Reference for more information about the gc_ResultInfo( )
function.
When an option that enables call analysis is selected, a GCEV_MEDIADETECTED event can be
received. The gc_GetCallInfo() function can be used to de termine the type of detection (by setting
the info_id function parameter to CONNECT_TYPE). The valuep function parameter indicates
the connect type when the function completes. Typical values in this context are:
GCCT_FAX
Fax detection
GCCT_PVD
Positive voice detection (PVD)
GCCT_PAMD
Positive answering machine detection (PAMD)
See the Global Call API Library Reference for more information about the gc_GetCallInfo()
function.
7.2.4 Setting Call Analysis Attributes on a Per Call Basis
Certain call analysis attributes can be configured on a per call basis using the gc_MakeCall()
function with an associated GC_PARM_BLK (accessible via the GC_MAKECALL_BLK and
GCLIB_MAKECALL_BLK structures) that contains the CCSET_CALLANALYSIS parameter
set ID and one of the following parameter IDs:
CCPARM_CA_PAMDSPDVAL
Positive answering machine detection (PAMD) speed value. Quick or full evaluation of
answering machine detection. Possible values are:
PAMD_FULL – Full evaluation of response.
PAMD_QUICK – Quick look at connection characteristics.
PAMD_ACCU – Recommended setting. Does the most accurate evaluation detecting live
voice as accurately as PAMD_FULL, but is more accurate than PAMD_FULL (although
slightly slower) in detecting an answering machine. Use PAMD_ACCU when accuracy is
more important than speed. This is the default value.
CCPARM_CA_NOANSR
No Answer. The length of time (in 10ms un its) to wait after the first ringback before deciding
that the call is not answered. Possible values are in the range 0 to 65535. The default value is
3000.
CCPARM_CA_NOSIG
Continuous No Signal. The maximum amount of silence (in 10 ms units) allowed immediately
after cadence detection begins. If exceeded, a no ringback is returned. Possible values are in
the range 0 to 65535. The default value is 4000.
CCPARM_CA_PAMDFAILURE
PAMD Fail Time. The maximum time (in 10ms units) to wait for positive answering machine
detection (PAMD) or positive voice detection (PVD) after a cadence break. Possible values are
in the range 0 to 65535. The default value is 800.