Previous PageTable Of ContentsHomeIndexNext Page



3.8.  gc_OpenEx( )

The gc_OpenEx( ) function opens voice channels, voice devices, or analog loop start interfaces. The following sections describe using gc_OpenEx( ) with Springware boards and with DM3 boards.

For Springware boards that host both voice devices and analog loop start interface devices, both the voice device and its associated analog loop start interface device are opened as a single channel. A single line device ID (LDID) identifies both the voice channel and the analog loop start interface.

A voice channel, voice device, or analog loop start interface device is specified by the devicename parameter using a format that includes the following information:

:P_<protocol_name>:V_<voice_channel_name>

where:

The prefixes (P_ and V_) in devicename are used for parsing purposes. The order of input of these parameters may be set by the application. The fields within the devicename parameter must each begin with a colon.

The following example illustrates the format for defining the devicename parameter for various voice and analog loop start interface devices when processing analog calls.

To open voice channel 2 on a D/160SC-LS board identified as virtual board 3:

Global Call automatically opens both voice device 2 and analog loop start interface device 2 on virtual board 3 and internally attaches the voice device to the analog loop start interface.

NOTE:
When using analog protocols (ANAPI or PDK), opening a board device, that is, using only the board number in the devicename parameter (for example, :V_dxxxB1) is not supported.

On DM3 analog boards, the voice devices and the analog loop start devices are separate devices. When calling gc_OpenEx( ), the application can either open only the analog loop start device, or open both the analog loop start interface device and the voice device at the same time. The device(s) is specified via the devicename parameter using a format that includes the following information:

:P_<protocol_name>:N_<loop_start_device_name>:V_<voice_channel_name>

where:

The prefixes (P_, N_, and V_) in devicename are used for parsing purposes. The order of input of these parameters may be set by the application. The fields within the devicename parameter must each begin with a colon.

The following example illustrates the format for defining the devicename parameter for various voice and analog loop start interface devices when processing analog calls.

To open loop start device 2 on a DMV160 board identified as virtual board 1 along with voice device 1 on virtual board 2:

Global Call automatically opens both the analog loop start interface and voice device and internally attaches the voice device to the analog loop start interface.

The voice device could be opened later using the dx_open( ) function and then attached to the Global Call device using the gc_AttachResource( ) function. The application would have to manually route the resources together. Without a voice device attached to the Global Call device, no outbound calls can be made as there will be no resources to dial digits.


Previous PageTable Of ContentsTop Of PageIndexNext Page

Click here to contact Telecom Support Resources

Copyright 2003, Intel Corporation
All rights reserved
This page generated February, 2003