allows the application to disconnect a call cc_DropCall( )
75
Name: int cc_DropCall(crn, cause, mode)
Inputs: CRN crn call reference number
int cause reason for dropping the call
unsigned long mode synchronous or asynchronous
Returns: 0 on success
< 0 on failure
Includes: cclib.h
Category: Call control
Mode: synchronous or asynchronous
Technology: BRI/2; BRI/SC; PRI (all protocols)
!
! !
!
Description
The cc_DropCall( ) function allows the application to disconnect a call, specified
by a CRN, at any time. The application must specify a reason for dropping the
call. Valid causes are listed in Table 18.
Parameter Description
crn: The call reference number. Each call needs a CRN.
cause: The reason for disconnecting or rejecting the call. The values
listed in Table 18 indicate common causes for dropping a call.
mode: Specifies asynchronous (EV_ASYNC) or synchronous
(EV_SYNC) mode.
Table 18. cc_DropCall( ) Causes
Value Description
ACCESS_INFO_DISCARDED Access information discarded
BAD_INFO_ELEM Information element nonexistent or not
implemented
BEAR_CAP_NOT_AVAIL Bearer capability not available
CALL_REJECTED Call rejected
CAP_NOT_IMPLEMENTED Bearer capability not implemented