mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-09 14:36:48 +00:00
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5192 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -82,8 +82,12 @@ struct ast_channel_tech {
|
||||
const char * const type;
|
||||
const char * const description;
|
||||
|
||||
/*! Bitmap of formats this channel can handle */
|
||||
int capabilities;
|
||||
|
||||
/*! Technology Properties */
|
||||
int properties;
|
||||
|
||||
struct ast_channel *(* const requester)(const char *type, int format, void *data, int *cause);
|
||||
|
||||
int (* const devicestate)(void *data);
|
||||
@@ -311,6 +315,10 @@ struct ast_channel {
|
||||
|
||||
};
|
||||
|
||||
/* Channel tech properties: */
|
||||
/* Channels have this property if they can accept input with jitter; i.e. most VoIP channels */
|
||||
#define AST_CHAN_TP_WANTSJITTER (1 << 0)
|
||||
|
||||
#define AST_FLAG_DIGITAL (1 << 0) /* if the call is a digital ISDN call */
|
||||
#define AST_FLAG_DEFER_DTMF (1 << 1) /* if dtmf should be deferred */
|
||||
#define AST_FLAG_WRITE_INT (1 << 2) /* if write should be interrupt generator */
|
||||
|
Reference in New Issue
Block a user