The dahdi_monitor utility can be used to take recordings at the driver level of DAHDI channels, and to visually monitor volume levels on a channel.
Info |
---|
Note: When using dahdi_monitor, the first parameter is always the channel number, as seen by DAHDI, you will need to check the DAHDI configuration file in order to find out the channel number of the specific card that you want to troubleshoot. Also for more information about the application options, please run dahdi_monitor without any options. |
Visual Monitoring
To visually monitor a channel, run the following command: dahdi_monitor X -v (Where 'X' is the channel number of your choosing.)
Recording
You have many options when recording audio using dahdi_monitor. You can split the audio into separate files for TX and RX to better distinguish which side of the communication is having an issue, or mix TX and RX into the same file. You can also get the audio before it is sent through echo-cancellation as well as after it has come through echo-cancellation.
...
<echocan type>-<version of echocan>-<PRE or POST echocan>-<TX or RX>-<echocan ON or OFF (hardware only)>.wav
Example:
vpm-tx-on.wav
vpm-rx-off.wav
hpec-pre-tx.wav
hpec-post-rx.wav
Example Usage
...
:
Only post echo-cancellation
...