Page 1 of 1

Asterisk v1.4 not recognizing format

PostPosted: Sat Feb 03, 2007 3:08 pm
by muppetmaster
I am successfully generating a file with this command:

Code: Select all
swift -n Diane -o /var/lib/asterisk/sounds/tmp/Test_123.wav -p cst/f0_shift=.8,speech/rate=190,audio/deadair=2,audio/channels=1,audio/sampling-rate=8000 ' Test 123 '


But then from Asterisk v1.4 I get the following:

Code: Select all
[Feb  3 21:04:18] WARNING[1233]: format_wav_gsm.c:142 check_header: Unexpected header size 16
[Feb  3 21:04:18] WARNING[1233]: file.c:311 fn_wrapper: Unable to open format wav49
[Feb  3 21:04:18] WARNING[1233]: format_wav_gsm.c:142 check_header: Unexpected header size 16
[Feb  3 21:04:18] WARNING[1233]: file.c:311 fn_wrapper: Unable to open format wav49


I have had this working in previous versions. Ideas?

Header size/wav49 streaming error

PostPosted: Wed Feb 27, 2008 2:01 pm
by qmclaugh
I have asterisk running on my mac and swift generating audio files:

Code: Select all
swift -o /tmp/$agi_uniqueid.wav -p audio/channels=1,audio/sampling-rate=8000,audio/encoding=pcm8


as soon as I ask asterisk to

Code: Select all
stream file /tmp/$agi_uniqueid #


back comes...

Code: Select all
[Feb 27 10:56:24] WARNING[187]: format_wav_gsm.c:142 check_header: Unexpected header size 16
[Feb 27 10:56:24] WARNING[187]: file.c:316 fn_wrapper: Unable to open format wav49


Help! Anyone ever get an answer on this?

Thank you...

PostPosted: Thu Mar 06, 2008 12:49 pm
by Alex
For those interested, this discussion is being continued here: http://www.cepstral.com/forum/viewtopic.php?t=149

-Alex