Project

General

Profile

Community TDMSS7 Network » History » Version 13

laforge, 01/31/2022 11:15 AM

1 6 laforge
{{>toc}}
2
3 1 laforge
h1. Community TDM/ISDN/SS7 Network
4
5 13 laforge
This wiki page describes some ideas about a _work in progress_ creating a community TDM/ISDN/SS7 network, enabling retronetworking enthusiasts around the world to interconnect their TDM equipment, such as PBXs, telephony switches, RAS servers, access multiplers, etc.
6 1 laforge
7 2 laforge
For classic analog telephones, there is the C*NET (https://www.ckts.info/).  This is basically the same idea but for one later generation of technology: Digital TDM/PDH/ISDN/SS7 networks.  And of course one can connect analog telephone/modem equipment via ISDN/SS7, if that is desired.
8 1 laforge
9
h2. Underlying Protocol / Hardware
10
11 12 laforge
The underlying transport protocol is being designed around the wiki page [[e1-t1-adapter:Proposed_efficient_TDMoIP]].  The initial hardware implementation is going to be an [[e1-t1-adapter:icE1usb]] attached to some kind of [embedded] Linux sytem like a Raspberry Pi.  The unique property about the icE1usb is that it contains a GPS-DO to ensure the same clock reference is used in all locations.
12 1 laforge
13
h2. TDM layer hub / cross-connect
14
15
The TDM layer would allow to interconnect any E1 line (or even only some timeslots of a line) with any other E1 line.  It doesn't interpret the payload but just passes it around.
16
17 3 laforge
{{graphviz_link()
18
graph G {
19
  hub [shape=box, label="TDMoIP hub\ncross-connect\nin public internet"];
20
  subgraph cluster_1 {
21 5 tnt
    label="Hobbyist A";
22 3 laforge
    ad1 [label="Access Device\n"];
23
    pbx1 [label="PBX"];
24
    pbx1 -- ad1 [label="E1"];
25
  }
26
  subgraph cluster_2 {
27 5 tnt
    label="Hobbyist B";
28 3 laforge
    ad2 [label="Access Device\n"];
29
    frr [label="FrameRelay Device"];
30
    frr -- ad2 [label="E1"];
31
  }
32
  subgraph cluster_3 {
33 5 tnt
    label="Hobbyist C";
34 3 laforge
    ad3 [label="Access Device\n"];
35
    ras [label="RAS Server"];
36
    ras -- ad3 [label="E1"];
37
  }
38
  ad1 -- hub [label="TDMoIP\nInternet"];
39
  ad2 -- hub [label="TDMoIP\nInternet"];
40
  ad3 -- hub [label="TDMoIP\nInternet"];
41
}
42
}}
43 1 laforge
44
h2. Services
45
46
h3. Classic SS7
47
48
Classic SS7 (MTP2/MTP3 plus TUP/ISUP) would permit to connect STPs and SPCs, such as those of telephony exchanges / switches.
49
50
A user connecting to the SS7 service would need to be allocated point codes.
51
52
53
h3. ISDN PRI
54
55
ISDN (Q.921/Q.931) would permit to connect equipment like PBXs.   The hub offers the NT / central office function, while the client side implements the TE function.
56
57
A user connecting to the ISDN PRI service would need to be allocated telephone nubmers in the dialling plan.
58
59
On the hub side, the PRI lines and ISDN service could be terminated in a yate or Freeswitch instance.
60
61 4 laforge
{{graphviz_link()
62
graph G {
63
  hub [shape=box, label="TDMoIP hub\ncross-connect\nin public internet"];
64
  subgraph cluster_1 {
65 5 tnt
    label="Hobbyist A";
66 4 laforge
    ad1 [label="Access Device\n"];
67
    pbx1 [label="PBX"];
68
    phone1a [label="Phone"];
69
    modem1b [label="Modem"];
70
    ta1c [label="ISDN TA"];
71
    pbx1 -- ad1 [label="E1"];
72
    phone1a -- pbx1 [label="POTS"];
73
    modem1b -- pbx1 [label="POTS"];
74
    ta1c -- pbx1 [label="ISDN-BRI"];
75
  }
76
  subgraph cluster_2 {
77 5 tnt
    label="Hobbyist B";
78 4 laforge
    ad2 [label="Access Device\n"];
79
    pbx2 [label="PBX"];
80
    phone2a [label="Phone"];
81
    modem2b [label="Modem"];
82
    ta2c [label="ISDN TA"];
83
    pbx2 -- ad2 [label="E1"];
84
    phone2a -- pbx2 [label="POTS"];
85
    modem2b -- pbx2 [label="POTS"];
86
    ta2c -- pbx2 [label="ISDN-BRI"];
87
  }
88
  subgraph cluster_3 {
89 5 tnt
    label="Hobbyist C";
90 4 laforge
    ad3 [label="Access Device\n"];
91
    pbx3 [label="PBX"];
92
    phone3a [label="Phone"];
93
    modem3b [label="Modem"];
94
    ta3c [label="ISDN TA"];
95
    pbx3 -- ad3 [label="E1"];
96
    phone3a -- pbx3 [label="POTS"];
97
    modem3b -- pbx3 [label="POTS"];
98
    ta3c -- pbx3 [label="ISDN-BRI"];
99
  }
100
  ad1 -- hub [label="TDMoIP\nInternet"];
101
  ad2 -- hub [label="TDMoIP\nInternet"];
102
  ad3 -- hub [label="TDMoIP\nInternet"];
103
}
104
}}
105 1 laforge
106
h3. SCCP/MAP/TCAP
107
108
SCCP/MAP/TCAP on top of SS7 can be used to provide interworking between private cellular networks.
109
110
h3. ISDN BRI
111
112
ISDN BRI service is expected to initially only be obtained indirectly: By connecting a ISDN PRI capable PBX to the hub, and then locally connecting to ISDN BRI ports of the PBX.
113
114 11 laforge
At a later point, one could consider implementing a ISDN BRI version of the TDMoIP protocol and some software implementation for ISDN BRI cards that support NT mode.  One notable topic is clocking:  The hardware would either need a GPS-DO (like [[e1-t1-adapter:icE1usb]] has for E1) or at the very least a VCTCXO that can be disciplined by software to match the timing recovered from the IP packet side.  See #5436 and #5417 
115 2 laforge
116
h3. Frame Relay
117
118
A Frame Relay network could be implemented on top of the TDM hub.  In this case, framed E1 would be used with groups of 64k timeslots (typically all 31) building the underlying FR transport medium.
119 8 laforge
120
h3. POTS / analog telephony
121
122
There is no plan to directly support analog telephony.  Rather, analog ports for phones, modems, etc. can be provided by means of ISDN PBXs connecting via ISDN PRI  (and possibly later ISDN BRI)
Add picture from clipboard (Maximum size: 48.8 MB)