Intel IP Gateway (Global Call) for Linux and Windows Network Hardware User Manual


 
IP Gateway (Global Call) Demo Guide for Linux and Windows
28
Calculates the logical board and channel and saves them into
Session.pstnParams
Closes the board, by calling dx_Close( ) or dt_Close( ).
9. Call ipGetChannels( ) which checks how many available IP channels there
are by doing the following:
Gets number of IP boards from #define MAX_IP_BOARDS in
gatedefs.h
For each board that was found:
Calls gc_OpenEx( ) to open the board
Calls ATDV_SUBDEVS( ) to get the number of channels on the
board
Calculates the logical board and channel and save them in
Session.ipParams
Registers the board with the Gatekeeper by calling
boardRegistration( )
10. Calls getGateChannels( ) to find the demo MAX available channels (the
smaller of available IP or Voice Devices and the number of channels
specified with the –n command line option, if used).
11. Calls pstnOpenFrontEnd( ) which opens the PSTN channels by doing the
following. For each channel:
Calls gc_OpenEx ( ), which returns the PSTN LineDevH, and saves it
in Session.pstnParams
If the PSTN board is an analog board:
Calls gc_LoadDxParm( )
Calls gc_GetVoiceH( ), which returns the PSTN VoiceH, and saves
it in Session.pstnParams
If the PSTN board is a digital board:
Calls gc_OpenEx( ), which returns the PSTN LineDevH, and saves
it in the Session.pstnParams structure
Calls gc_GetNetworkH( ), which returns the PSTN NetwH, and
saves it in Session.pstnParams
12. Calls ipOpenDevices( ) which opens the IP channels by doing the following: