Specifications

Dialogic
®
DSI SPCI Network Interface Boards Programmer's Manual Issue 7
17
When a call clears, the application needs to initiate generation of the fixed idle pattern
towards the network operation (and may wish to connect an idle pattern to the
resource board).
3.3.2 Static Initialization
Static initialization is handled by the s7_mgt utility. For each T1/E1 line interface unit,
user must include an LIU_SC_DRIVE command in the config.txt file. The syntax for
this command is detailed in Dialogic
®
Distributed Signaling Interface Components
Software Environment Programmer's Manual.
The LIU_SC_DRIVE command has several parameters. board_id and liu_id together
uniquely identify the affected line interface unit. sc_channel is the channel number of
the first channel on the CT bus that is to be used for timeslots from the specified LIU.
ts_mask is a mask identifying which timeslots on the T1/E1 interface are carrying
voice circuits (as opposed to signaling) and therefore need to be connected to the CT
bus. The least significant bit of ts_mask must always be zero when driving from an
T1/E1 interface.
As an example, consider a two board system where the first board has 4 E1 ports and
the second board has 4 T1 ports. We allow the first 512 CT bus channels to be used by
other boards in the system and therefore start at sc_channel 512.
LIU_SC_DRIVE 0 0 512 0xfffefffe * 30 E1 voice ccts on ts 1..15 & 17..31
LIU_SC_DRIVE 0 1 542 0xfffefffe * 30 E1 voice ccts on ts 1..15 & 17..31
LIU_SC_DRIVE 0 2 572 0xfffefffe * 30 E1 voice ccts on ts 1..15 & 17..31
LIU_SC_DRIVE 0 3 602 0xfffefffe * 30 E1 voice ccts on ts 1..15 & 17..31
LIU_SC_DRIVE 1 0 632 0x00fffffe * 23 T1 voice ccts on timeslots 1..23
LIU_SC_DRIVE 1 1 655 0x00fffffe * 23 T1 voice ccts on timeslots 1..23
LIU_SC_DRIVE 1 2 678 0x00fffffe * 23 T1 voice ccts on timeslots 1..23
LIU_SC_DRIVE 1 3 701 0x00fffffe * 23 T1 voice ccts on timeslots 1..23
3.3.3 Dynamic Operation
The application controls dynamic changes to CT bus switching by sending the
MVD_MSG_SC_LISTEN message to the board. This message is documented in
Section 4.3.6 MVD_MSG_SC_LISTEN - CT bus Listen Request. It contains the liu_id,
the timeslot number on the T1/E1 interface and the CT bus channel number
(sc_channel) to which the timeslot listens. The message is directed to the correct
board by calling the GCT_set_instance function prior to calling GCT_send.
When a new call arrives, the application needs to instigate two listen commands
(although they do not necessarily both apply to the SS7 board). One connects the
voice circuit in the forward direction and the other connects it in the backward
direction.
When a call terminates, the application must issue a fixed data message to ensure the
network port sees the voice idle pattern.
3.3.4 Example Code - Building and Sending SC_LISTEN
/*
* Example function for building and sending an MVD_MSG_SC_LISTEN
* message to a SPCI2S or SPCI4 signalling board.
*
* The only change that the user needs to make is to fill in the
* OUR_MOD_ID definition below so that is equal to the module_id
* of the application module.
*/