



2.1. Event Masking
The gc_SetEvtMsk( ) function is deprecated in System Release 6.0. The preferred equivalent is the gc_SetConfigData( ) function. The use of gc_SetConfigData( ) is different depending on the type of events being masked as follows:
- Call state events, for example GCEV_ALERTING, are masked using gc_SetConfigData( ) with a target type of GCTGT_GCLIB_CHAN and a target ID equal to a line device. Global Call uses this generic mechanism to mask call state events in all technologies. See the section on Call State Event Configuration in the Global Call API Programming Guide for more information on masking call state events.
- NOTE:
- Using a board device in the gc_SetConfigData( ) function to mask call states for all line devices associated with a board is not supported. Call state events can be masked on a line device basis only.
- GCEV_EXTENSION events, for example notification of received DTMF digits, are masked using the gc_SetConfigData( ) function with a target type of GCTGT_CCLIB_NETIF and a target ID equal to a board device. For IP technology, Global Call uses this mechanism to enable or disable events for all line devices associated with a specific board device. See the section on Enabling and Disabling Unsolicited Notification Events in the Global Call IP Technology User's Guide for more information on masking GCEV_EXTENSION events.




Click here to contact Telecom Support Resources
Copyright 2002, Intel Corporation
All rights reserved
This page generated November, 2002