Dialogic 05-0867-005 Table Top Game User Manual


 
cc_CallAck( ) send the first response to an incoming call
56
Name:
int cc_CallAck(crn, newLineDev, msg_id)
Inputs:
CRN crn
call reference number
LINEDEV newLineDev
new line device handle
int msg_id
message id
Returns:
0 on success
< 0 on failure
Includes:
cclib.h
Category:
Optional call handling
Mode:
asynchronous
Technology:
BRI/2; BRI/SC; PRI (all protocols)
!
! !
!
Description
The cc_CallAck( ) function allows the application to send the first response to an
incoming call, after the CCEV_OFFERED event is received, in asynchronous
mode, or after cc_WaitCall( ) returns, in synchronous mode.
NOTE:
Controlling the first response to the incoming setup message is optional.
The ISDN firmware assumes the control by default unless it is set up by
the application (see the cc_SetEvtMsk( ) function description for
details).
Parameter Description
crn:
The call reference number. Each call needs a valid CRN.
newLineDev:
The new line device handle for the channel to be used for the
call. This parameter is reserved for future use. Set
newLineDev to 0.
msg_id:
The message ID, either CALL_PROCEEDING or
CALL_SETUP_ACK.
NOTE:
Applications that require overlap receiving should set
msg_id to CALL_SETUP_ACK.
The application can use this function to indicate one of the following conditions to
the network:
1. The received setup message contains all the information necessary to set up
the call. The application should use the function in one of the following ways:
cc_CallAck(crn, 0, CALL_PROCEEDING) if B channel is acceptable