Previous PageTable Of Contents../index.htmlIndexNext Page

cc_CallAck( )

Description | Termination Event | Cautions | Example | Errors | See Also

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)

Top Of PageDescription

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:
  2. The received setup message contains insufficient destination information. The application should use the function in one of the following ways:

Top Of PageTermination Event

Top Of PageCautions

None

Top Of PageExample

Top Of PageErrors

If the function returns a value < 0 to indicate failure, use the cc_CauseValue( ) function to retrieve the reason code for the failure. The cc_ResultMsg( ) function can be used to interpret the reason code. Error codes are defined in the files ccerr.h, isdnerr.h and isdncmd.h.

Error codes from the cc_CallAck( ) function include the following:

Error Code

Description

E_ISBADIF | ERR_ISDN_LIB

Bad interface number

E_ISBADTS | ERR_ISDN_LIB

Bad time slot

Top Of PageSee Also


Previous PageTable Of ContentsTop Of PageIndexNext Page

Click here to contact Dialogic Customer Engineering

Copyright 2001, Dialogic Corporation
All rights reserved
This page generated December, 2001