Dialogic 05-0867-005 Table Top Game User Manual


 
retrieves the current ISDN event mask cc_GetEvtMsk( )
115
Name:
int cc_GetEvtMsk(bdev, maskp)
Inputs:
LINEDEV bdev
device handle
ULONG *maskp
pointer to mask buffer
Returns:
0 on success
< 0 on failure
Includes:
cclib.h
Category:
System tools
Mode:
synchronous
Technology:
BRI/2; BRI/SC; PRI (all protocols)
!
! !
!
Description
The cc_GetEvtMsk( ) function retrieves the current ISDN event mask for a
specified board device handle for PRI or station device handle for BRI.
Parameter Description
bdev:
Board device handle for PRI, station device handle for BRI.
maskp:
The address of the buffer that stores the current ISDN event
mask.
Table 20 lists the possible bitmask values and the actions that they control.
Table 20. Bitmask Values
Bitmask Type Action Default Setting
CCMSK_ALERT Receiving CCEV_ALERTING Event enabled
CCMSK_CALLACK_SEND Application sends first
response to SETUP message:
CALL_SETUP_ACK
CALL_PROCEEDING
Firmware sends first
response to SETUP
CCMSK_PROCEEDING Receiving
CCEV_PROCEEDING
Event enabled
CCMSK_PROGRESS Receiving
CCEV_PROGRESSING
Event enabled