[asterisk-bugs] [JIRA] (ASTERISK-26330) app_queue: Changing the "ringinuse" parameter of a queue doesn't affect dynamic members
Etienne Lessard (JIRA)
noreply at issues.asterisk.org
Wed Aug 31 14:19:01 CDT 2016
[ https://issues.asterisk.org/jira/browse/ASTERISK-26330?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Etienne Lessard updated ASTERISK-26330:
---------------------------------------
Attachment: AST26330.patch
I'm attaching a small patch that I wrote. I could push something similar to gerrit (I'm not 100% sure about the locking) if someone thinks it's a good idea.
> app_queue: Changing the "ringinuse" parameter of a queue doesn't affect dynamic members
> ---------------------------------------------------------------------------------------
>
> Key: ASTERISK-26330
> URL: https://issues.asterisk.org/jira/browse/ASTERISK-26330
> Project: Asterisk
> Issue Type: Bug
> Security Level: None
> Components: Applications/app_queue
> Affects Versions: 13.10.0
> Reporter: Etienne Lessard
> Severity: Minor
> Attachments: AST26330.patch
>
>
> Given I have a queue with "ringinuse = no"
> And this queue has a dynamic member (e.g. a member that was added via the CLI "queue add" or the AMI action "QueueAdd")
> When I modify queues.conf to set "ringinuse = yes" for this queue
> And I do a "module reload app_queue.so"
> Then the dynamic member's "ringinuse" value is still "no"
> This is a bit of an annoying behavior since:
> * there's no way to specify the "ringinuse" value of a dynamic member (contrary to static members), i.e. when you add a dynamic member to a queue, the member "ringinuse" value is always the same as the queue "ringinuse" value.
> * if you then change the "ringinuse" value of the queue, your dynamic members are not affected, and you must remove/add them if you want the new setting to apply (or use the AMI action "QueueMemberRingInUse", but this is not practical)
> Static members do not share the same behaviour, i.e. when a static member (with no per-member ringinuse defined) is reloaded, it takes the new queue ringinuse value.
> So I would propose to change the behaviour so that, on reload, dynamic members "ringinuse" value is updated.
--
This message was sent by Atlassian JIRA
(v6.2#6252)
More information about the asterisk-bugs
mailing list