I am having some troubles getting a few files to play properly. My provider is VoipStreet and they only support ulaw.
I received my files in wav format and converted them to raw using sox and this command line:
sox -V A.wav -r 8000 -c 1 -w A.raw
my extensions.conf contains the following
[mainmenu]
include => debug
exten => s,1,Answer ; Answer the line
exten => s,n,Wait,2
exten => s,n,Set(TIMEOUT(digit)=5) ; Set Digit Timeout to 5 seconds
exten => s,n,Set(TIMEOUT(response)=10) ; Set Response Timeout to 10 seconds
exten => s,n(restart),BackGround(A)
exten => s,n,Wait,1
exten => s,n,BackGround(B)
exten => s,n,Wait,1
exten => s,n,BackGround©
exten => s,n,Wait,1
exten => s,n,BackGround(1) ; Play some instructions
Now the weird stuff: Soundclip A plays very well. Before ‘B’ starts, I hear a small ‘sht’ then the file plays fine, at the end I hear another ‘sht’. Same goes for C, 1,2,3, all other files. Does NOT happen for A. I listened to all of them in wav format and that ‘sht’ is not there. Not sure how I can listen to raw files but I believe it won’t be there as well…
If you wanna listen to it…call 1-514-667-3795
Thanks!