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

Friendly Automation (JIRA) noreply at issues.asterisk.org
Wed Oct 11 11:06:21 CDT 2017


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

Friendly Automation commented on ASTERISK-27301:
------------------------------------------------

Change 6739 merged by Joshua Colp:
app_queue.c: clear moh field in init_queue

[https://gerrit.asterisk.org/6739|https://gerrit.asterisk.org/6739]

> [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
>
> 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