[Asterisk-Users] RX/TXgain on bristuff/zaptel ?

Koopmann, Jan-Peter Jan-Peter.Koopmann at seceidos.de
Tue Jan 17 00:31:50 MST 2006


On Sunday, January 15, 2006 3:41 PM Pisac wrote: 

> Do bristuffed zaptel (zaphfc) supporting rxgain/txgain in zapata.conf?

Please recheck: This happens on outgoing calls only, correct? On inbound
calls rxgain/txgain work? There is a bug in current bristuff: Somwhere
around line 1928 you should find a few lines regarding gain. Change them
to look like this:

        if (IS_DIGITAL(ast->transfercapability)) {
            set_actual_gain(p->subs[SUB_REAL].zfd, 0, 0, 0, p->law);
        } else { 
            set_actual_gain(p->subs[SUB_REAL].zfd, 0, p->rxgain,
p->txgain, p->law);
        }

Recompile and things will start working on outgoing calls as well.

Kind regards,
  JP




More information about the asterisk-users mailing list