[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
[ https://issues.asterisk.org/jira/browse/ASTERISK-30487?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Alex updated ASTERISK-30487:
----------------------------
Description:
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 have attached the patchfile that fixes that.
was:
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.
> 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
> Labels: patch
> 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 have attached the patchfile that fixes that.
--
This message was sent by Atlassian JIRA
(v6.2#6252)
More information about the asterisk-bugs
mailing list