forked from SimplesIP/pabx-app
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.
6 lines
385 B
6 lines
385 B
#!/bin/bash |
|
asterisk -rx "reload" |
|
asterisk -rx "database deltree CANAL" |
|
ls /var/log/asterisk/cdr-csv/ | grep -iv master | while read linha ; do rm -rf /var/log/asterisk/cdr-csv/$linha ;done |
|
[ -e /etc/init.d/khomp-services ] && asterisk -rx "khomp links errors clear" && asterisk -rx "khomp channels statistics clear" |
|
[ -e /usr/sbin/ap400_ctl ] && printf 'y\n' | /usr/sbin/ap400_ctl -c
|
|
|