<html><head><style type='text/css'>p { margin: 0; }</style></head><body><div style='font-family: Times New Roman; font-size: 12pt; color: #000000'>Hi, I'm recording files using the pcmu extension in order to save them in the g.711 ulaw format, which is what everything in my network uses. It appears that the recorded file is just raw data without a header. Is there any way to save this as a wav type with a header (keeping the ulaw format)? <br><br>for example, running the unix command 'file' on the recording prints:<br>/tmp/185065_f7bb8e0c-e641-11dd-800d-5ffe41c540dd.PCMU: data<br><br>if I run it through sox which just outputs the same data (ulaw,8000,mono) but specifying the type as wav<br>/usr/bin/sox -t .ul -r 8000 -c 1 -b -U file.pcmu -t wav -r 8000 -c 1 -b -U file.wav<br><br>it produces a file that shows:<br>/tmp/185065_f7bb8e0c-e641-11dd-800d-5ffe41c540dd.wav: RIFF (little-endian) data, WAVE audio, ITU G.711 mu-law, mono 8000 Hz<br><br>if I try and save it within freeswitch using the wav extension, it trans-codes it to a pcm format<br> RIFF (little-endian) data, WAVE audio, Microsoft PCM, 16 bit, mono 8000 Hz<br><br>Is there any way to have freeswitch record the file as ulaw with the RIFF wav header?<br><br>Thanks!<br></div></body></html>