I am attempting to use this simple script:
#!/bin/perl
require Asterisk::AGI;
$AGI = new Asterisk::AGI;
$AGI->say_number(1234);
With this extension setup:
exten => 1551,1,Answer
exten => 1551,2,AGI,test.agi
The output on the Asterisk Console is:
-- Executing Answer("Zap/24-1", "") in new stack
-- Executing AGI("Zap/24-1", "test.agi") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/test.agi
-- AGI Script test.agi completed, returning 0
-- Hungup 'Zap/24-1'
However I hear nothing from the phone handset and nothing happens when I
dial that extension.
I installed the Asterisk Perl 0.08 by doing:
Perl makefile.pl
Make all
Make install
I see the modules in the path for modules listed in perl -V
Does anyone have any ideas?
Very frustrating.
-Brian.