sets the default channel parameters cc_SetParm( )
247
Define Description Possible return values
CALLING_NUM_PLAN Calling number
plan
Same values as
CALLED_NUM_PLAN
CALLING_PRESENTATION Calling
presentation
indicator
PRESENTATION_ALLOWED -
allows the display of the calling
number at the remote end
CALLING_SCREENING Calling
screening
indicator field
USER_PROVIDED - user provided,
not screened (passes through)
RECEIVE_INFO_BUF Multiple IE
buffer; sets the
size of the
buffer, that is,
the number of
messages that
can be stored
in the
information
queue
Any number in the range of 1 to
MAX_RECEIVE_INFO_BUF
(The cc_SetParm( ) function returns
-1 (error) or 0 (success).)
!
! !
!
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”
void main()
{
LINEDEV devhdl = 0;
CRN crn = 0;
char *devname = “dtiB1T1”;
long value;
if ( cc_Open( &devhdl, devname,0)<0 )
{
printf(“Error opening device: errno = %d\n”, errno);
exit(1);
}