Previous PageTable Of Contents../index.htmlIndexNext Page

cc_CallProgress( )

Description | Cautions | Example | Errors | See Also

Name:

int cc_CallProgress(crn, indicator)

Inputs:

CRN crn

  call reference number

 

int indicator

  progress indicator

Returns:

0 on success

< 0 on failure

Includes:

cclib.h

Category:

Optional call handling

Mode:

synchronous

Technology:

BRI/2; BRI/SC; PRI (all protocols)

Top Of PageDescription

The cc_CallProgress( ) function sends a PROGRESS message to the network. This function can be called after CCEV_OFFERED occurs, in asynchronous mode, or after the cc_WaitCall( ) function successfully completes, in synchronous mode. Applications may use the message on the D channel to indicate that the connection is not an ISDN terminal or that in-band information is available.

The cc_CallProgress( ) function is not needed in terminating mode. It may be used in a drop-and-insert configuration when an in-band Special Information Tone (SIT) or call progress tone is sent to the network.

Parameter

Description

crn:

The call reference number. Each call needs a CRN.

indicator:

Specifies the progress indicator. The values are:

· CALL_NOT_END_TO_END_ISDN - In drop-and-insert configurations, the application has the option of providing this information to the network.

· IN_BAND_INFO - In drop-and-insert configurations, the application has the option of notifying the network that in-band tones are available.

Top Of PageCautions

None

Top Of PageExample

Top Of PageErrors

If the function returns < 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_CallProgress( ) function include the following:

Error Code

Description

ERR_ISDN_LIB | E_ISBADIF

Bad interface number

ERR_ISDN_LIB | E_ISBADCALLID

Bad call identifier

ERR_ISDN_LIB | E_ISBADTS

Bad time slot

Top Of PageSee Also

None


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