[Asterisk-Dev] Formats for storing Audio archives.

Adam Hart adam at teragen.com.au
Tue May 11 05:30:30 MST 2004


Steven Critchfield wrote:
>>
>>
>>I'd say the easist way would be to store in wav and (assuming wav causes 
>>storage issues), have a cron job to encode to mp3 every 5minutes (must 
>>remember to only encode completed calls - look at timestamp of file). 
>>You could even do this on another box if encoding of mp3 adds too much load.
> 
> 
> timestamp wouldn't tell you if a file is currently being recorded.
> Please learn the better tools of lsof(8).

Yea, that's a better way. Couldn't you match of all timestamps of file 
modified > 1 min old?



More information about the asterisk-dev mailing list