diff options
author | russell <russell@f38db490-d61c-443f-a65b-d21fe96a405b> | 2006-08-07 04:15:52 +0000 |
---|---|---|
committer | russell <russell@f38db490-d61c-443f-a65b-d21fe96a405b> | 2006-08-07 04:15:52 +0000 |
commit | 66421e3fc5c359e512f03382abf63a594ce13a2d (patch) | |
tree | ed92fc7c88af2a6e936dc3ae761e86ba04b85b71 /include | |
parent | 0ae26ab60cd8c757a23334423550f3bbf6bc1816 (diff) |
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
Diffstat (limited to 'include')
-rw-r--r-- | include/asterisk/channel.h | 18 |
1 files changed, 8 insertions, 10 deletions
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; |