NAME

asterisk_codecs - Plugin to monitor number of active channels by codec used

ABOUT

This plugin uses the asterisk manager API to fetch data.

CONFIGURATION

The following configuration parameters are used by this plugin

 [asterisk_codecs]
  env.host     - hostname to connect to
  env.port     - port number to connect to
  env.username - username used for authentication
  env.secret   - secret used for authentication
  env.codecs   - List of codecs (names)
  env.codecsx  - List of codecs (hexadecimal values)

The values of codecs and codecx must match each other. Asterisk returns a hexadecimal value representing the codec used, and the same list entry is used from "codecs" and "codecsx".

The "username" and "secret" parameters are mandatory, and have no defaults.

DEFAULT CONFIGURATION

 [asterisk_codecs]
  env.host 127.0.0.1
  env.port 5038
  env.codecs gsm ulaw alaw
  env.codecsx 0x2 0x4 0x8

AUTHOR

Copyright (C) 2005-2006 Rodolphe Quiedeville <rodolphe@quiedeville.org>

LICENSE

Gnu GPLv2

MAGIC MARKERS

 #%# family=contrib