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

ben kolodny (JIRA) noreply at issues.asterisk.org
Mon Jan 24 11:48:06 CST 2022


     [ https://issues.asterisk.org/jira/browse/ASTERISK-29879?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

ben kolodny updated ASTERISK-29879:
-----------------------------------

    Description: 
""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.""


above is a quote from https://issues.asterisk.org/jira/browse/ASTERISK-27774 



i seem to have the same problem with version 18.9.0 but it after playing the thank you message when Announce position: is set to yes
(the code that was fixed checks just announcement maybe position is treated differently?)
any tips would be appreciated


[2022-01-24 18:50:36] VERBOSE[2643][C-00067771] app_queue.c: Nobody picked up in 20000 ms
[2022-01-24 18:50:37] VERBOSE[2643][C-00067771] res_musiconhold.c: Stopped music on hold on PJSIP/fs2-00036104
[2022-01-24 18:50:37] VERBOSE[2643][C-00067771] file.c: <PJSIP/fs2-00036104> Playing 'pbx/188d949a5b9bbde4553ef85f252d8ddf.slin' (language 'he')
[2022-01-24 18:50:40] VERBOSE[2643][C-00067771] app_queue.c: Told PJSIP/fs2-00036104 in 1507 their queue position (which was 1)
[2022-01-24 18:50:40] VERBOSE[2643][C-00067771] file.c: <PJSIP/fs2-00036104> Playing 'queue-thankyou.gsm' (language 'he')
[2022-01-24 18:50:42] VERBOSE[2643][C-00067771] res_musiconhold.c: Started music on hold, class '1435', on channel 'PJSIP/fs2-00036104'


  was:

""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.""


above is a quote from https://issues.asterisk.org/jira/browse/ASTERISK-27774 



i seem to have the same problem with version 18.9.0 but it after playing the thank you message when Announce position: is set to yes
the code that was fixed checks just announcement maybe position is treated differently
any tips would be appreciated

if (!state->announcement) {
state->samples += f->samples
[2022-01-24 18:50:36] VERBOSE[2643][C-00067771] app_queue.c: Nobody picked up in 20000 ms
[2022-01-24 18:50:37] VERBOSE[2643][C-00067771] res_musiconhold.c: Stopped music on hold on PJSIP/fs2-00036104
[2022-01-24 18:50:37] VERBOSE[2643][C-00067771] file.c: <PJSIP/fs2-00036104> Playing 'pbx/188d949a5b9bbde4553ef85f252d8ddf.slin' (language 'he')
[2022-01-24 18:50:40] VERBOSE[2643][C-00067771] app_queue.c: Told PJSIP/fs2-00036104 in 1507 their queue position (which was 1)
[2022-01-24 18:50:40] VERBOSE[2643][C-00067771] file.c: <PJSIP/fs2-00036104> Playing 'queue-thankyou.gsm' (language 'he')
[2022-01-24 18:50:42] VERBOSE[2643][C-00067771] res_musiconhold.c: Started music on hold, class '1435', on channel 'PJSIP/fs2-00036104'



> res_musiconhold: Music on hold restarts after positon announcement
> ------------------------------------------------------------------
>
>                 Key: ASTERISK-29879
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-29879
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Resources/res_musiconhold
>    Affects Versions: 18.9.0
>         Environment: centos 7
> real time queue 
>            Reporter: ben kolodny
>
> ""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.""
> above is a quote from https://issues.asterisk.org/jira/browse/ASTERISK-27774 
> i seem to have the same problem with version 18.9.0 but it after playing the thank you message when Announce position: is set to yes
> (the code that was fixed checks just announcement maybe position is treated differently?)
> any tips would be appreciated
> [2022-01-24 18:50:36] VERBOSE[2643][C-00067771] app_queue.c: Nobody picked up in 20000 ms
> [2022-01-24 18:50:37] VERBOSE[2643][C-00067771] res_musiconhold.c: Stopped music on hold on PJSIP/fs2-00036104
> [2022-01-24 18:50:37] VERBOSE[2643][C-00067771] file.c: <PJSIP/fs2-00036104> Playing 'pbx/188d949a5b9bbde4553ef85f252d8ddf.slin' (language 'he')
> [2022-01-24 18:50:40] VERBOSE[2643][C-00067771] app_queue.c: Told PJSIP/fs2-00036104 in 1507 their queue position (which was 1)
> [2022-01-24 18:50:40] VERBOSE[2643][C-00067771] file.c: <PJSIP/fs2-00036104> Playing 'queue-thankyou.gsm' (language 'he')
> [2022-01-24 18:50:42] VERBOSE[2643][C-00067771] res_musiconhold.c: Started music on hold, class '1435', on channel 'PJSIP/fs2-00036104'



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



More information about the asterisk-bugs mailing list