PREV TOC HOME INDEX NEXT


3.3.1 Call State Configuration

Some states in the basic call model are optional and can be enabled or disabled selectively. Every technology or call control library has a default call state model consisting of all the states it can possibly support from the basic call model. If a state is disabled, the corresponding call state event will also be disabled. If a state is enabled, the event mask setting still determines which call state events are sent to the application.

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_CALLSTATE_MSK and the relevant parm IDs are:

GCACT_ADDMSK
Enable the call states specified in the value in addition to other states already enabled.
GCACT_SUBMSK
Disable all the call states specified in the value.
GCACT_SETMSK
Enable the call states specified in the value and disable other optional states that are already enabled.

The GCACT_ADDMSK, GCACT_SUBMSK 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:

See the Global Call API Library Reference for more information on the gc_SetConfigData( ) function.


PREV TOC HOME INDEX NEXT

Click here to contact Telecom Support Resources

Copyright 2002, Intel Corporation
All rights reserved
This page generated November, 2002