Project

General

Profile

Osmocom icE1usb » History » Version 2

laforge, 03/02/2022 02:02 PM

1 1 manawyrm
h1. Osmocom icE1usb
2
3 2 laforge
For general informatoin about this open source hardware device (manual, hardware design, schematics, gateware, firmware, ...), see [[e1-t1-adapter:icE1usb]].
4
5
In case anyone is interested in purchasing a fully assembled icE1usb for retronetworking purpose, sysmocom is offering radical discounts if you contact sales@sysmocom.de and explain what you want to use it for.
6
7
h3. Using the icE1usb with DAHDI driver to provide a S2m line
8 1 manawyrm
9
This configuration will provide an S2m line that behaves like a german Primärmultiplexanschluss/PMX. 
10
The framing/checksumming configuration required might be different for other countries.
11
12
The icE1usb ships in TE mode. You either need to use an E1 cross-over cable or change the jumpers inside the icE1usb.
13
+Ethernet cross-over cables are different and do not work!+
14
15
/etc/dahdi/system.conf:
16
<pre><code class="shell">
17
# Span 1: icE1usb/1/0 "Osmocom icE1USB Card 1 Span 0" (MASTER) 
18
span=1,0,0,ccs,hdb3,crc4
19
# termtype: nt
20
bchan=1-15,17-31
21
dchan=16
22
23
# Global data
24
loadzone        = de
25
defaultzone     = de
26
</code></pre>
27
28
Apply the config using: 
29
<pre><code class="shell">
30
dahdi_cfg -v
31
</code></pre>
32
33
Then create the span assignments using: 
34
<pre><code class="shell">
35
dahdi_span_assignments dumpconfig > /etc/dahdi/assigned-spans.conf
36
</code></pre>
37
38
To use Asterisk, create /etc/asterisk/dahdi-channels.conf:
39
<pre><code class="ini">
40
; This is not intended to be a complete chan_dahdi.conf. Rather, it is intended
41
; to be #include-d by /etc/chan_dahdi.conf that will include the global settings
42
;
43
44
; Span 1: icE1usb/1/0 "Osmocom icE1USB Card 1 Span 0" (MASTER) 
45
group=0,11
46
context=from-pstn
47
switchtype = euroisdn
48
signalling = pri_net
49
channel => 1-15,17-31
50
context = default
51
group = 63
52
</code></pre>
53
54
55
and /etc/asterisk/chan_dahdi.conf:
56
<pre><code class="ini">
57
[trunkgroups]
58
59
[channels]
60
language=de
61
switchtype=euroisdn
62
63
echocancel=no
64
echocancelwhenbridged=no
65
66
transfer=no
67
68
pridialplan=unknown
69
prilocaldialplan=unknown
70
internationalprefix = 00
71
nationalprefix = 0
72
overlapdial=yes
73
74
#include dahdi-channels.conf
75
</code></pre>
76
(careful: that #include is not a comment)
Add picture from clipboard (Maximum size: 48.8 MB)