Summary: | ASTERISK-18286: [patch] 'Silence' is truncated in Record() | ||
Reporter: | var (var) | Labels: | |
Date Opened: | 2011-08-17 22:21:58 | Date Closed: | 2017-02-14 14:56:58.000-0600 |
Priority: | Minor | Regression? | Yes |
Status: | Closed/Complete | Components: | Applications/app_record |
Versions: | 1.8.6.0 | Frequency of Occurrence | Constant |
Related Issues: | |||
Environment: | Debian 6.0.4, kernel 2.6.32-5-686, dahdi-tools-2.6.0, dahdi-linux-2.6.0, libpri-1.4.12 | Attachments: | ( 0) app_record.diff ( 1) app_record-1.8.6.0.diff ( 2) app_record-1.8.6.0-doc.diff ( 3) app_record-1.8.6.0-final.diff ( 4) app_record-1.8.6.0-final.diff ( 5) app_record-1.8.7.1.diff |
Description: | 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 (8016 bytes for alaw e1). This causes a problem for IVR applications, even if only silence is detected it can still be of use in data collection as silence may not really be all silence (e.g. someone talking quietly) or this data is utilised for other verification reasons. Silence detection should not have right to remove any recorded data, at the very least it should be a configuration or argument option. See ticket ASTERISK-17522 for pre-dated 1.6.2.x issue, this ticket contains 1.8.5.0 patch instead of the 1.6.2.17 patch. | ||
Comments: | By: var (var) 2011-08-17 22:24:48.851-0500 Patch has been submitted, this patch gives the option 'u' to Record allowing no truncation when silence is detected. The default is to truncate, as this is the current functionality in 1.8.5.0 By: var (var) 2011-08-18 22:39:49.901-0500 Wrong libpri given in environment, updated to 1.4.12 By: var (var) 2011-09-18 20:56:28.047-0500 Addition of new patch for Asterisk 1.8.6.0 (current stable) By: var (var) 2011-09-18 20:57:06.042-0500 Updated asterisk version to 1.8.6.0 By: var (var) 2011-09-18 21:01:32.977-0500 Attached patch with doc string addition By: var (var) 2011-09-18 22:38:34.021-0500 * app_record-1.8.6.0.diff requires deletion/removal * app_record-1.8.6.0-doc.diff requires deletion/removal * app_record-1.8.6.0-final.diff contains syntax error fix and documentation By: var (var) 2011-10-26 19:58:50.225-0500 New patch for current stable release. This recognised issue has been in the ticket system for 7 months now - patches have been available for just as long. By: var (var) 2012-03-05 16:27:35.125-0600 Same patch works in 1.8.9.2, this is in use across multiple platforms around the world handling thousands of recordings. It has now been almost a year since this ticket was originally created and a patch provided. By: Friendly Automation (friendly-automation) 2017-02-14 14:56:59.820-0600 Change 4943 merged by zuul: app_record: Add option to prevent silence from being truncated [https://gerrit.asterisk.org/4943|https://gerrit.asterisk.org/4943] By: Friendly Automation (friendly-automation) 2017-02-14 15:05:39.154-0600 Change 4945 merged by zuul: app_record: Add option to prevent silence from being truncated [https://gerrit.asterisk.org/4945|https://gerrit.asterisk.org/4945] By: Friendly Automation (friendly-automation) 2017-02-14 15:48:08.143-0600 Change 4944 merged by zuul: app_record: Add option to prevent silence from being truncated [https://gerrit.asterisk.org/4944|https://gerrit.asterisk.org/4944] |