summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorMark Spencer <markster@digium.com>2005-01-05 19:56:47 +0000
committerMark Spencer <markster@digium.com>2005-01-05 19:56:47 +0000
commit526622d6e017a1a66aeb2fc4e2edec2cb70a4ba9 (patch)
tree69c3623b6d48846b6aba6bcdb42dec663d2fc808 /include
parent68c634721a5785279bea8a749d956044c8341e09 (diff)
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
Diffstat (limited to 'include')
-rwxr-xr-xinclude/asterisk/app.h3
-rwxr-xr-xinclude/asterisk/channel.h2
2 files changed, 5 insertions, 0 deletions
diff --git a/include/asterisk/app.h b/include/asterisk/app.h
index ba7d823c0..207ba83da 100755
--- a/include/asterisk/app.h
+++ b/include/asterisk/app.h
@@ -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
diff --git a/include/asterisk/channel.h b/include/asterisk/channel.h
index 3e0743022..908ff5585 100755
--- a/include/asterisk/channel.h
+++ b/include/asterisk/channel.h
@@ -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)