freetdm: add channel availability rate for BRI (may be used by other protocols if needed)

This commit is contained in:
Moises Silva
2010-07-02 18:19:59 -04:00
parent 0c826b1fc8
commit 8b51a75cce
4 changed files with 78 additions and 35 deletions

View File

@@ -407,6 +407,7 @@ struct ftdm_channel {
uint8_t txgain_table[FTDM_GAINS_TABLE_SIZE];
float rxgain;
float txgain;
int availability_rate;
void *user_private;
};

View File

@@ -175,6 +175,7 @@ typedef enum {
FTDM_SPAN_STOP_THREAD = (1 << 5),
FTDM_SPAN_USE_CHAN_QUEUE = (1 << 6),
FTDM_SPAN_SUGGEST_CHAN_ID = (1 << 7),
FTDM_SPAN_USE_AV_RATE = (1 << 8),
} ftdm_span_flag_t;
/*! \brief Channel supported features */