DOKK / manpages / debian 12 / libasterisk-agi-perl / Asterisk::Manager.3pm.en
Asterisk::Manager(3pm) User Contributed Perl Documentation Asterisk::Manager(3pm)

Asterisk::Manager - Asterisk Manager Interface

use Asterisk::Manager;

my $astman = new Asterisk::Manager;

$astman->user('username');

$astman->secret('test');

$astman->host('localhost');

$astman->connect || die "Could not connect to " . $astman->host . "!\n";

$astman->disconnect;

This module provides a simple interface to the asterisk manager interface.

2016-12-22 perl v5.24.1