Osmocom icE1usb » History » Revision 2
Revision 1 (manawyrm, 02/23/2022 04:12 PM) → Revision 2/4 (laforge, 03/02/2022 02:02 PM)
h1. Osmocom icE1usb For general informatoin about this open source hardware device (manual, hardware design, schematics, gateware, firmware, ...), see [[e1-t1-adapter:icE1usb]]. 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. h3. Using the icE1usb with DAHDI driver to provide a S2m line This configuration will provide an S2m line that behaves like a german Primärmultiplexanschluss/PMX. The framing/checksumming configuration required might be different for other countries. The icE1usb ships in TE mode. You either need to use an E1 cross-over cable or change the jumpers inside the icE1usb. +Ethernet cross-over cables are different and do not work!+ /etc/dahdi/system.conf: <pre><code class="shell"> # Span 1: icE1usb/1/0 "Osmocom icE1USB Card 1 Span 0" (MASTER) span=1,0,0,ccs,hdb3,crc4 # termtype: nt bchan=1-15,17-31 dchan=16 # Global data loadzone = de defaultzone = de </code></pre> Apply the config using: <pre><code class="shell"> dahdi_cfg -v </code></pre> Then create the span assignments using: <pre><code class="shell"> dahdi_span_assignments dumpconfig > /etc/dahdi/assigned-spans.conf </code></pre> To use Asterisk, create /etc/asterisk/dahdi-channels.conf: <pre><code class="ini"> ; This is not intended to be a complete chan_dahdi.conf. Rather, it is intended ; to be #include-d by /etc/chan_dahdi.conf that will include the global settings ; ; Span 1: icE1usb/1/0 "Osmocom icE1USB Card 1 Span 0" (MASTER) group=0,11 context=from-pstn switchtype = euroisdn signalling = pri_net channel => 1-15,17-31 context = default group = 63 </code></pre> and /etc/asterisk/chan_dahdi.conf: <pre><code class="ini"> [trunkgroups] [channels] language=de switchtype=euroisdn echocancel=no echocancelwhenbridged=no transfer=no pridialplan=unknown prilocaldialplan=unknown internationalprefix = 00 nationalprefix = 0 overlapdial=yes #include dahdi-channels.conf </code></pre> (careful: that #include is not a comment)