[Asterisk-Users] AGI SCRIPTS USING PERL NEED SOME KIND OF
COMPILATION TO WORK WITH *
j_amorim
j_amorim at ig.com.br
Wed Aug 17 12:15:52 MST 2005
Hi all,
Help needed:
Does AGI SCRIPTS USING PERL NEED's SOME KIND OF COMPILATION TO WORK WITH
*????
This simple script is not working.
What can I do to make this interact with *?????
#!/usr/bin/perl
#
#
use Asterisk::AGI;
$AGI = new Asterisk::AGI;
my %input = $AGI->ReadParse();
my $tests = 0;
my $pass = 0;
my $fail = 0;
#setup callback
$AGI->setcallback(\&mycallback);
print STDERR "AGI Environment Dump:\n";
foreach $i (sort keys %input) {
print STDERR " -- $i = $input{$i}\n";
}
Thank in advance.
Jônatas Amorim
More information about the asterisk-users
mailing list