[asterisk-users] sound file length

Time Bandit timebandit001 at gmail.com
Tue Sep 12 17:26:36 MST 2006


> At some point in my dial plan, I need to find out the length of a sound
> file in seconds (to weed out things that are way too short)
>
> the record application doesn't seem to have any facilities to do that.
>
> any ideas ?
use "sox beep.wav -e stat" and parse the output

man is your friend
google also :)


More information about the asterisk-users mailing list