[asterisk-bugs] [JIRA] (ASTERISK-27774) res_musiconhold: Music on hold restarts after every announcement

Kevin Harwell (JIRA) noreply at issues.asterisk.org
Mon Jan 24 11:58:07 CST 2022


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

Kevin Harwell commented on ASTERISK-27774:
------------------------------------------

[~benphone] This sounds like it might be a missed used case. Please create a new issue. On that new issue include a detailed description, and steps to reproduce. As well attach an Asterisk debug/verbose log file from an occurrence.

Thanks!

> res_musiconhold: Music on hold restarts after every announcement
> ----------------------------------------------------------------
>
>                 Key: ASTERISK-27774
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-27774
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Resources/res_musiconhold
>    Affects Versions: 15.3.0
>            Reporter: laszlovl
>            Assignee: Unassigned
>            Severity: Major
>              Labels: pjsip
>      Target Release: 13.21.0, 15.4.0, 16.0.0
>
>
> The fix for ASTERISK-24329 is causing a regression during "regular" music on hold behavior.
> Imagine a simple musiconhold setup, configured via realtime.
> {code}
> +--------+-------+------------------------+-------+
> | name   | mode  | directory              | sort  |
> +--------+-------+------------------------+-------+
> | 82497  | files | /ext/moh/82497         | alpha |
> {code}
> In /ext/moh/82497 are one or more audio files with a length of around 3 minutes. If a queue is configured with a periodic announcement every 30 seconds, the following will occur:
> * Caller hears music on hold file #1, playing from the beginning
> * After 30 seconds, the caller will hear the announcement
> * Caller hears music on hold file #1, playing from the beginning
> * After 30 seconds, the caller will hear the announcement
> * ...
> E.g., if the periodic announcement is made every 30 seconds the caller will only ever hear the first 30 seconds of music on hold over and over again.
> I don't fully understand the issue reported in ASTERISK-24329, but if this new behavior is indeed desirable in some cases I think it should be made configurable with the default behavior reverted back to how it was in 15.2.



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



More information about the asterisk-bugs mailing list