Project

General

Profile

Community TDMSS7 Network » History » Version 20

laforge, 04/21/2022 05:21 PM

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 18 manawyrm
h2. Current Network
10 17 laforge
11 20 laforge
The network has a number of additional participants by now, but the general principle looks the same, updating the graph with every participant would make it rather complex without immediate gain:
12
13 17 laforge
{{graphviz_link()
14
graph G {
15
  newrank=true;
16
  divo [shape=house,label="Central Office\nyate + TE820"];
17
  subgraph cluster_1 {
18
    label="@laforge / Berlin";
19
    uei1a [label="ISDN Phone"];
20
    uea1a [label="Analog Phone"];
21
    ues1a [label="SIP Phone"];
22
    pbx1a [label="Auerswald COMmander\nBasic 2 PBX"];
23
    pm3a [label="Livingston\nPortmaster 3\nRAS Server"];
24
    ice1a [shape=box3d,label="icE1usb\nGPS-DO\nosmo-e1d"];
25
    uei1a -- pbx1a [label="ISDN\nBRI"];
26
    uea1a -- pbx1a [label="POTS"];
27
    pbx1a -- divo [label="ISDN\nPRI"];
28
    pm3a -- divo [label="ISDN\nPRI"];
29
    ice1a -- divo [label="ISDN\nPRI"];
30
    ues1a -- divo [label="SIP"];
31
  }
32
33
  subgraph cluster_2 {
34
    label="@manawyrm / Kiel";
35
    ue2a [label="ISDN Phone\n"];
36
    pbx2 [label="Auerswald COMmander\nBasic 2 PBX"];
37
    ice2 [shape=box3d,label="icE1usb\nGPS-DO\nosmo-e1d\n"];
38
    ue2a -- pbx2 [label="ISDN\nBRI"];
39
    pbx2 -- ice2 [label="ISDN\nPRI"];
40
  }
41 19 laforge
42
  subgraph cluster_3 {
43
    label="@roox / Franconia";
44
    pbx3 [label="Auerswald COMmander\nBasic 2 PBX"];
45
    ice3 [shape=box3d,label="icE1usb\nGPS-DO\nosmo-e1d\n"];
46
    ue3a -- pbx3 [label="ISDN\nBRI"];
47
    pbx3 -- ice3 [label="ISDN\nPRI"];
48
  }
49
50
  subgraph cluster_4 {
51
    label="@gruetzkopf";
52
    pbx4 [label="PBX"];
53
    ice4 [shape=box3d,label="icE1usb\nGPS-DO\nosmo-e1d\n"];
54
    ue4a -- pbx4 [label="ISDN\nBRI"];
55
    pbx4 -- ice4 [label="ISDN\nPRI"];
56
  }
57
58 17 laforge
  internet [shape=hexagon,label="Public Internet"];
59
  cnet [shape=hexagon,label="C*NET"];
60
  ice1a -- internet [label="OCTOI\nTDMoIP"];
61
  ice2 -- internet [label="OCTOI\nTDMoIP"];
62 19 laforge
  ice3 -- internet [label="OCTOI\nTDMoIP"];
63
  ice4 -- internet [label="OCTOI\nTDMoIP"];
64 17 laforge
  divo -- cnet [label="IAX2"];
65
}
66
}}
67
68 14 laforge
h2. Mailing List
69
70 15 laforge
We now have a public "mailing list":https://lists.retronetworking.org/postorius/lists/octoi.lists.retronetworking.org/ for discussion among interested parties. The list has a public "archive":https://lists.retronetworking.org/hyperkitty/list/octoi@lists.retronetworking.org/
71 14 laforge
72 1 laforge
h2. Underlying Protocol / Hardware
73
74 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.
75 1 laforge
76
h2. TDM layer hub / cross-connect
77
78
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.
79
80 3 laforge
{{graphviz_link()
81
graph G {
82
  hub [shape=box, label="TDMoIP hub\ncross-connect\nin public internet"];
83
  subgraph cluster_1 {
84 5 tnt
    label="Hobbyist A";
85 3 laforge
    ad1 [label="Access Device\n"];
86
    pbx1 [label="PBX"];
87
    pbx1 -- ad1 [label="E1"];
88
  }
89
  subgraph cluster_2 {
90 5 tnt
    label="Hobbyist B";
91 3 laforge
    ad2 [label="Access Device\n"];
92
    frr [label="FrameRelay Device"];
93
    frr -- ad2 [label="E1"];
94
  }
95
  subgraph cluster_3 {
96 5 tnt
    label="Hobbyist C";
97 3 laforge
    ad3 [label="Access Device\n"];
98
    ras [label="RAS Server"];
99
    ras -- ad3 [label="E1"];
100
  }
101
  ad1 -- hub [label="TDMoIP\nInternet"];
102
  ad2 -- hub [label="TDMoIP\nInternet"];
103
  ad3 -- hub [label="TDMoIP\nInternet"];
104
}
105
}}
106 1 laforge
107
h2. Services
108
109
h3. Classic SS7
110
111
Classic SS7 (MTP2/MTP3 plus TUP/ISUP) would permit to connect STPs and SPCs, such as those of telephony exchanges / switches.
112
113
A user connecting to the SS7 service would need to be allocated point codes.
114
115
116
h3. ISDN PRI
117
118
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.
119
120 16 manawyrm
A user connecting to the ISDN PRI service would need to be allocated telephone numbers in the dialling plan.
121 1 laforge
122
On the hub side, the PRI lines and ISDN service could be terminated in a yate or Freeswitch instance.
123
124 4 laforge
{{graphviz_link()
125
graph G {
126
  hub [shape=box, label="TDMoIP hub\ncross-connect\nin public internet"];
127
  subgraph cluster_1 {
128 5 tnt
    label="Hobbyist A";
129 4 laforge
    ad1 [label="Access Device\n"];
130
    pbx1 [label="PBX"];
131
    phone1a [label="Phone"];
132
    modem1b [label="Modem"];
133
    ta1c [label="ISDN TA"];
134
    pbx1 -- ad1 [label="E1"];
135
    phone1a -- pbx1 [label="POTS"];
136
    modem1b -- pbx1 [label="POTS"];
137
    ta1c -- pbx1 [label="ISDN-BRI"];
138
  }
139
  subgraph cluster_2 {
140 5 tnt
    label="Hobbyist B";
141 4 laforge
    ad2 [label="Access Device\n"];
142
    pbx2 [label="PBX"];
143
    phone2a [label="Phone"];
144
    modem2b [label="Modem"];
145
    ta2c [label="ISDN TA"];
146
    pbx2 -- ad2 [label="E1"];
147
    phone2a -- pbx2 [label="POTS"];
148
    modem2b -- pbx2 [label="POTS"];
149
    ta2c -- pbx2 [label="ISDN-BRI"];
150
  }
151
  subgraph cluster_3 {
152 5 tnt
    label="Hobbyist C";
153 4 laforge
    ad3 [label="Access Device\n"];
154
    pbx3 [label="PBX"];
155
    phone3a [label="Phone"];
156
    modem3b [label="Modem"];
157
    ta3c [label="ISDN TA"];
158
    pbx3 -- ad3 [label="E1"];
159
    phone3a -- pbx3 [label="POTS"];
160
    modem3b -- pbx3 [label="POTS"];
161
    ta3c -- pbx3 [label="ISDN-BRI"];
162
  }
163
  ad1 -- hub [label="TDMoIP\nInternet"];
164
  ad2 -- hub [label="TDMoIP\nInternet"];
165
  ad3 -- hub [label="TDMoIP\nInternet"];
166
}
167
}}
168 1 laforge
169
h3. SCCP/MAP/TCAP
170
171
SCCP/MAP/TCAP on top of SS7 can be used to provide interworking between private cellular networks.
172
173
h3. ISDN BRI
174
175
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.
176
177 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 
178 2 laforge
179
h3. Frame Relay
180
181
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.
182 8 laforge
183
h3. POTS / analog telephony
184
185
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)