[asterisk-bugs] [JIRA] (ASTERISK-22489) Document Confbridge record_file appending file name with time stamp. Behavior introduced in r381702

Jonathan White (JIRA) noreply at issues.asterisk.org
Thu Sep 12 14:51:03 CDT 2013


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

Jonathan White commented on ASTERISK-22489:
-------------------------------------------

Actually, now I have tried to implement the use of the variable MIXMONITOR_FILENAME I find it is not suitable. There is never an opportunity to retrieve the file name in the dialplan as entering the conference starts recording and by the time you exit and could possibly execute a command the recording has already stopped and thus the file name lost.

Perhaps naming the files statically and using a variable to timestamp for those that need it or expose a method of extracting the file name before or after the conference has finished After is better as you may have multiple files

Is it worth renaming this log back to being a bug?
                
> Document Confbridge record_file appending file name with time stamp. Behavior introduced in r381702
> ---------------------------------------------------------------------------------------------------
>
>                 Key: ASTERISK-22489
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-22489
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Applications/app_confbridge
>    Affects Versions: 11.2.2, 11.5.1
>         Environment: Centos 6.4
>            Reporter: Jonathan White
>
> I am setting the confbridge record file name with the following dial plan command
> {noformat}
> same =>n,Set(CONFBRIDGE(bridge,record_file)=/var/spool/asterisk/confbridge/${file})
> {noformat}
> The result being /var/spool/asterisk/confbridge/test.wav as seen on the console
> but the file which is produced comes out as /var/spool/asterisk/confbridge/test-1378328852.wav 
> The last part of the file name appears to be a random number.
> In previous versions of confbridge the file would have been the name I had told it to be
> /var/spool/asterisk/confbridge/test.wav
> I find no evidence of this being a new feature. If it is, the confbridge.conf sample configuration file needs to be updated to include the new available features. If it is not a new feature and it is a bug I am ready to assist getting it fixed.
> [Edit by Rusty Newton - added text below:]
> I don't think the code needs to change as this behavior was introduced to fix a bug, but we do need to document the behavior, both in the .conf sample file and the XML documentation in the source (for Asterisk 12). See comments for more info.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.asterisk.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira



More information about the asterisk-bugs mailing list