summaryrefslogtreecommitdiff
path: root/full_IO/README
blob: facfc9656e44f686dcf6c78b1dc9abdb9d88c505 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
# TODO:
#   - write the conf files and the script..
#   - should probably remove the ssh key on PCB after the test   
#   - on error, get PCB serial number, IP, MAC, logs and conf files (PCB and XHD
#     side)

Objective
---------
This will checks that all port are basically fonctioning.
It runs 3 tests:
 * Set the PCB[T0] ports in TE mode and the XHD[T0] ones in NT and then initiate
   the call from XHD, the PCB should call back.
 * Then it sets ports in the other way (NT/TE) an send a new call from XHD.
 * Finally checks the FXO and FXS ports.

Needs: 
 * Both card on the same network (ssh connection)
 * The ssh key of XHD in the PCB' `~/.ssh/authorized_keys'
 
Setup
-----

You need to connect the proto board (ref bellow as "PCB") to the testing 
computer (ref bellow as "XHD") which embbed a Digium BRI card.

 ------------           ------------
 PCB     T0 -|−−−−−−−−−|- T0     XHD
         T0 -|−−−−−−−−−|- T0
         T0 -|−−−−−−−−−|- T0
         T0 -|−−−−−−−−−|- T0
             |         |
        FXS -|−−−−−−−−−|- FXO
        FXO -|−−−−−−−−−|- FXS
 ------------           ------------


Running the test
----------------
#FIXME
#
run the full_IO.sh script


<!-- vi:syntax=markdown tw=80
  -->