Dialogic 05-0867-005 Table Top Game User Manual


 
cc_TermRegisterResponse( ) sends a response for CCEV_TERM_REGISTER
278
Name:
int cc_TermRegisterResponse(linedev, data_blk_ptr)
Inputs:
LINEDEV linedev
board device handle
TERM_BLK data_blk_ptr
pointer to the terminal
initialization block data to be
sent to the firmware
Returns:
0 on success
< 0 on failure
Includes:
isdncmd.h
Category:
System tools
Mode:
asynchronous
Technology:
BRI/SC
!
! !
!
Description
The cc_TermRegisterResponse( ) function sends a response for
CCEV_TERM_REGISTER events. The application, when used as the Network
side, receives this event as notification of a TE registration request. On receiving
the CCEV_TERM_REGISTER event, the application evaluates the Service
Profile Interface ID (SPID) received and either rejects or accepts the registration
request. The application then conveys its result to the network using the
cc_TermRegisterResponse( ) function to send either the
CCEV_RCVTERMREG_ACK event, if the request is accepted, or the
CCEV_RCVTERMREG_NACK event, if the request is rejected. If the request is
accepted, the terminal is then fully initialized.
Refer to the Call Scenarios in Appendix A for the sequence of events and function
calls required for BRI North American terminal initialization. For additional
information, refer to the North American BRI Terminal Initialization with
Dialogic Products application note; the note can be downloaded from the
Application Notes section of the Dialogic FirstCall Info Server website:
http://support.dialogic.com
Parameter Description
linedev:
The line device handle of the D channel Board.
data_blk_ptr:
Pointer to the data block TERM_BLK to be sent to the
firmware. For a description of the TERM_BLK structure, see
Section 6.12. TERM_BLK.