[asterisk-bugs] [JIRA] (ASTERISK-27012) app_confbridge: ConfBridge sometimes does not play user name recording while leaving

Friendly Automation (JIRA) noreply at issues.asterisk.org
Thu Jun 1 10:04:57 CDT 2017


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

Friendly Automation commented on ASTERISK-27012:
------------------------------------------------

Change 5684 merged by Joshua Colp:
app_confbridge: Race between removing and playing name recording while leaving

[https://gerrit.asterisk.org/5684|https://gerrit.asterisk.org/5684]

> app_confbridge: ConfBridge sometimes does not play user name recording while leaving
> ------------------------------------------------------------------------------------
>
>                 Key: ASTERISK-27012
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-27012
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Applications/app_confbridge
>    Affects Versions: 13.15.0
>            Reporter: Robert Mordec
>            Severity: Minor
>
> If confbridge is configured with *announce_join_leave* option set to _yes_, it records announcements with names of entering users and then plays them while users enter or leave the conference.
> When user leaves a conference, its channel calls *async_play_sound_file()* function in order to play the name announcement and then unlinks the sound file with _ast_filedelete()_. The _async_play_sound_file()_ function adds a task to conference playback queue, which then runs _playback_common()_ function in a different thread. It leads to a race condition when in some cases the channel thread may unlink the sound file *before* _playback_common()_ had a chance to open it.
> If that is the case the announcement is not played and CLI contains two warnings:
> {quote}
> WARNING[18085]: file.c:774 ast_openstream_full: File /mnt/storage/asterisk/confbridge/confbridge-name-9200-1495182274.23064 does not exist in any format
> WARNING[18085]: file.c:1247 ast_streamfile: Unable to open /mnt/storage/asterisk/confbridge/confbridge-name-9200-1495182274.23064 (format (slin)): No such file or directory
> {quote}



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



More information about the asterisk-bugs mailing list