Script to unpause queue members

Because least recent and fewest calls will continue to ring the same agent forever, I set autopause in the queue options.

Of course that leads to users not unpausing themselves.

So I made a little script a while back that simply unpauses everyone in a queue and set it to run on a cron schedule the customer was happy with.

  1. is there a better method to do this?
  2. why does least recent and fewest calls not move on to another agent?
  3. i wish auto pause had a setting to auto unpause.
[jbusch@pbx ~]$ cat 

rasterisk -x "queue show ${1}" | grep paused | grep -o Local.*/n | while read -r member
    rasterisk -x "queue unpause member ${member} queue ${1}"

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.