ISDN Software Reference for Linux and Windows
20
Table 4. Outbound Call Set-up (Asynchronous Example)
Function/Event Action/Description
cc_MakeCall( ) Requests a connection using a specified line device.
A CRN is assigned and returned immediately; call is
transitioned to the Dialing state.
CCEV_CONNECTED event sent if call is
connected; otherwise a CCEV_TASKFAIL event is
sent.
*cc_SetEvtMsk( ) Specifies the events enabled or disabled for a
specified line device.
*CCEV_ALERTING Remote end was reached but a connection has not
been established. When the call is answered, a
CCEV_CONNECTED event is sent.
CCEV_CONNECTED Indicates successful completion of cc_MakeCall( ).
Call is in the Connected state.
* = Optional functions and events or maskable events
3.3.2. Synchronous Call Establishment
Figure 4 illustrates the call states associated with establishing or setting up a call
in the synchronous mode. The call establishment process for outbound calls is
shown on the right side of the diagram; the inbound call set up process is shown
on the left. All calls start from a Null state. See Table 2 for descriptions of the call
states.