Global Call API for HMP on Windows Programming Guide — August 2006 89
Call Control
GC_CA_PREONLY_SIT
Busy, Ringing and SIT enabled
GC_CA_POSTONLY_PVD
Fax and PVD enabled
GC_CA_POSTONLY_PVD_PAMD
Fax, PVD and PAMD enabled
GC_CA_ENABLE_PVD
Busy, Ringing, and SIT enabled; fax and PVD enabled
GC_CA_ENABLE_ALL
Busy, Ringing, and SIT enabled; fax, PVD and PAMD enabled
These options correspond closely to call progress and call analysis options available when using
the Voice API as indicated in Table11. See the “Call Progress Analysis” chapter in the Voice API
Programming Guide.
When an option that enables call progress is selected, a GCEV_DISCONNECTED event can be
received. The gc_ResultInfo() function can be used to get more information about the event. The
possible cause values (the gcValue field in the associated GC_INFO structure) that can be retrieved
are:
GCRV_BUSY
Busy
GCRV_NOANSWER
No Answer
GCRV_CEPT
SIT, Operator Intercept
GCRV_UNALLOCATED
SIT, Vacant Circuit, non-registered number
GCRV_CONGESTION
SIT, No Circuit Found
or
SIT, Reorder, system busy
Table11. Call Progress Analysis Settings and Possible Results
CCPARM_CA_MODE Setting Equivalent ca_intflg Setting in DX_CAP Structure
When Using Voice API
GC_CA_DISABLE DISABLE
GC_CA_PREONLY DX_OPTDIS
GC_CA_PREONLY_SIT DX_OPTNOCON or DX_OPTEN
GC_CA_POSTONLY_PVD DX_PVDENABLE
GC_CA_POSTONLY_PVD_PAMD DX_PAMDENABLE
GC_CA_ENABLE_PVD DX_PVDOPTNOCON or DX_PVDOPTEN
GC_CA_ENABLE_ALL DX_PAMDOPTEN