[asterisk-bugs] [JIRA] (ASTERISK-30487) Queue member pause state lost when reloading queues.conf

Alex (JIRA) noreply at issues.asterisk.org
Wed Apr 5 06:11:03 CDT 2023


Alex created ASTERISK-30487:
-------------------------------

             Summary: Queue member pause state lost when reloading queues.conf
                 Key: ASTERISK-30487
                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-30487
             Project: Asterisk
          Issue Type: Bug
      Security Level: None
          Components: Applications/app_queue
    Affects Versions: 18.17.1
         Environment: Any
            Reporter: Alex
         Attachments: asterisk18-queue-pause-reason-lost-fix.patch

To reproduce:
- Pause existing member in queue with some reason set (so "paused:Reason" is seen in queue show output)
- Modify queues.conf so it's reloaded (touch/add extra space/whatever)
- Reload (I did core reload, but reloading app_queue module also goes)
- Now the pause reason is lost and queue show output just displays "paused"

The reason is lack of copying pause reason in app_queue.c when members are recreated. I will be attaching patchfile that fixes that, no license to this patchfile, just public domain, use as it seems fit.



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



More information about the asterisk-bugs mailing list