mirror of
https://github.com/asterisk/asterisk.git
synced 2025-11-11 04:18:21 +00:00
make ast_read() able to handle channel read()/exception() methods that return a chain of frames
cleanup code in ast_read() add AST_FRAME_DTMF_BEGIN and AST_FRAME_DTMF_END so that variable-length DTMF events can be supported teach chan_zap to send DTMF_BEGIN and DTMF_END when appropriate git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@8850 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -148,13 +148,19 @@ struct ast_frame {
|
||||
#if defined(T38_SUPPORT)
|
||||
/*! Modem-over-IP data streams */
|
||||
#define AST_FRAME_MODEM 11
|
||||
#endif /* T38_SUPPORT */
|
||||
/*! DTMF begin event, subclass is the digit */
|
||||
#define AST_FRAME_DTMF_BEGIN 12
|
||||
/*! DTMF end event, subclass is the digit */
|
||||
#define AST_FRAME_DTMF_END 13
|
||||
|
||||
#if defined(T38_SUPPORT)
|
||||
/* MODEM subclasses */
|
||||
/*! T.38 Fax-over-IP */
|
||||
#define AST_MODEM_T38 1
|
||||
/*! V.150 Modem-over-IP */
|
||||
#define AST_MODEM_V150 2
|
||||
#endif
|
||||
#endif /* T38_SUPPORT */
|
||||
|
||||
/* HTML subclasses */
|
||||
/*! Sending a URL */
|
||||
|
||||
Reference in New Issue
Block a user