diff --git a/plugins/asterisk/asterisk_channels b/plugins/asterisk/asterisk_channels index 2eb995c6..44fbca2b 100644 --- a/plugins/asterisk/asterisk_channels +++ b/plugins/asterisk/asterisk_channels @@ -1,28 +1,26 @@ -#!/usr/bin/php - +asterisk -x "core show channels" | awk '/active channels/ { print "channels.value " $1 }' +exit 0