Dialogic 05-0867-005 Table Top Game User Manual


 
sends a non-call related ISDN message cc_SndNonCallMsg( )
265
Parameter Description
boarddev:
The board device handle.
crn_type:
Specifies one of the following ISDN CRN types:
GLOBAL_CRN
NULL_CRN
msg_type:
Specifies one of the following ISDN message types:
SndMsg_Facility
SndMsg_FacilityACK
SndMsg_FacilityREJ
SndMsg_Information
SndMsg_Notify
SndMsg_ServiceACK
SndMsg_Status
SndMsg_StatusEnquiry
The values for msg_type are defined in cclib.h.
sndmsgptr:
Pointer to the NONCRN_BLK data structure that contains the
information related to the GLOBAL or NULL CRN event. For a
description of the data structure, see Section
6.9. NONCRN_BLK. See the Example code below for details.
!
! !
!
Cautions
Some IEs may require a Call Reference Value (CRV) to be part of the contents.
The Call Reference, in this case, must be the Call Reference value assigned by the
network, not the Call Reference Number (CRN) that is assigned by Dialogic and
retrieved using the cc_GetCRN( ) function. It is up to the application to correctly
format and order the IEs. Refer to the ISDN Recommendation Q.931 or the switch
specification of the application's ISDN protocol for the relevant CCITT format.
See the Example code for details.
!
! !
!
Example
/* This Example uses data specific to a 5ESS (non-Euro ISDN) switch */
#include <windows.h> /* For Windows applications only */
#include <stdio.h>
#include <errno.h>
#include "srllib.h"
#include "dtilib.h"
#include "cclib.h"
void main()