Dialogic 05-0867-005 Table Top Game User Manual


 
Appendix A - Call Control Scenarios
403
The following call scenario describes the procedures for initiating a TBCT. The
scenario is followed by code samples that demonstrate the use of Dialogic API in
initiating a TBCT.
Synchronous Programming: Initiating TBCT
Application Device Driver State Firmware Network
cc_Open( )
Board level
device
-->
NULL
Return with
board level
device
<--
cc_Open( )
B-channel line
devices
-->
NULL
Return with line
device
<--
Users A & B connected
cc_GetNetCRV
(Call #2)
-->
ISDN_GETNETCRV
-->
CONNECTED
(Calls #1 and
#2)
ISDN_GETNETCRV
<--
Return with
network CRV
<--
cc_SndMsg
(FACILITY, Call
#1)
-->
CALL_FACILITY
(Call #1)
-->
Facility
-->
CCEV_FACILITY
(Call #1)
<--
Facility
<--
cc_GetCallInfo( )
(Call #1)
DISCONNECTED
(Call #1)
CALL_DISC
(Call #1)
<--
Disconnect
(Call #1)
<--
CCEV_DISCONNECT
(Call #1)
<--
Release
(Call #1)
-->
cc_DropCall( )
(Call #1)
-->
CALL_DISCONNECTE
D
(Call #1)
-->
IDLE
(Call #1)
Rel_Comp
(Call #1)
<--