(Page 8 of 28 in this chapter)
void myConfigChannels(SWIHD age1hd)
{
SWI_LOCALTIMESLOT_ARGS args;
struct channel_parms cp;
DWORD i;
args.localstream = 0;
args.deviceid = MVIP95_T1_TRUNK_DEVICE;
args.parameterid = CONFIG_CHANNEL;
cp.size = sizeof(struct channel_parms);
cp.invert = 0;
cp.loopback = 0;
cp.robbedbit = 1;
for (i = 0; i < 24; i++)
{
args.localtimeslot = i;
cp.trunk = i;
swiConfigLocalTimeslot(age1hd, &args, &cp, cp.size);
}
}
(Page 8 of 28 in this chapter)