To adjust the voice gain level, tx or rx :

at Dahdi config : /etc/asterisk/chan_dahdi.conf

txgain : Increase for outgoing audio. Default 0.
rxgain : Increase for incoming audio. Default 0.

After done, restart asterisk to make it take effect.

For other respective voip/fxo/pri gateway, change the respective tx and rx parameter.