Dialogic 05-0867-005 Table Top Game User Manual


 
send the first response to an incoming call cc_CallAck( )
57
cc_CallAck(crn, newLineDev, CALL_PROCEEDING) if a new B
channel is desired.
2. The received setup message contains insufficient destination information. The
application should use the function in one of the following ways:
cc_CallAck(crn, 0, CALL_SETUP_ACK) if the B channel is
acceptable
cc_CallAck(crn, newLineDev, CALL_SETUP_ACK) if a new B
channel is desired
!
! !
!
Termination Event
CALL_SETUP_ACK and CALL_PROCEEDING - indicate that the call
setup message has been received.
CCEV_TASKFAIL - indicates that a request/message was rejected by the
firmware. Typically, this event is triggered by an incorrect function call
during the call.
!
! !
!
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";
if ( cc_Open( &devhdl, devname,0)<0)
{
printf("Error opening device: errno = %d\n", errno);
exit(1);
}
if ( cc_WaitCall(devhdl, &crn, NULL, -1, EV_SYNC)<0)
procdevfail(devhdl);
/*