Project

General

Profile

Osmocom icE1usb » History » Version 4

laforge, 11/20/2022 10:45 AM

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