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

Robert Mordec (JIRA) noreply at issues.asterisk.org
Mon May 22 04:25:58 CDT 2017


Robert Mordec created ASTERISK-27012:
----------------------------------------

             Summary: 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