[asterisk-bugs] [Asterisk 0013453]: 0007068: Asterisk crashes when using record_file to record in h263 format

Asterisk Bug Tracker noreply at bugs.digium.com
Wed Sep 10 05:07:29 CDT 2008


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=13453 
====================================================================== 
Reported By:                nendariani
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   13453
Category:                   Resources/res_agi
Reproducibility:            have not tried
Severity:                   minor
Priority:                   normal
Status:                     new
Asterisk Version:           1.4.21.1 
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Disclaimer on File?:        N/A 
Request Review:              
====================================================================== 
Date Submitted:             2008-09-10 04:54 CDT
Last Modified:              2008-09-10 05:07 CDT
====================================================================== 
Summary:                    0007068: Asterisk crashes when using record_file to
record in h263 format
Description: 
same h263 format, I so confused using AGI for record file..
I have an agi that uses the record_file AGI command to record in wav
format:
$agi->record_file('hiks', 'wav', '#','BEEP','15');
as soon as that file cannot be read by AGI..
so,, recode and size NULL/empty, AGI doesn't save file..

when i check in asterisk -vvvvr
[Sep 10 15:28:37] WARNING[10468]: file.c:1075 ast_writefile: Unable to
open file /usr/share/asterisk/sounds/hiks.wav: Permission denied --> I've
try change asterisk to be root,, but I can't hear file which I use stream
file on my phpagi..
[Sep 10 15:28:37] WARNING[10468]: file.c:602 ast_openstream_full: File
/var/lib/asterisk/sounds/hoi.wav does not exist in any format --> Isn't
asteriks supprot wav. I've changed with gsm, but the same..

please help me..



====================================================================== 

---------------------------------------------------------------------- 
 (0092292) nendariani (reporter) - 2008-09-10 05:07
 http://bugs.digium.com/view.php?id=13453#c92292 
---------------------------------------------------------------------- 
same h263 format, I so confused using AGI for record file..
I have an agi that uses the record_file AGI command to record in wav
format:
$agi->record_file('hiks', 'wav', '#','BEEP','15');
as soon as that file cannot be read by AGI..
so,, recode and size NULL/empty, AGI doesn't save file..

when i check in asterisk -vvvvr
[Sep 10 15:28:37] WARNING[10468]: file.c:1075 ast_writefile: Unable to
open file /usr/share/asterisk/sounds/hiks.wav: Permission denied --> I've
try change asterisk to be root,, but I can't hear file which I use stream
file on my phpagi..
[Sep 10 15:28:37] WARNING[10468]: file.c:602 ast_openstream_full: File
/var/lib/asterisk/sounds/hoi.wav does not exist in any format --> Isn't
asteriks supprot wav. I've changed with gsm, but the same..

please help me.. 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2008-09-10 05:07 nendariani     Note Added: 0092292                          
======================================================================




More information about the asterisk-bugs mailing list