Hey guys sorry to ask this i looked on the forms and didn’t get a good answers…
Im looking for a ya to have agents get logout every night… there a mix of at home people and office people. if anyone knows if there a script or addon… it would be great… thank you.
Queue auto logout
Dromero
(David R)
#1
char1
(Char1)
#2
For example execute script from cron:
#!/bin/bash
QUEUES=$(/usr/sbin/asterisk -rx "queue show" | /bin/egrep -o '^[[:digit:]]+')
LOGGEDIN=$(/usr/sbin/asterisk -rx "queue show" | /bin/egrep -o 'Local/[[:digit:]]+@from-queue/n')
for q in $QUEUES; do
for i in $LOGGEDIN; do
/usr/sbin/asterisk -rx "queue remove member $i from $q"
done
done