Raphael Jacquot schrieb:
> 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 ?

i am wondering ... the voicemail app, does something similar.

In voicemail.conf you can specify the minlength of message to it will be
processed:

<voicemail.conf>
; Minimum length of a voicemail message in seconds for the message to be
; kept
; The default is no minimum.
minmessage=3

Maybe one can have a look at the code of the voicemail-App and tranfer
it do the record-App ??

Has this some chance of success ?

Tobias
_______________________________________________
--Bandwidth and Colocation provided by Easynews.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to