summaryrefslogtreecommitdiff
path: root/configs
diff options
context:
space:
mode:
authorRichard Mudgett <rmudgett@digium.com>2013-10-14 22:52:42 +0000
committerRichard Mudgett <rmudgett@digium.com>2013-10-14 22:52:42 +0000
commit2127848d6c09a59d10844c12ec2175c4c820b46d (patch)
tree377cda337ad1ec10e7af7d90bd298eccdf2d6103 /configs
parentedb437ee6cb8d76a3791e319807a5e73cc5a9a32 (diff)
chan_dahdi: Add config support for hwgain settings.
* Add hwtxgain and hwrxgain config options to chan_dahdi.conf with documentation in chan_dahdi.conf.sample. (closes issue ASTERISK-22429) Reported by: Jaco Kroon Patches: jira_asterisk_22429_hwgain_trunk.patch (license #5621) patch uploaded by rmudgett git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@400950 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'configs')
-rw-r--r--configs/chan_dahdi.conf.sample68
1 files changed, 45 insertions, 23 deletions
diff --git a/configs/chan_dahdi.conf.sample b/configs/chan_dahdi.conf.sample
index 63be70d71..7eb270b9a 100644
--- a/configs/chan_dahdi.conf.sample
+++ b/configs/chan_dahdi.conf.sample
@@ -808,32 +808,54 @@ echocancelwhenbridged=yes
;
;relaxdtmf=yes
;
-; You may also set the default receive and transmit gains (in dB)
-;
-; Gain Settings: increasing / decreasing the volume level on a channel.
-; The values are in db (decibells). A positive number
-; increases the volume level on a channel, and a
-; negavive value decreases volume level.
-;
-; Dynamic Range Compression: you can also enable dynamic range compression
-; on a channel. This will amplify quiet sounds while leaving
-; louder sounds untouched. This is useful in situations where
-; a linear gain setting would cause clipping. Acceptable values
-; are in the range of 0.0 to around 6.0 with higher values
-; causing more compression to be done.
-;
-; There are several independent gain settings:
-; rxgain: gain for the rx (receive - into Asterisk) channel. Default: 0.0
-; txgain: gain for the tx (transmit - out of Asterisk Asterisk) channel.
-; Default: 0.0
-; cid_rxgain: set the gain just for the caller ID sounds Asterisk
-; emits. Default: 5.0 .
-; rxdrc: dynamic range compression for the rx channel. Default: 0.0
-; txdrc: dynamic range compression for the tx channel. Default: 0.0
-
+; Hardware gain settings increase/decrease the analog volume level on a channel.
+; The values are in db (decibels) and can be adjusted in 0.1 dB increments.
+; A positive number increases the volume level on a channel, and a negavive
+; value decreases volume level.
+;
+; Hardware gain settings are only possible on hardware with analog ports
+; because the gain is done on the analog side of the analog/digital conversion.
+;
+; When hardware gains are disabled, Asterisk will NOT touch the gain setting
+; already configured in hardware.
+;
+; hwrxgain: Hardware receive gain for the channel (into Asterisk).
+; Default: disabled
+; hwtxgain: Hardware transmit gain for the channel (out of Asterisk).
+; Default: disabled
+;
+;hwrxgain=disabled
+;hwtxgain=disabled
+;hwrxgain=2.0
+;hwtxgain=3.0
+;
+; Software gain settings digitally increase/decrease the volume level on a channel.
+; The values are in db (decibels). A positive number increases the volume
+; level on a channel, and a negavive value decreases volume level.
+;
+; Software gains work on the digital side of the analog/digital conversion
+; and thus can also work with T1/E1 cards.
+;
+; rxgain: Software receive gain for the channel (into Asterisk). Default: 0.0
+; txgain: Software transmit gain for the channel (out of Asterisk).
+; Default: 0.0
+;
+; cid_rxgain: Add this gain to rxgain when Asterisk expects to receive
+; a Caller ID stream.
+; Default: 5.0 .
+;
;rxgain=2.0
;txgain=3.0
;
+; Dynamic Range Compression: You can also enable dynamic range compression
+; on a channel. This will digitally amplify quiet sounds while leaving louder
+; sounds untouched. This is useful in situations where a linear gain setting
+; would cause clipping. Acceptable values are in the range of 0.0 to around
+; 6.0 with higher values causing more compression to be done.
+;
+; rxdrc: dynamic range compression for the rx channel. Default: 0.0
+; txdrc: dynamic range compression for the tx channel. Default: 0.0
+;
;rxdrc=1.0
;txdrc=4.0
;