Truncated voice messages

Klaus Weidner (klaus@snarc.greenie.muc.de)
Tue, 8 Mar 1994 00:29:31 +0100


> I have some friends, that speak so quite on the phone, that the Zyxel
> detects silence. I cannot lower the silence threshold, because then silence
> detection doesn't work. All that's ok. The problem is I miss the last 7sec of
> their calls, because You gratefully eliminate silence. I WANT TO TURN THIS
> DAMNED OPTION OFF! But there is no #define to do so... Please include one. I
> never had a problem to have 7sec of silence. But I have a problem if I miss
> half of a telephone call!

[ first of all, take a deep breath and stop shouting...]

You will have problems anyway, because the modem will simply hang up
on your callers after seven seconds even if they are still talking
if it thinks the caller is silent.

I can put in a #define to `fix' this, but I really think that this
is a kludge. Oh well...

Here's a temporary fix until the next release:

    nblk = silence/10 + 1;
    blksize = datarate[compr];

    cur_blk = blk_base = (char *)malloc(nblk * blksize);

/* put in this line to turn off silence removal */
    blk_base = 0;
/************************************************/

    if( !blk_base ) {
        lprintf( L_WARN, "not enough memory for ring buffer, continuing" );
        /* DON'T exit, just deactivate the ring buffer */
    }
 
-- 
\ klaus@snarc.greenie.muc.de--kweidner@physik.tu-muenchen.de--2:246/55.4
\ .signature error -- quote dumped