2.5 Ports

(Page 6 of 11 in this chapter)
Ports are the fundamental objects upon which AG Access operates. AG Access manages the following resources on a per port basis:

- Network input signaling stream

- Network output signaling stream

- Inband input audio stream

- Inband output audio stream.

A port handle, obtained from the adiOpenPort function, addresses an AG Access port and the associated MVIP stream(s). The application subsequently supplies the handle when invoking AG Access functions. Events communicated back to the application are also associated with the port. See Section 7.3, Opening Ports for more detailed information on ports.

An AG Access port does not encompass the MVIP switching element, as illustrated in Figure 2. The port receives its input from MVIP streams but the switch may be controlled by software outside the scope of AG Access. For example, the NMS SwitchPath™ product can be used to route data between the MVIP bus and the port's DSP.

As depicted in Figure 2, AG Access internal data is within the application process context. This has ramifications with respect to reentrancy and spawning processes and is discussed in Section 7.6, Execution Environment.



AG Access manages 3 resources per port:
1- AG Access Internal data
2 - MVIP stream(s)
3 - DSP resources

: AG Access Port Context


(Page 6 of 11 in this chapter)

Copyright 1996 Natural MicroSystems, Inc. All Rights Reserved.