[Asterisk-Dev] Asterisk crashes on voicemail timeout
Mark Spencer
markster at digium.com
Sun Apr 27 19:19:35 MST 2003
What's "newt" anyway?
Mark
On Sun, 27 Apr 2003, Jim Gottlieb wrote:
> On 2003-04-27 at 12:34, Mark Spencer (markster at digium.com) wrote:
>
> > The "right thing to do" (on my list) is to listen for silence, and when a
> > certain amount of silence has occured, *rewind* the stream by that amount
> > of silence, and truncate it, to remove the silence from the recording.
> > This is totally doable, I just haven't had the time yet t o do it.
>
> In case it helps, here is our routine for recording to a file,
> including silence timeout (with rewind) and DTMF interrupt.
>
> #define SILENCE_LEVEL 32
> #define SILENCE_COUNT 40000 /* five seconds */
>
More information about the asterisk-dev
mailing list