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.
- is there a better method to do this?
- why does least recent and fewest calls not move on to another agent?
- i wish auto pause had a setting to auto unpause.
[jbusch@pbx ~]$ cat unpause_all.sh
#!/bin/sh
rasterisk -x "queue show ${1}" | grep paused | grep -o Local.*/n | while read -r member
do
rasterisk -x "queue unpause member ${member} queue ${1}"
done