[Asterisk-Users] issue recording files in wav49 from AGI

Karl Putland karl at putland.linux-site.net
Wed Dec 17 16:50:05 MST 2003


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 at 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 at putland.linux-site.net>




More information about the asterisk-users mailing list