Intel IP Gateway (Global Call) for Linux and Windows 用户手册

下载
页码 56
IP Gateway (Global Call) Demo Guide for Linux and Windows
32
3.  In IP_CONNECTED, when the application receives GCEV_CONNECTED
from the PSTN side, the application calls pstnListen( ), which in turn calls
ag_Listen( ) or dt_Listen( ) (ag for analog; dt for digital) to tell the PSTN
line device to listen to the IP time slot
The state transitions to GATE_CONNECTED
6.6.2.  Call Establishment from PSTN
This section describes what happens when a call is initiated from the PSTN
network.
GATE_NULL
IP_CONNECTED
GATE_DROP
PSTN_OFFERED
GATE_CONNECTED
PSTN: GCEV_ACCEPT
PSTN: GCEV_ACCEPT
PSTN: GCEV_EXTENSION
PSTN: GCEV_ANSWERED
PSTN: GCEV_OFFERED
PSTN: gc_AcceptCall( )
IP: gc_MakeCall( )
GATE_RELEASE
IP, PSTN: GCEV_DROPCALL
IP: gc_Extension( )
IP, PSTN: GCEV_DISCONNECTED
IP, PSTN: gc_unlisten( )
IP, PSTN: gc_dropCall( )
IP: GCEV_EXTENSIONCMPLT
IP, PSTN: gc_ReleaseCallEx( )
IP, PSTN: GCEV_RELEASECALL
IPTResetSession( )
IP: GCEV_CONNECTED
IP: gc_Extension( )
PSTN: dt_Listen( ) or ag_Listen( )
IP: gc_Listen( )
PSTN: gc_AnswerCall(  )
Figure 6.  Call Establishment from PSTN
1.  In GATE_NULL, when the application receives GCEV_OFFERED from the
PSTN side, the application calls gc_AcceptCall( ) for the PSTN and
gc_MakeCall( ) for the IP side.
The state transitions to PSTN_OFFERED