DAHDI_MONITOR(8)
β¨ DAHDI_MONITOR(8) β¨
okay bestie, gather round π this is the manual page for dahdi_monitor from the DAHDI_MONITOR(8) manual β it's the lil tool that checks the Rx/Tx levels of a DAHDI channel. it's giving oscilloscope but make it terminal. let's GO π
πΈ NAME πΈ
dahdi_monitor β checks the Rx/Tx levels of a DAHDI channels π
π¦ SYNOPSIS π¦
dahdi_monitor num [-v[v]]
dahdi_monitor num [-o] [<-f|-F> FILE]
dahdi_monitor num [[<-r|-R> FILE]] [[<-t|-T> FILE]]
π DESCRIPTION π
dahdi_monitor</purl> monitors a Dahdi channel. no cap. it can record the output to a file, play it to the speaker, or visualize the audio levels right there on your terminal. three whole vibes, pick your fighter β¨
recorded audio files are by default raw signed linear PCM. but β and this is the slay part β if the file name ends with .wav, the recorded file will be a WAV file. so fancy π
the visual display shows the current audio level at both the Rx (audio Received by Asterisk) and Tx (audio Transmitted by Asterisk). it's literally watching the audio breathe π₯
to exit the program, press Ctrl-C. yes bestie, that's the whole escape plan. periodt π
π OPTIONS π
the first (mandatory) parameter is the number of the channel to monitor. don't forget it, she's required π
-mβ Multiple channels. Don't multiplex both Rx and Tx in a single channel. Normally there's a different option that you need that implies it. (iykyk π)-oβ Plays the output to OSS (/dev/dsp). Requires-mnot to be used. so it's a little picky about that π-vβ Display Visual audio levels. With two v-s, Verbose mode is enabled, that shows the actual levels as numbers. Note that this requires a terminal wider than 80 columns to be properly displayed. Implies-m. β¨-f FILEβ Record the content of the channel (Tx + Rx) to a file. π-F FILEβ Record the content of the channel (Tx + Rx) before the echo canceler to a file. π-r FILEβ Record the content of the Rx channel to a file. Implies-m. π-R FILEβ Record the content of the R channel before the echo canceler to a file. Implies-m. π-s FILEβ Record the content of the Tx and Rx of the channel to a file. πΈ-S FILEβ Records a stereo of both Tx and Rx of the channel before the echo canceler to a file. πΈ-t FILEβ Record the content of the Tx channel to a file. Implies-m. π-T FILEβ Record the content of the Tx channel before the echo canceler to a file. Implies-m. π
π₯ EXAMPLES π₯
Visualize audio levels on DAHDI channel 2:
dahdi_monitor 2 -v
Record channel 3 to a file:
dahdi_monitor 3 -f output.raw
This will create a raw PCM file (signed-linear, 8kHz, mono, 16 bits per sample). Both the Tx and Rx will be multiplexed in a single channel. It can be converted to a WAV file using e.g.:
sox -s -c1 -2 -r8000 output.raw output.wav
Record Tx and Rx of channel 5 to separate files. This time directly to WAV files:
dahdi_monitor 5 -r output_rx.wav -t output_tx.wav
Record channel 8 to a stereo file (Tx and Rx on its two channels):
dahdi_monitor 8 -s output.raw
Converting it to a WAV file:
sox -s -c2 -2 -r8000 output.raw output.wav
π SEE ALSO π
dahdi_tool(8), dahdi_cfg(8). go read those next bestie, the lore runs deep π«Ά
π AUTHOR π
this manual page was written by Santiago Ruano RincΓ³n <santiago@unicauca.edu.co> for the Debian system (but may be used by others). Permission is granted to copy, distribute and/or modify this document under the terms of the GNU General Public License, Version 2 any later version published by the Free Software Foundation. iconic behavior fr fr π
and that's the whole page, babe π this one's from the DAHDI_MONITOR(8) manual, dated 9 Sep 2011, and the source/version stamped on it is DAHDI_MONITOR(8). slay, go monitor some channels πβ¨π¦
π¦ where this page comes from
- debian bookworm: dahdi 1:3.1.0-2
- debian trixie: dahdi 1:3.1.0-2.1
- epel 9: dahdi-tools 2.11.1-28.el9 Β· GPLv2 and LGPLv2
- fedora 43: dahdi-tools 2.11.1-37.fc43 Β· GPL-2.0-only AND LicenseRef-Callaway-LGPLv2
- fedora 44: dahdi-tools 2.11.1-39.fc44 Β· GPL-2.0-only AND LicenseRef-Callaway-LGPLv2
- ubuntu jammy: dahdi 1:3.1.0-2
- ubuntu noble: dahdi 1:3.1.0-2build1
- ubuntu questing: dahdi 1:3.1.0-2.1
- ubuntu resolute: dahdi 1:3.1.0-2.1build1
- ubuntu stonking: dahdi 1:3.4.0-1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms