Dialogic 05-0867-005 Table Top Game User Manual


 
sends a response for CCEV_TERM_REGISTER cc_TermRegisterResponse( )
279
The data associated with the terminal initialization events can be retrieved using
sr_getevtdatap( ) and casting the value to data types associated with the received
event. The types of data structures that are used to cast the event-associated data
are provided in Table 28 below.
Table 28. Terminal Initialization Events and Data Structures
Event Type of Data Structure
CCEV_TERM_REGISTER SPID_BLK
(See Section 6.11. SPID_BLK for a
description of this structure.)
CCEV_RCVTERMREG_ACK USPID_BLK
(See Section 6.15. USPID_BLK for a
description of this structure.)
CCEV_RCVTERMREG_NACK TERM_NACK_BLK
(See Section 6.13. TERM_NACK_BLK for
a description of this structure.)
NOTE:
The North American terminal initialization events all occur on a board
level device, not a channel device. The handlers for these events must be
registered on the board level device. Refer to the Voice Software
Reference – Standard Runtime Library for information on the
sr_enblhdlr( ) function.
!
! !
!
Cautions
The cc_TermRegisterResponse( ) function applies only to BRI North
American terminal protocols used as Network side.
This function is not supported for the BRI/2 board.
!
! !
!
Example
#include <windows.h> /* For Windows applications only */
#include <stdio.h>
#include <errno.h>
#include srllib.h
#include dtilib.h
#include cclib.h
/* Global variables */