freetdm: support for dtmf_on_start

This commit is contained in:
David Yat Sin committed 2012-02-07 14:28:47 -05:00
1 parent d2c9fb5f7d
commit 1377b9c84d
4 files changed
+37 -8

No files matched your search

@@ -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 */