sends a non-Call State related ISDN message to the network cc_SndMsg( )
261
Table 27. ISDN Message Types for cc_SndMsg( )
All Protocols Custom BRI 5ESS only DPNSS only
SndMsg_Congestion SndMsg_Drop SndMsg_Divert
SndMsg_Facility SndMsg_DropAck SndMsg_Intrude
SndMsg_FacilityAck SndMsg_DropRej SndMsg_NSI
SndMsg_FacilityRej SndMsg_Redirect SndMsg_Transfer
SndMsg_Information SndMsg_Transit
SndMsg_Notify
SndMsg_Status
SndMsg_StatusEnquiry
SndMsg_UsrInformation
!
! !
!
Cautions
None
!
! !
!
Example
#include <windows.h> /* For Windows applications only */
#include <stdio.h>
#include <errno.h>
#include “srllib.h”
#include “dtilib.h”
#include “cclib.h”
/* FUNCTION PROTOTYPES */
void InitSndMsgBlk(); /* fills in the information element to send */
void main()
{
LINEDEV devhdl = 0;
CRN crn = 0;
char *devname = “dtiB1T1”;
IE_BLK ie_blk; /* Info elem block pointer for SndMsg() */
.
.
.
/* open the ISDN line device */
if ( cc_Open(&devhdl, devname, 0)<0)
{
printf(“Error opening device: errno = %d\n”, errno);
exit(1);
}
/* wait for the incoming call */