[asterisk-bugs] [DAHDI-tools 0015307]: allow dahdi_monitor to record directly to .wav files
Asterisk Bug Tracker
noreply at bugs.digium.com
Wed Jun 10 11:15:12 CDT 2009
The following issue has been SUBMITTED.
======================================================================
https://issues.asterisk.org/view.php?id=15307
======================================================================
Reported By: mspiceland
Assigned To:
======================================================================
Project: DAHDI-tools
Issue ID: 15307
Category: NewFeature
Reproducibility: always
Severity: feature
Priority: normal
Status: new
======================================================================
Date Submitted: 2009-06-10 11:15 CDT
Last Modified: 2009-06-10 11:15 CDT
======================================================================
Summary: allow dahdi_monitor to record directly to .wav files
Description:
Currently dahdi_monitor can record to raw uncompressed 16-bit signed 8khz
files. When troubleshooting, it is often useful to open up the recoded
files into external programs for analysis where these raw files are either
unsupported or it is inconvenient to import the raw files. For this
reason, recording the uncompressed audio directly to .wav files would be
useful.
I will attach a patch that allows one to save the recordings as .wav
files. The audio is still the same uncompressed PCM format. If the user
provides filenames with .wav, it prepends the file with the proper header
info. A new signal handler is installed so that when the user hits cntrl-c
to exit, it will break out of the main loop and give the dahdi_monitor an
opportunity to go back to the recorded files and insert the proper size
information into the header.
======================================================================
Issue History
Date Modified Username Field Change
======================================================================
2009-06-10 11:15 mspiceland New Issue
======================================================================
More information about the asterisk-bugs
mailing list