I need to activate service

Executing [3727007053@default:1] Answer(“SIP/99.80.21.136-0000004b”, “”) in new stack
– Executing [3727007053@default:2] AGI(“SIP/99.80.21.136-0000004b”, “…/urphone/go.agi”) in new stack
– Launched AGI Script /var/lib/asterisk/agi-bin/…/urphone/go.agi
– <SIP/99.80.21.136-0000004b>AGI Script …/urphone/go.agi completed, returning 0
– Executing [3727007053@default:3] Hangup(“Sip/99.80.21.136-0000004f”, “”) in stack
Spawn extension (default, 3727007053, 3) exited non-zero on ‘SIP/99.80.21.136-0000004e’

i need to read file wav but i can’t i don’t know what’s the pb ??

because when the service activate i will find playing '…/wav/wav (espace _digits=) (sample_offset 0) and returning get -1 not 0

#!/usr/bin/perl

use Asterisk::AGI;

my $AGI = new Asterisk::AGI;
my %input = $AGI->ReadParse();

$verbose = 1;

my $soupath = “…/wav/”;
###############################################
sub verbose
{
if (defined($verbose))
{
$AGI->verbose("@_", $verbose);
return(0);
}
}
##########################################################
#start
##########################################################
$AGI->stream_file($soupath.“wav”);
exit();
#######################################################################

hello i have the same problem i can’t read the file .wav can you tell me how to reslove this problem and thanks

As it is unlikely that you have the same problem, and this thread was imported from an old forum, so the original poster won’t be informed of your new question, even if they haven’t retired in the mean time, please start a new thread and describe your actual problem, with supporting evidence, and using current software versions.

1 Like