Project

General

Profile

Community TDMSS7 Network » History » Version 28

laforge, 12/05/2023 03:49 PM

1 6 laforge
{{>toc}}
2
3 1 laforge
h1. Community TDM/ISDN/SS7 Network
4
5 26 laforge
This wiki page describes 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, digital switches, 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 28 laforge
{{include(retronetworking:Macro_GettingInTouch)}}
69 1 laforge
70 25 laforge
h3. Mailing List
71 21 laforge
72 1 laforge
We have a (rarely used) 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/
73 3 laforge
74 28 laforge
Don't be surprised by the lack of traffic on the ML, almost all communication happens on the IRC channel or in the Forum.
75 3 laforge
76 21 laforge
h2. Underlying Protocol / Hardware
77 1 laforge
78 21 laforge
The underlying transport protocol is being designed around the wiki page [[e1-t1-adapter:Proposed_efficient_TDMoIP]].  The initial hardware implementation is 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.
79 1 laforge
80
h2. Services
81
82 21 laforge
h3. ISDN PRI (available)
83 1 laforge
84 21 laforge
ISDN (Q.921/Q.931) permit to connect equipment like PBXs.   The hub offers the NT / central office function, while the client side implements the TE function.
85 1 laforge
86 21 laforge
A user connecting to the ISDN PRI service needs to be allocated telephone numbers in the dialling plan, see [[Phonebook]]..
87 1 laforge
88 21 laforge
On the hub side, the PRI lines and ISDN service are currently terminated in a yate instance.
89 1 laforge
90 4 laforge
{{graphviz_link()
91
graph G {
92
  hub [shape=box, label="TDMoIP hub\ncross-connect\nin public internet"];
93
  subgraph cluster_1 {
94 5 tnt
    label="Hobbyist A";
95 4 laforge
    ad1 [label="Access Device\n"];
96
    pbx1 [label="PBX"];
97
    phone1a [label="Phone"];
98
    modem1b [label="Modem"];
99 1 laforge
    ta1c [label="ISDN TA"];
100
    pbx1 -- ad1 [label="E1"];
101
    phone1a -- pbx1 [label="POTS"];
102
    modem1b -- pbx1 [label="POTS"];
103
    ta1c -- pbx1 [label="ISDN-BRI"];
104
  }
105
  subgraph cluster_2 {
106
    label="Hobbyist B";
107
    ad2 [label="Access Device\n"];
108
    pbx2 [label="PBX"];
109
    phone2a [label="Phone"];
110
    modem2b [label="Modem"];
111
    ta2c [label="ISDN TA"];
112
    pbx2 -- ad2 [label="E1"];
113
    phone2a -- pbx2 [label="POTS"];
114
    modem2b -- pbx2 [label="POTS"];
115
    ta2c -- pbx2 [label="ISDN-BRI"];
116
  }
117
  subgraph cluster_3 {
118
    label="Hobbyist C";
119
    ad3 [label="Access Device\n"];
120
    pbx3 [label="PBX"];
121
    phone3a [label="Phone"];
122
    modem3b [label="Modem"];
123
    ta3c [label="ISDN TA"];
124
    pbx3 -- ad3 [label="E1"];
125
    phone3a -- pbx3 [label="POTS"];
126
    modem3b -- pbx3 [label="POTS"];
127
    ta3c -- pbx3 [label="ISDN-BRI"];
128
  }
129
  ad1 -- hub [label="TDMoIP\nInternet"];
130
  ad2 -- hub [label="TDMoIP\nInternet"];
131
  ad3 -- hub [label="TDMoIP\nInternet"];
132
}
133
}}
134
135
h3. ISDN BRI
136
137 27 laforge
ISDN BRI service is expected to initially only be obtained indirectly: 
138
* By connecting a ISDN PRI capable PBX (like an Auerswald COMmander Basic.2) to the hub, and then locally connecting to ISDN BRI ports of the PBX, similar to oor [[OCTOI_Event_PBX]] 
139
* By using an Asterisk PBX with BRI capable cards [[Trunkdev-S0-Adapter]]. This doesn't require any hardware except the NT-capable BRI card, not even an icE1usb!
140 4 laforge
141 27 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
142 21 laforge
143
h3. TDM layer hub / cross-connect (future)
144
145
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.
146
147
{{graphviz_link()
148
graph G {
149
  hub [shape=box, label="TDMoIP hub\ncross-connect\nin public internet"];
150
  subgraph cluster_1 {
151
    label="Hobbyist A";
152
    ad1 [label="Access Device\n"];
153
    pbx1 [label="PBX"];
154
    pbx1 -- ad1 [label="E1"];
155
  }
156
  subgraph cluster_2 {
157
    label="Hobbyist B";
158
    ad2 [label="Access Device\n"];
159
    frr [label="FrameRelay Device"];
160
    frr -- ad2 [label="E1"];
161
  }
162
  subgraph cluster_3 {
163
    label="Hobbyist C";
164
    ad3 [label="Access Device\n"];
165
    ras [label="RAS Server"];
166
    ras -- ad3 [label="E1"];
167
  }
168
  ad1 -- hub [label="TDMoIP\nInternet"];
169
  ad2 -- hub [label="TDMoIP\nInternet"];
170
  ad3 -- hub [label="TDMoIP\nInternet"];
171
}
172
}}
173
174 23 laforge
h3. Classic SS7
175 21 laforge
176 23 laforge
Classic SS7 (MTP2/MTP3 plus ISUP) permit us to connect STPs and SPCs, such as those of telephony exchanges / switches.
177 1 laforge
178 23 laforge
We currently have two such connections:
179
* An _international_ ISUP/SS7 connection to the EWSD of Jan Pesak in Brno/CZ (routing +4205....)
180
* A _national_ ISUP/SS7 connection to the EWSD of @jolly in Doerphof/DE (routing +494644....)
181 1 laforge
182 23 laforge
The TDMoIP protocol with osmo-e1d and icE1usb is identical to the more common ISDN PRI setup described above.  It's just the signaling protocols on top which are different (MTP2/MTP3/ISUP) insteadl Q.921/Q.931.
183
184
h4. SS7 Point Codes
185
186
We're using _ITU_ point codes with _international_ network indicator formatted in the 3-8-3 format.
187
188
|_.Point Code|_.System using it|_.Responsible|
189
|0-0-1|yate @divf.retronetworking.org@|@laforge|
190
|0-8-0|EWSD Doerphof/DE|@jolly|
191
|2-229-5|EWSD Brno/CZ|jpesak|
192 21 laforge
193
h3. SCCP/MAP/TCAP (future)
194
195
SCCP/MAP/TCAP on top of SS7 can be used to provide interworking between private cellular networks.
196
197
198
h3. Frame Relay (future)
199 2 laforge
200
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.
201 8 laforge
202
h3. POTS / analog telephony
203
204 24 laforge
There is no plan to _directly_ support analog telephony.  Rather, analog ports for phones, modems, etc. can always 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)