Summary: | ASTERISK-00677: wav49 recoding doesn't playback | ||
Reporter: | klasstek (klasstek) | Labels: | |
Date Opened: | 2003-12-17 20:15:01.000-0600 | Date Closed: | 2011-06-07 14:10:20 |
Priority: | Minor | Regression? | No |
Status: | Closed/Complete | Components: | Core/General |
Versions: | Frequency of Occurrence | ||
Related Issues: | |||
Environment: | Attachments: | ( 0) 123456_1_1_0.745781945801.WAV | |
Description: | CVS from Dec 11 2003 Following is a log from an attempt to record and playback a file in wav49 format from an AGI script. The COMMAND and RESULT lines document the AGI interactions and were output from pyst to stderr. COMMAND: stream file aa/after_the_tone "" 0 RESULT_LINE: 200 result=0 endpos=41920 RESULT_DICT: {'result': ('0', ''), 'endpos': ('41920', '')} COMMAND: record file /activity_alerts/wavs/123456_1_1_0.745781945801 wav49 "#" 20000 0 beep -- Playing 'beep' (language 'en') RESULT_LINE: 200 result=35 (dtmf) endpos=0 RESULT_DICT: {'result': ('35', 'dtmf'), 'endpos': ('0', '')} COMMAND: stream file /activity_alerts/wavs/123456_1_1_0.745781945801 "" 0 WARNING[2160657]: File format_wav_gsm.c, Line 194 (check_header): Does not say data WARNING[2160657]: File file.c, Line 379 (ast_filehelper): Unable to open fd on /activity_alerts/wavs/123456_1_1_0.745781945801 WARNING[2160657]: File app_agi.c, Line 322 (handle_streamfile): Unable to open /activity_alerts/wavs/123456_1_1_0.745781945801 RESULT_LINE: 200 result=0 endpos=0 == Spawn extension (activity-alerts, s, 2) exited non-zero on 'IAX2[NuFone@Outgoing1]/2' At the point where it tries to playback the file the warnings are spit out and the call is disconnected. ****** ADDITIONAL INFORMATION ****** Attached is the file that was recorded but failed during playback | ||
Comments: | By: Brian West (bkw918) 2004-01-02 14:02:28.000-0600 does this happen with other formats or just wav49 By: klasstek (klasstek) 2004-01-02 15:30:28.000-0600 Just wav49. Produces the line WARNING[2160657]: File format_wav_gsm.c, Line 194 (check_header): Does not say data By: Brian West (bkw918) 2004-01-03 13:14:01.000-0600 from within an AGI only? or does app_record produce the same results? By: zoa (zoa) 2004-01-03 13:27:01.000-0600 can you play it with another player ? maybe the file just happens to be corrupted for some other reason ? By: klasstek (klasstek) 2004-01-03 15:30:14.000-0600 [peracles@opus powederfone]$ play 12345_busted_wav.WAV sox: Premature EOF on .wav input file By: Brian West (bkw918) 2004-01-03 20:01:52.000-0600 is the file recorded with an agi or app_record? Not will it play.. I can tell it won't play. I just want to know how the file was created.. with an agi or other method? By: klasstek (klasstek) 2004-01-03 21:52:55.000-0600 This file was created with agi. I have not yet tested app record. By: Brian West (bkw918) 2004-01-11 18:03:00.000-0600 Can you please test app_record and report back. I suspect an agi issue. By: Brian West (bkw918) 2004-01-28 00:34:28.000-0600 Please test with app_record and app_agi and we will reopen if its still a problem we recently had a fix for wav49 that might take care of this. |