Dialogic 05-0867-005 Table Top Game User Manual


 
gets the current parameter values of the line device cc_GetParm( )
141
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 – the
number of
messages that
can be stored
in the
information
queue.
Buffer number (any number in the
range of 1 to
MAX_RECEIVE_INFO_BUF)
The cc_GetParm( ) function returns
the buffer number.
!
! !
!
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";
CC_PARM value;
if ( cc_Open( &devhdl, devname,0)<0)
{
printf("Error opening device: errno = %d\n", errno);
exit(1);
}
if ( cc_GetParm(devhdl, BC_XFER_RATE, &value) <0)
procdevfail(devhdl);
else