mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-20 19:53:10 +00:00
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
This commit is contained in:
@@ -147,6 +147,10 @@ struct dahdi_pvt {
|
||||
int outsigmod; /*!< Outbound Signalling style (modifier) */
|
||||
int oprmode; /*!< "Operator Services" mode */
|
||||
struct dahdi_pvt *oprpeer; /*!< "Operator Services" peer tech_pvt ptr */
|
||||
/*! \brief Hardware Rx gain set by chan_dahdi.conf */
|
||||
float hwrxgain;
|
||||
/*! \brief Hardware Tx gain set by chan_dahdi.conf */
|
||||
float hwtxgain;
|
||||
/*! \brief Amount of gain to increase during caller id */
|
||||
float cid_rxgain;
|
||||
/*! \brief Software Rx gain set by chan_dahdi.conf */
|
||||
@@ -402,6 +406,10 @@ struct dahdi_pvt {
|
||||
* \note Applies to all channels
|
||||
*/
|
||||
unsigned int manages_span_alarms:1;
|
||||
/*! \brief TRUE if hardware Rx gain set by Asterisk */
|
||||
unsigned int hwrxgain_enabled;
|
||||
/*! \brief TRUE if hardware Tx gain set by Asterisk */
|
||||
unsigned int hwtxgain_enabled;
|
||||
|
||||
#if defined(HAVE_PRI)
|
||||
struct sig_pri_span *pri;
|
||||
|
Reference in New Issue
Block a user