diff options
author | Kevin P. Fleming <kpfleming@digium.com> | 2006-01-29 05:15:24 +0000 |
---|---|---|
committer | Kevin P. Fleming <kpfleming@digium.com> | 2006-01-29 05:15:24 +0000 |
commit | d8908a3f52d4d0c300479fcf88577768ebe149f8 (patch) | |
tree | 49f27042fcdb58a5e697ab2d1ec3d98fd8e84e0b /include/asterisk/channel.h | |
parent | cde6058aef41516eca903e2d876057223da909f7 (diff) |
add channel-driver callbacks for variable length DTMF
teach ast_write() to call those new callbacks
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@8851 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'include/asterisk/channel.h')
-rw-r--r-- | include/asterisk/channel.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/asterisk/channel.h b/include/asterisk/channel.h index 59fbee5ff..4b120d8cf 100644 --- a/include/asterisk/channel.h +++ b/include/asterisk/channel.h @@ -189,6 +189,12 @@ struct ast_channel_tech { /*! Send a literal DTMF digit */ int (* const send_digit)(struct ast_channel *chan, char digit); + /*! Start sending a literal DTMF digit */ + int (* const send_digit_begin)(struct ast_channel *chan, char digit); + + /*! Stop sending the last literal DTMF digit */ + int (* const send_digit_end)(struct ast_channel *chan); + /*! Call a given phone number (address, etc), but don't take longer than timeout seconds to do so. */ int (* const call)(struct ast_channel *chan, char *addr, int timeout); |