Global Call API for HMP on Windows Programming Guide — August 2006 37
Call State Models
The GCACT_ADDMSK, GCACT_SUBMSK and GCACT_SETMSK parameter IDs can be
assigned one of the following values (of type GC_VALUE_LONG), or an ORed combination of
the values:
GCMSK_ALERTING_STATE
GCMSK_CALLROUTING_STATE (for E1, T1, and ISDN technologies only)
GCMSK_DETECTED_STATE
GCMSK_GETMOREINFO_STATE (for E1, T1, and ISDN technologies only)
GCMSK_PROCEEDING_STATE
GCMSK_SENDMOREINFO_STATE (for E1, T1, and ISDN technologies only)
See the Global Call API Library Reference for more information on the gc_SetConfigData()
function.
3.3.2 Call State Event Configuration
Some call state transition events can be masked so that the events are not generated. Although an
event may be masked, the corresponding call state transition can still take place. This configuration
can be done by issuing the gc_SetConfigData() function with a target_type of
GCTGT_GCLIB_CHAN and a target_ID of a line device, and passing the appropriate set ID and
parm IDs.
The set ID used in this context is GCSET_CALLEVENT_MSK and the relevant parm IDs are:
GCACT_ADDMSK
Enable the notification of events specified in the value in addition to previously enabled
events.
GCACT_SUBMSK
Disable notification of the events specified in the value.
GCACT_SETMSK
Enable the notification of events specified in the value and disables notification of any event
not specified.
The GCAC T_ADDM SK, GC ACT_SUB MSK and GCACT_SETMSK parm IDs can be assigned
one of the following values (of type GC_VALUE_LONG), or an ORed combination of the values:
GCMSK_ALERTING
GCMSK_DETECTED
GCMSK_DIALING
GCMSK_PROCEEDING
GCMSK_REQMOREINFO (for E1, T1, and ISDN technologies only)
Note: Using the gc_SetConfigData() function with a target_ID of a board device to mask events for all
devices associated with a board is not supported. Call state events can be masked on a per line
device basis only.