[asterisk-users] different gains per channel?

Ex Vito ex.vitorino at gmail.com
Sat Jul 26 09:38:15 CDT 2008


>
> I need to have different gain settings on each channel. Is this easy to
> achieve?
>

  txgain, rxgain and many other parameters are defined on a per-channel
  basis in zapata.conf, they're not "global". Each channel definition
"channel => x"
  assumes previous definitions of such parameters.

  Example:

  txgain=3.0
  rxgain=0.0
  channel => 1
  channel => 2

  Both channel 1 and 2 will have the same gains (both previously defined).

  txgain=3.0
  rxgain=0.0
  channel => 1
  txgain=-4.5
  rxgain=0.0
  channel => 2

  Now you get different gains for channels 1 and 2. Again, as defined
  before the "channel => x" definition.

  Cheers,
--
  exvito



More information about the asterisk-users mailing list