mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-08-13 09:36:46 +00:00
freetdm: support for dtmf_on_start
This commit is contained in:
@@ -487,6 +487,7 @@ typedef struct ftdm_channel_config {
|
||||
float rxgain;
|
||||
float txgain;
|
||||
uint8_t debugdtmf;
|
||||
uint8_t dtmf_on_start;
|
||||
uint32_t dtmfdetect_ms;
|
||||
uint8_t iostats;
|
||||
} ftdm_channel_config_t;
|
||||
|
@@ -362,6 +362,8 @@ typedef struct {
|
||||
typedef struct {
|
||||
uint32_t duration_ms;
|
||||
ftdm_time_t start_time;
|
||||
/* If set to 1, we will send DTMF event the the tone starts, instead of waiting for end */
|
||||
uint8_t trigger_on_start;
|
||||
} ftdm_dtmf_detect_t;
|
||||
|
||||
/* 2^8 table size, one for each byte (sample) value */
|
||||
|
Reference in New Issue
Block a user