(Page 6 of 29 in this chapter) Version
typedef struct
{
DWORD localstream;
DWORD localtimeslot;
DWORD deviceid;
DWORD parameterid;
} SWI_LOCALTIMESLOT_ARGS;
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 6 of 29 in this chapter) Version