Surfer Dude
2003-Jun-25  16:02 UTC
[Asterisk-Users] indication tones and callwaiting chirp too loud
I am wondering if anyone could help me figure out how to turn down the volume on
all the dial tones, indications, etc.. and especially the call-waiting CHIRP!
I don't want to change the txgain and rxgain because they are working at
levels that I would like.  However, when voice conversations and voicemail
recordings are at good levels then the dial tones, busy tones, etc are way too
loud.  This is especially true for the chirp for call-waiting which is
excruciating for someone who is having a conversation.
There is also a very loud chirp and the very end of Voicemail recordings.
Is it possible to turn down these levels?  How about a software limiter?  Or a
filter that cuts out huge spikes?
Could these problems be due to my equipment?
Let's see, my system:
    T400P 4 port  T1
        port one attached to CAC II w/ 12 FXO set to ground start 12 FXS set to
loopstart
        port two CAC II w/ 24/FXS loopstart
        port three CAC II w/ 24/FXS loopstart
        port four free
Thanks,
Jason
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
http://lists.digium.com/pipermail/asterisk-users/attachments/20030625/c4cc5a2f/attachment.htm
Martin Pycko
2003-Jun-26  08:15 UTC
[Asterisk-Users] indication tones and callwaiting chirp too loud
Try to change something in zaptel/tonezone.c around these lines
                /* Bring it down -8 dbm */
                gain = pow(10.0, (LEVEL - 3.14) / 20.0) * 65536.0 / 2.0;
                td->fac1 = 2.0 * cos(2.0 * M_PI * (freq1 / 8000.0)) *
32768.0;
                td->init_v2_1 = sin(-4.0 * M_PI * (freq1 / 8000.0)) *
gain;
                td->init_v3_1 = sin(-2.0 * M_PI * (freq1 / 8000.0)) *
gain;
                td->fac2 = 2.0 * cos(2.0 * M_PI * (freq2 / 8000.0)) *
32768.0;
                td->init_v2_2 = sin(-4.0 * M_PI * (freq2 / 8000.0)) *
gain;
                td->init_v3_2 = sin(-2.0 * M_PI * (freq2 / 8000.0)) *
gain;
Martin
On Wed, 25 Jun 2003, Surfer Dude wrote:
>
> I am wondering if anyone could help me figure out how to turn down the
volume on all the dial tones, indications, etc.. and especially the call-waiting
CHIRP!
>
> I don't want to change the txgain and rxgain because they are working
at levels that I would like.  However, when voice conversations and voicemail
recordings are at good levels then the dial tones, busy tones, etc are way too
loud.  This is especially true for the chirp for call-waiting which is
excruciating for someone who is having a conversation.
>
> There is also a very loud chirp and the very end of Voicemail recordings.
>
> Is it possible to turn down these levels?  How about a software limiter? 
Or a filter that cuts out huge spikes?
>
> Could these problems be due to my equipment?
>
> Let's see, my system:
>
>     T400P 4 port  T1
>         port one attached to CAC II w/ 12 FXO set to ground start 12 FXS
set to loopstart
>         port two CAC II w/ 24/FXS loopstart
>         port three CAC II w/ 24/FXS loopstart
>         port four free
>
>
> Thanks,
> Jason
>