[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:15:01 CDT 2016


Etienne Lessard created ASTERISK-26330:
------------------------------------------

             Summary: 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


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