Asterisk::Outgoing - Create outgoing call queue file
use Asterisk::Outgoing;
my $out = new Asterisk::Outgoing;
$out->setvariable('Channel', 'Zap/1/');
$out->setvariable('MaxRetries', 0);
$out->setvariable('RetryTime', 60);
$out->setvariable('WaitTime', 60);
$out->setvariable('Application', 'Playback');
$out->setvariable('Data', 'beep');
$out->create_outgoing;
To install Asterisk, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Asterisk
CPAN shell
perl -MCPAN -e shell install Asterisk
For more information on module installation, please visit the detailed CPAN module installation guide.