Project

General

Profile

Wiki » History » Version 1

laforge, 11/08/2022 11:16 AM

1 1 laforge
h1. osmo-isdntap
2
3
@osmo-isdntap@ is a small stand-alone [daemon] program that you can run to create recordings of ISDN calls.
4
5
It is part of the [[retronetworking:]] project.
6
7
The program works by passively decoding the ISDN D-channel, specifically the Q.931 call control protocol.  Whenever a call is being set up, it starts to capture the B-channel
8
timeslot allocated to that call.  It creates two files, one for each of the two directions of the call.  The files contain the raw transparent binary B-channel data.
9
10
Currently the only supported ISDN hardware/driver interface is DAHDI.
11
12
Currently, only PRI (primary rate) ISDN interfaces are supported.
13
14
h2. git Repository
15
16
You can clone from the official osmo-isdntap.git repository using
17
<pre>
18
        git clone https://gitea.osmocom.org/retronetworking/osmo-isdntap
19
</pre>
20
21
There is a web interface at <https://gitea.osmocom.org/retronetworking/osmo-isdntap>
22
23
24
h3. Converting recordings to audio
25
26
If you'd like to convert any of the recorded files to audio, you can use the following example
27
command to do so:
28
<pre>
29
        sox --channels 1 --type raw --rate 8000 -e a-law isdntap-03012342111-03012343038-20221016-212558-8-tx.raw output.wav
30
</pre>
31
The generated `output.wav` file can then be played back with any standard audio player.
Add picture from clipboard (Maximum size: 48.8 MB)