]> git.ipfire.org Git - thirdparty/asterisk.git/commit
app_record: Add option to prevent silence from being truncated 44/4944/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:28:10 +0000 (09:28 -0500)
commitfa8a1eff2f86fdd727f6e3d5443b404bd8d44e61
treebae46d4ab00f18fc55eba2050034a04d9cf316d5
parent6743541540e50dee996f19f6579e493538ad9d28
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