[asterisk-bugs] [JIRA] Commented: (ASTERISK-20156) MixMonitor would create file even if call state is unanswered

Jonathan Rose (JIRA) noreply at issues.asterisk.org
Fri Aug 3 16:42:21 CDT 2012


    [ https://issues.asterisk.org/jira/browse/ASTERISK-20156?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=195471#comment-195471 ] 

Jonathan Rose commented on ASTERISK-20156:
------------------------------------------

No one actually needs zero length files. It's just that mixmonitor creates the files as well as their streams during startup for the application regardless of whether record on bridge mode is active or not. This isn't entirely without its advantages since it probably saves us a minuscule amount of time when actually starting the recording afterwards.

It would probably be easier to create an option to delete them afterwards than it would be to change Asterisk not to create the files until the bridge is made though.

> MixMonitor would create file even if call state is unanswered
> -------------------------------------------------------------
>
>                 Key: ASTERISK-20156
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-20156
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Applications/app_mixmonitor
>    Affects Versions: 10.6.1
>         Environment: Fedora Core 9, 2.6.25-14.fc9.i686
>            Reporter: George Keretchashvili
>            Assignee: Rusty Newton
>            Severity: Trivial
>         Attachments: 20120719-101521-1342678521.41.mp3, 20120720-212459-1342805099.19.wav
>
>
> After upgrading from 1.8.8.1, when using MixMonitor() followed by Dial() and the call was not answered (either 180 or 183 SIP message), I get empty audio file recorded with 3ms in length. The file is then converted with bash script to mp3.
> MixMonitor(${MONITOR_FILENAME}.wav,b,${MONITOR_EXEC});
> Dial(SIP/${TRUNK}/${DESTINATION});

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira



More information about the asterisk-bugs mailing list