From FreePBX Pull request 22110, by xavifr , https://git.freepbx.org/projects/FREEPBX/repos/queues/pull-requests/48/diff
in the edge track for the queues module
15.0.3.11 there is a new set of API calls for the queues module.
if you try to remove Static Members by sending members=. the API call will shred your queue (and reset it to the default queue state - no name, no customized settings, nothing.)
if you remove dynamic members in the same way (`dynmember=`, it successfully clears the dynamic member list.
Specific tests that can trigger this
PUT to `[http://\|http:]SERVER/admin/api/api/rest/queues/members/999`
body: x-www-form-urlencoded
members: 123
dynmanber: 124
^^ will set both types of agent
members:
dynmember: 124
^^ will break your queue
member: 123
dynmember:
^ will clear dynamic members
- relates to
-
FREEPBX-22110 Improve API REST to control Queues module
-
- Closed
-