User guide
160 RealCT Direct API Developer Guide
Chapter 5: MVIP-90
Table 27 shows the VP resource number in the top row and their
associated timeslots in the bottom row.
Table 27. VP Resources and Their Associated Timeslots
Since Vantage VPS boards only have one DSP, they only use
timeslots 1, 9, 17, 25 by default. RDSP/xx000 and Vantage VRS
boards use a varying number of timeslots, depending on the
number of resources that board provides.
Although RDSP/xx000, Vantage VPS, and Vantage VRS
resources use the timeslots shown in Table 27, you can offset
the timeslot assignments for Vantage VRS and Vantage VPS
boards when you call RHT_CONFIG_MVIP to map boards to a
stream.
The default timeslot assignment shown in Table 26 and
Table 27 uses an offset of ‘1’. Notice that resource 0 uses
timeslot 1. Using an offset of ‘4’, resource 0 would use timeslot 4.
When designing an application, do not confuse resource
numbers with timeslot numbers. For example, if you switch a
call from an RTNI board to timeslot 1 of an RDSP/24000, you
would use VP resource 0 not VP resource 1 to record that call.
This is because timeslot 1 corresponds to resource 0.
The equation for timeslot assignment is as follows:
timeslot = [(VP/4) + offset]%8 + [(VP%4) *8]
where the default offset is 1.
01234567891
0
1
1
1
2
1
3
1
4
1
5
1
6
1
7
1
8
1
9
2
0
2
1
2
2
2
3
2
4
2
5
2
6
2
7
2
8
2
9
3
0
3
1
191
7
2
5
21
0
1
8
2
6
31
1
1
9
2
7
41
2
2
0
2
8
51
3
2
1
2
9
61
4
2
2
3
0
71
5
2
3
3
1
081
6
2
4