The test programs must be told which timeslots to use. These must be switched (using the Aculab switch driver) to the desired destination. See Appendix B of the switch driver API guide for full details, but for the first module on a card you can use:
| Type of card | Accessible timeslots |
|---|---|
| S2 (ISA) | any MVIP timeslot |
| P1 (PCI) | 48:0 .. 49:31 |
| C1 (cPCI) | 48:0 .. 49:31 |
| BR8 | 20:0 .. 21:31 |
To perform loopback testing, use the 'switch' program in
the $(TiNG)/diag directory to connect the output to the
input. For example, on a P1 card you would switch 48:0 to
48:0. To connect an external call, for example on timeslot
16:1, connect it both ways, e.g. 48:0 to
16:1 and 16:1 to 48:0.
Test programs such as ansrec handle this
connection automatically. They only need to be told which timeslot to
use. For example, on a P1 card you could specify that
48:0 is to be used and it would make the connections to
the incoming call.
NOTE:
the MVIP bus numbering uses the name '0:0' to refer to two
different timeslots: one input and one output. The H.100 bus uses a
different name for each timeslot, so '0:0' only refers
to a single timeslot.
This is one of the Prosody test programs .