[Asterisk-Users] Problem with AGI "Record File"

Scott Stingel scott at evtmedia.com
Sat Jul 26 08:47:01 MST 2003


Hello-

I've been writing a number of AGI scripts in Perl, and so far everything's
working ok.

However, yesterday I tried the AGI command "RECORD FILE" for the first time,
and my channel locked up.  Trying to stop asterisk produced a segmentation
fault.  There may be a bug here, but first let me make sure that I have the
command line right (as the documentation is a bit sketchy)

Not sure what to put in the "format" field, so I tried gsm and pcm. 

I tried the following, one at a time - all with the same result:

print "RECORD FILE testrec gsm 1 5000";   # allowing DTMF 1 as the
terminator
-or-
print "RECORD FILE testrec pcm 1 5000";
-or-
print "RECORD FILE testrec gsm 1 5000 0 BEEP 2";

and similar combinations.  The requested file is not created on the disk.

Has anyone used the RECORD FILE function recently?  Or maybe I have the
command format wrong - maybe I have to quote some of the fields.

Thanks

Scott M. Stingel 
Emerging Voice Technology Inc.
Palo Alto, California and London, England
 
URL:            www.evtmedia.com  





More information about the asterisk-users mailing list