Karl Putland
2003-Dec-17 16:50 UTC
[Asterisk-Users] issue recording files in wav49 from AGI
Following is a log from an attempt to record and playback a file in wav49 format from an AGI script. 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. Any ideas? --Karl -- Karl Putland <karl@putland.linux-site.net>