This is an old revision of the document!
asterisk/http.conf ... enabled=yes ... bindaddr=0.0.0.0 ... asterisk/manager.conf ... enabled = yes webenabled = yes ... bindaddr = 0.0.0.0 # cat /etc/asterisk/manager.d/zabbix.conf [zabbix] secret = zabbix read = all write = all https://voxlink.ru/kb/book/interfejs-upravlenija-asterisk-ami/ wget "http://localhost:8088/rawman?action=login&username=zabbix&secret=zabbix" --save-cookies cookies.txt -O - wget "http://localhost:8088/rawman?action=ping" --load-cookies cookies.txt -O - wget "http://localhost:8088/rawman?action=logoff" --load-cookies cookies.txt -O - {$AMI.HOST}: 127.0.0.1 {$AMI.URL}: http://localhost:8088/rawman
Кузьмин Алексей Михайлович: UserParameter=asterisk.activecalls,sudo /usr/sbin/asterisk -x "core show channels" | grep "active call" | awk '{print $1}' UserParameter=asterisk.processedcalls,sudo /usr/sbin/asterisk -x "core show channels" | grep "calls processed" | awk '{print $1}' UserParameter=asterisk.lines[*],sudo /usr/sbin/asterisk -x "core show channels" | grep '^$1' | wc –l