Project

General

Profile

Community TDMSS7 Network » History » Version 23

laforge, 12/02/2023 10:08 AM
update section on SS7/ISUP interconnects

1 6 laforge
{{>toc}}
2
3 1 laforge
h1. Community TDM/ISDN/SS7 Network
4
5 21 laforge
This wiki page describes 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 21 laforge
h2. How to contact us
69 1 laforge
70 21 laforge
h3. Mailing List
71
72 1 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/
73
74 21 laforge
Don't be surprised by the lack of traffic on the ML, almost all communication happens on the IRC channel
75 3 laforge
76 21 laforge
h3. IRC Channel
77 3 laforge
78 22 laforge
A lot of us are hanging out on the @#retronetworking@ IRC channel on libera.chat. If you don't know much about "IRC":https://en.wikipedia.org/wiki/IRC, feel free to use the provided "webchat":https://web.libera.chat/ interface
79 3 laforge
80 21 laforge
h2. Underlying Protocol / Hardware
81 1 laforge
82 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.
83 1 laforge
84
h2. Services
85
86 21 laforge
h3. ISDN PRI (available)
87 1 laforge
88 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.
89 1 laforge
90 21 laforge
A user connecting to the ISDN PRI service needs to be allocated telephone numbers in the dialling plan, see [[Phonebook]]..
91 1 laforge
92 21 laforge
On the hub side, the PRI lines and ISDN service are currently terminated in a yate instance.
93 1 laforge
94 4 laforge
{{graphviz_link()
95
graph G {
96
  hub [shape=box, label="TDMoIP hub\ncross-connect\nin public internet"];
97
  subgraph cluster_1 {
98 5 tnt
    label="Hobbyist A";
99 4 laforge
    ad1 [label="Access Device\n"];
100
    pbx1 [label="PBX"];
101
    phone1a [label="Phone"];
102
    modem1b [label="Modem"];
103 1 laforge
    ta1c [label="ISDN TA"];
104
    pbx1 -- ad1 [label="E1"];
105
    phone1a -- pbx1 [label="POTS"];
106
    modem1b -- pbx1 [label="POTS"];
107
    ta1c -- pbx1 [label="ISDN-BRI"];
108
  }
109
  subgraph cluster_2 {
110
    label="Hobbyist B";
111
    ad2 [label="Access Device\n"];
112
    pbx2 [label="PBX"];
113
    phone2a [label="Phone"];
114
    modem2b [label="Modem"];
115
    ta2c [label="ISDN TA"];
116
    pbx2 -- ad2 [label="E1"];
117
    phone2a -- pbx2 [label="POTS"];
118
    modem2b -- pbx2 [label="POTS"];
119
    ta2c -- pbx2 [label="ISDN-BRI"];
120
  }
121
  subgraph cluster_3 {
122
    label="Hobbyist C";
123
    ad3 [label="Access Device\n"];
124
    pbx3 [label="PBX"];
125
    phone3a [label="Phone"];
126
    modem3b [label="Modem"];
127
    ta3c [label="ISDN TA"];
128
    pbx3 -- ad3 [label="E1"];
129
    phone3a -- pbx3 [label="POTS"];
130
    modem3b -- pbx3 [label="POTS"];
131
    ta3c -- pbx3 [label="ISDN-BRI"];
132
  }
133
  ad1 -- hub [label="TDMoIP\nInternet"];
134
  ad2 -- hub [label="TDMoIP\nInternet"];
135
  ad3 -- hub [label="TDMoIP\nInternet"];
136
}
137
}}
138
139
140
h3. ISDN BRI
141
142
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.
143
144 4 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 
145
146 21 laforge
147
h3. TDM layer hub / cross-connect (future)
148
149
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.
150
151
{{graphviz_link()
152
graph G {
153
  hub [shape=box, label="TDMoIP hub\ncross-connect\nin public internet"];
154
  subgraph cluster_1 {
155
    label="Hobbyist A";
156
    ad1 [label="Access Device\n"];
157
    pbx1 [label="PBX"];
158
    pbx1 -- ad1 [label="E1"];
159
  }
160
  subgraph cluster_2 {
161
    label="Hobbyist B";
162
    ad2 [label="Access Device\n"];
163
    frr [label="FrameRelay Device"];
164
    frr -- ad2 [label="E1"];
165
  }
166
  subgraph cluster_3 {
167
    label="Hobbyist C";
168
    ad3 [label="Access Device\n"];
169
    ras [label="RAS Server"];
170
    ras -- ad3 [label="E1"];
171
  }
172
  ad1 -- hub [label="TDMoIP\nInternet"];
173
  ad2 -- hub [label="TDMoIP\nInternet"];
174
  ad3 -- hub [label="TDMoIP\nInternet"];
175
}
176
}}
177
178 23 laforge
h3. Classic SS7
179 21 laforge
180 23 laforge
Classic SS7 (MTP2/MTP3 plus ISUP) permit us to connect STPs and SPCs, such as those of telephony exchanges / switches.
181 1 laforge
182 23 laforge
We currently have two such connections:
183
* An _international_ ISUP/SS7 connection to the EWSD of Jan Pesak in Brno/CZ (routing +4205....)
184
* A _national_ ISUP/SS7 connection to the EWSD of @jolly in Doerphof/DE (routing +494644....)
185 1 laforge
186 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.
187
188
h4. SS7 Point Codes
189
190
We're using _ITU_ point codes with _international_ network indicator formatted in the 3-8-3 format.
191
192
|_.Point Code|_.System using it|_.Responsible|
193
|0-0-1|yate @divf.retronetworking.org@|@laforge|
194
|0-8-0|EWSD Doerphof/DE|@jolly|
195
|2-229-5|EWSD Brno/CZ|jpesak|
196 21 laforge
197
h3. SCCP/MAP/TCAP (future)
198
199
SCCP/MAP/TCAP on top of SS7 can be used to provide interworking between private cellular networks.
200
201
202
h3. Frame Relay (future)
203 2 laforge
204
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.
205 8 laforge
206
h3. POTS / analog telephony
207
208
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)