Merge Tony's attended # transfer with changes (bug #3241)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4677 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Mark Spencer
2005-01-05 19:56:47 +00:00
parent 68c634721a
commit 526622d6e0
7 changed files with 328 additions and 19 deletions

View File

@@ -90,6 +90,9 @@ int ast_app_group_match_get_count(char *groupmatch, char *category);
//! Create an argc argv type structure for app args
int ast_seperate_app_args(char *buf, char delim, char **array, int arraylen);
//! Present a dialtone and collect a certain length extension. Returns 1 on valid extension entered, -1 on hangup, or 0 on invalid extension.
int ast_app_dtget(struct ast_channel *chan, const char *context, char *collect, size_t size, int maxlen, int timeout);
#if defined(__cplusplus) || defined(c_plusplus)
}
#endif

View File

@@ -236,6 +236,8 @@ struct ast_channel {
#define AST_FEATURE_PLAY_WARNING (1 << 0)
#define AST_FEATURE_REDIRECT (1 << 1)
#define AST_FEATURE_DISCONNECT (1 << 2)
#define AST_FEATURE_ATXFER (1 << 3)
#define AST_FEATURE_AUTOMON (1 << 4)
#define AST_FEATURE_FLAG_NEEDSDTMF (1 << 0)