Accessing TX boards using the TX SWI library

The TX SWI library enables host applications to control H.100/H.110 switching and the T1/E1/J1 trunks by sending requests to TX boards and processing response messages received from the boards. The calling application uses the CPI library directly to send and receive TX SWI messages. Using the CPI asynchronous interface, an application can have many switching commands in progress simultaneously.

The SWI manager provides the interface from the host to all TDM devices on the TX board, including the T1/E1 devices and the H.100/H.110 switching control device. For each SWI request issued, an asynchronous response is returned over the same CPI channel.

The txswiapi.h include file provides TX SWI function prototypes. The swidef.h include file provides structure and literal definitions.

To begin using the TX SWI library, open a channel to the TX board by calling cpi_open or cpia_open. The recommended CPI channel range is 32 through 127. After a CPI channel is opened, the application can send requests to the target TX board. Refer to TX SWI library demonstration program: txsdemo for a working example of using the TX SWI library.

The TX SWI library parallels the Natural Access Switching service that controls TDM switching on other Dialogic. This manual describes the differences between the TX SWI library and the Switching service. Use the function descriptions found in the Switching Service Developer's Reference Manual for detailed descriptions of the TX SWI functions.