Specifications

3 SS7HD Board Product Specific Configuration and Operation
38
* Function to drive an SCbus / CT Bus timeslot
* onto a timeslot on a PCM port:
*/
int listen_to_scbus(board_id, liu_id, timeslot, sc_channel)
int board_id; /* board_id (0, 1, 2 ...) */
int liu_id; /* PCM port id (0 .. one less than no. of LIUs) */
int timeslot; /* Timeslot on the PCM port (1 .. 31) */
int sc_channel; /* SCbus / CT Bus channel number */
{
MSG *m;
u8 *pptr;
/*
* Allocate a message (and fill in type, id, rsp_req & len):
*/
if ((m = getm(MVD_MSG_SC_LISTEN, 0, RESPONSE(OUR_MOD_ID), MVDML_SCLIS)) != 0)
{
pptr = get_param(m);
memset(pptr, 0, m->len);
/*
* Enter the parameters in machine independent format:
*/
rpackbytes(pptr, MVDMO_SCLIS_liu_id, (u32)liu_id, MVDMS_SCLIS_liu_id);
rpackbytes(pptr, MVDMO_SCLIS_timeslot, (u32)timeslot, MVDMS_SCLIS_timeslot);
rpackbytes(pptr, MVDMO_SCLIS_sc_channel, (u32)sc_channel,
MVDMS_SCLIS_sc_channel);
m->hdr.dst = MVD_TASK_ID;
m->hdr.src = OUR_MOD_ID;
/*
* Call GCT_set_instance to route the message to the
* correct board and GCT_send to send the message.
* If GCT_send returns non-zero release the message.
*/
GCT_set_instance(board_id, (HDR *)m);
if (GCT_send(m->hdr.dst, (HDR *)m) != 0)
relm((HDR *)m);
}
return(0);
}
3.4.6 Connecting Signaling Links to the CT Bus
This section describes how to configure the CT Bus to connect a signaling link on one
board to a Line Interface Unit (LIU) timeslot on a second board. The configuration is
performed using the s7_mgt configuration utility.
To use the CT Bus timeslots from the LIU, the signaling links from the signaling
processor must be connected to the CT Bus. LIU timeslots are identified by the
liu_id (in the range 0 to one less than the number of LIUs) and a timeslot mask.
Signaling links are identified by a special liu_id of 0x90, 0x91, 0x92, or 0x94,
corresponding to the signaling processor, and a timeslot mask.
When connecting signaling links to the CT Bus, the <stream> and <timeslot>
parameters of the MTP_LINK command are not required and should be set to 0.