]> git.ipfire.org Git - thirdparty/asterisk.git/commit
app_record: Add option to prevent silence from being truncated 43/4943/1
authorSean Bright <sean.bright@gmail.com>
Tue, 14 Feb 2017 14:12:31 +0000 (09:12 -0500)
committerSean Bright <sean.bright@gmail.com>
Tue, 14 Feb 2017 14:12:31 +0000 (09:12 -0500)
commitf99e5f4de422ef4832c409dcc7b5cb44626a6171
tree788875023bf00bbf241fbb935dc989413a8da745
parente0c52c5ec217a64adfccbe7a2a36bd306091a0d4
app_record: Add option to prevent silence from being truncated

When using Record() with the silence detection feature, the stream is
written out to the given file. However, if only 'silence' is detected,
this file is then truncated to the first second of the recording.

This patch adds the 'u' option to Record() to override that behavior.

ASTERISK-18286 #close
Reported by: var
Patches:
app_record-1.8.7.1.diff (license #6184) patch uploaded by var

Change-Id: Ia1cd163483235efe2db05e52f39054288553b957
CHANGES
apps/app_record.c