freetdm: Add FTDM_COMMANDs to debug DTMF

This commit is contained in:
Moises Silva
2010-12-03 17:52:10 -05:00
parent 8b80661e40
commit 50f2686fa1
6 changed files with 68 additions and 24 deletions

View File

@@ -351,6 +351,7 @@ typedef struct ftdm_channel_config {
ftdm_chan_type_t type;
float rxgain;
float txgain;
uint8_t debugdtmf;
} ftdm_channel_config_t;
/*!

View File

@@ -355,6 +355,7 @@ typedef struct {
#define DTMF_DEBUG_TIMEOUT 250
typedef struct {
uint8_t enabled;
uint8_t requested;
FILE *file;
int32_t closetimeout;
ftdm_mutex_t *mutex;