[asterisk-bugs] [JIRA] (ASTERISK-24329) Music On Hold announcement cuts intro of music the first time it is played

Marco Tarini (JIRA) noreply at issues.asterisk.org
Thu Feb 1 09:57:13 CST 2018


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

Marco Tarini commented on ASTERISK-24329:
-----------------------------------------

Hello,

this patch caused a problem (from my point of view) at moh.
I use asterisk 1.13.19 (the problem werent present in 1.13.17
I dont use announcement.
I use a contest where are the following instructions:
play 2 seconds of moh
do some curl
play 2 second of moh
ecc...
in  loop until got some good response from the curl.
Before this patch the music worked correctly, but now every time i do the play, the music start from the beginning.
I think that at the line 334 of asterisk/res/res_musiconhold.c (1.13.19) should be added come control before reset samples to 0.


> Music On Hold announcement cuts intro of music the first time it is played
> --------------------------------------------------------------------------
>
>                 Key: ASTERISK-24329
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-24329
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Resources/res_musiconhold
>    Affects Versions: SVN, 11.12.0, 11.15.1
>         Environment: CentOS
>            Reporter: Thomas Frederiksen
>            Severity: Minor
>      Target Release: 13.19.0, 15.2.0
>
>
> musiconhold.conf is configured like this:
> mode=files
> sort=random
> announcement=announement-file-path
> When the caller enters musiconhold it seems the announcement and musiconhold starts simultaneously so that when the announcement ends the user doesn't hear the beginning of the musiconhold music. It cuts the intro of the music.
> The musiconhold file should not start until the announcement has ended.
> If the user waits until the first musiconhold file ends then the announcement is played correctly again and the next musiconhold file is played AFTER the announcement, as expected.
> The problem only exists when the first musiconhold file is played / the announcement is played for the first time in a channel



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



More information about the asterisk-bugs mailing list