From 66421e3fc5c359e512f03382abf63a594ce13a2d Mon Sep 17 00:00:00 2001 From: russell Date: Mon, 7 Aug 2006 04:15:52 +0000 Subject: Merge my applicationmap_fixup branch to address the issues described in this post to the asterisk-dev mailing list: http://lists.digium.com/pipermail/asterisk-dev/2006-August/022174.html This implements full control over both which channel(s) can activate a dynamic feature, as well as which channel to run the application on. I also updated the documentation on the applicationmap in features.conf.sample in hopes that the configuration is more clear. git-svn-id: http://svn.digium.com/svn/asterisk/trunk@39109 f38db490-d61c-443f-a65b-d21fe96a405b --- include/asterisk/channel.h | 18 ++++++++---------- 1 file changed, 8 insertions(+), 10 deletions(-) (limited to 'include') diff --git a/include/asterisk/channel.h b/include/asterisk/channel.h index 46c94ee30..80d8fba5e 100644 --- a/include/asterisk/channel.h +++ b/include/asterisk/channel.h @@ -416,16 +416,14 @@ 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_PARKCALL (1 << 5) - -#define AST_FEATURE_FLAG_NEEDSDTMF (1 << 0) -#define AST_FEATURE_FLAG_CALLEE (1 << 1) -#define AST_FEATURE_FLAG_CALLER (1 << 2) +enum { + AST_FEATURE_PLAY_WARNING = (1 << 0), + AST_FEATURE_REDIRECT = (1 << 1), + AST_FEATURE_DISCONNECT = (1 << 2), + AST_FEATURE_ATXFER = (1 << 3), + AST_FEATURE_AUTOMON = (1 << 4), + AST_FEATURE_PARKCALL = (1 << 5), +}; struct ast_bridge_config { struct ast_flags features_caller; -- cgit v1.2.3