ISDN Software Reference for Linux and Windows
380
Aborting cc_MakeCall( )When a B channel negotiation is used in call setup, the application must selectCCEV_PROCEEDING as the termination point for the cc_MakeCall( ) functionor use the asynchronous programming model. The following scenario illustrates acase where the application uses an asynchronous model to abort thecc_MakeCall( ) attempt.
Asynchronous Programming
Application Device driver State Firmware Network
NULL
cc_MakeCall( )
--> CRN assigned
Call_Outgoing
--> CALL_OUTGOING
(request for
channel "x")
-->
Set Up
-->
CCEV_PROCEEDING
(indicating the
network requested
channel)
<--
DIALING CALL_PROCEEDING
(network wishes to
use a B channel
other than "x")
<--
Proceeding
<--
cc_DropCall( )
--> Call_Disconnected
(cause value = 1)
-->
IDLE
B channel
disconnected
CALL_DISC
-->
disconnect
-->
Continue the
"disconnect"
process described
below in the
"Application
Terminated Call"
table
----- --- ---- ---