[asterisk-bugs] [JIRA] (ASTERISK-27301) [patch] app_queue: Music On Hold for real-time queues is not reset to default

Edmond Dobrova (JIRA) noreply at issues.asterisk.org
Tue May 19 12:18:25 CDT 2020


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

Edmond Dobrova commented on ASTERISK-27301:
-------------------------------------------

Hi, i figure it out how to separate one music when the customer calls and different one when i put customer on hold, this is how i did on asterisk version 13.17.2: From queue application i choose one music than clicked APPLY than again choose INHERIT and again click APPLY in this way one music is played when customers calls and default one is played when i put customer on hold, BUT when i updated to ASTERISK 13.8.0 and up it does not work anymore this way, and i reverted back to ASTERISK 13.17.2 (i am sure the issue is with asterisk) so i am stuck at asterisk version 13.17.2. Is there another way to make different music one for ringing and one for putting customer on hold?

Thanks

> [patch] app_queue: Music On Hold for real-time queues is not reset to default
> -----------------------------------------------------------------------------
>
>                 Key: ASTERISK-27301
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-27301
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Applications/app_queue
>    Affects Versions: 14.6.2, 15.0.0-rc1
>            Reporter: Nathan Bruning
>            Assignee: Unassigned
>            Severity: Minor
>      Target Release: 13.18.0, 15.1.0, 16.0.0
>
>
> The 'moh' field of a queue is not re-initialized in init_queue.
> Repro:
> - use real-time queues
> - set moh to a non-null value
> - call queue: correct moh is played
> - reset moh field of queue to NULL
> - call queue: old moh is played, instead of default
> Fix:
> Add this line to apps/app_queue.c, function init_queue:
> {{ast_string_field_set(q, moh, "");}}



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



More information about the asterisk-bugs mailing list