[asterisk-bugs] [JIRA] (ASTERISK-29806) app_queue: extension state bug introduced in recent fix

Steve Davies (JIRA) noreply at issues.asterisk.org
Wed Dec 15 06:42:44 CST 2021


Steve Davies created ASTERISK-29806:
---------------------------------------

             Summary: app_queue: extension state bug introduced in recent fix
                 Key: ASTERISK-29806
                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-29806
             Project: Asterisk
          Issue Type: Bug
      Security Level: None
          Components: Applications/app_queue
    Affects Versions: 19.2.0, 18.10.0, 16.24.0
            Reporter: Steve Davies
            Severity: Major


There is a bug in the patch that was applied in ASTERISK-29578. I have a patch to submit, which:

1) Does not leak `extension_state_cb` states across queues - In the current patch, the `found` variable is set, and then remains set as the update progresses to another queue, causing the 'found' state to be applied to the first queue member of every subsequent queue checked.
2) Unlike `device_state_cb`, where device will definitely be unique in a queue, extension states might be specified multiple times, so breaking out when a member matches is inappropriate.



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



More information about the asterisk-bugs mailing list