You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
#!/bin/bash |
|
|
|
sleep 5 |
|
asterisk -rx "agent logoff Agent/$1 soft" |
|
asterisk -rx "queue remove member Agent/$1 from $2" |
|
echo "" >> /var/log/asterisk/logoff_agente.log |
|
date >> /var/log/asterisk/logoff_agente.log |
|
echo "AGENTE: $1 - DAC:$2 - STATUS:$3">> /var/log/asterisk/logoff_agente.log
|
|
|