[asterisk-bugs] [JIRA] (ASTERISK-28632) ConfBridge spawns record_command before MixMonitor ends

Bill Kervaski (JIRA) noreply at issues.asterisk.org
Tue Nov 26 11:20:32 CST 2019


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

Bill Kervaski commented on ASTERISK-28632:
------------------------------------------

Yes, a specific problem.

The file seems to remain locked for some small amount of time until after the command is executed.  I've had to add a delay in the post-processing script to give it time to close or whatever is happening internally.

This doesn't happen when using MixMonitor from the dialplan, the post processing script can access the file contents immediately.  I'm assuming it's something to do with how ConfBridge is using MixMonitor, perhaps it's hanging on to the file for some reason.

I haven't tested this with any other version than 16.6.2 but happy to help if you have some things you want me to try.



> ConfBridge spawns record_command before MixMonitor ends
> -------------------------------------------------------
>
>                 Key: ASTERISK-28632
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-28632
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Applications/app_confbridge
>    Affects Versions: 16.6.2
>         Environment: Linux (all)
>            Reporter: Bill Kervaski
>            Assignee: Bill Kervaski
>            Severity: Minor
>
> Set(CONFBRIDGE(bridge,record_conference)=yes)
> Set(CONFBRIDGE(bridge,record_file_timestamp)=no)
> Set(CONFBRIDGE(bridge,record_file)=filename.wav)
> Set(CONFBRIDGE(bridge,record_command)=mycommand)
> Results in the command running before MixMonitor ends and closes the file:
> == Executing [mycommand]
>     -- <CBAnn/test-0000009a;1> Playing 'confbridge-leave.gsm' (language 'en')
>     -- Channel CBAnn/test-0000009a;2 left 'softmix' base-bridge <6229229c-72dc-460b-9913-d7905925e988>
> == End MixMonitor Recording CBRec/test-00000006



--
This message was sent by Atlassian JIRA
(v6.2#6252)



More information about the asterisk-bugs mailing list