Here are some code excerpts:
use Asterisk::AGI;
$AGI = new Asterisk::AGI;
my %input = $AGI->ReadParse();
$AGI->setcallback(\&mycallback);
...
$AGI->stream_file("beep");
$rc = $AGI->record_file("tmp_msgs/$sessionId", 'wav', '#*0', 70000, 1);
...
sub mycallback {
my ($returncode) = @_;
print STDERR "User Hungup ($returncode)\n";
exit($returncode);
}Like I said - worked before. I'm going to update to the latest CVS and see if that fixes it.
Any ideas would be appreciated.
Thanks,
- Darren
_______________________________________________ Asterisk-Users mailing list [EMAIL PROTECTED] http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
