diff options
author | markster <markster@f38db490-d61c-443f-a65b-d21fe96a405b> | 2005-01-04 04:01:40 +0000 |
---|---|---|
committer | markster <markster@f38db490-d61c-443f-a65b-d21fe96a405b> | 2005-01-04 04:01:40 +0000 |
commit | e6f35a87bcdec06f2380b0804fd4c472977aed9c (patch) | |
tree | 29d4df585c7a16fb387fa5eb4daf553cdf195852 /include | |
parent | d481e222f25146b8cbd76c99bdf13c4b9a041d35 (diff) |
Make features configurable and easier to implement
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@4650 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'include')
-rwxr-xr-x | include/asterisk/channel.h | 15 |
1 files changed, 9 insertions, 6 deletions
diff --git a/include/asterisk/channel.h b/include/asterisk/channel.h index 909e314cc..3e0743022 100755 --- a/include/asterisk/channel.h +++ b/include/asterisk/channel.h @@ -233,13 +233,15 @@ struct ast_channel { #define AST_FLAG_EXCEPTION (1 << 5) /* if there is a pending exception */ #define AST_FLAG_MOH (1 << 6) /* XXX anthm promises me this will disappear XXX listening to moh */ +#define AST_FEATURE_PLAY_WARNING (1 << 0) +#define AST_FEATURE_REDIRECT (1 << 1) +#define AST_FEATURE_DISCONNECT (1 << 2) + +#define AST_FEATURE_FLAG_NEEDSDTMF (1 << 0) + struct ast_bridge_config { - int play_to_caller; - int play_to_callee; - int allowredirect_in; - int allowredirect_out; - int allowdisconnect_in; - int allowdisconnect_out; + unsigned int features_caller; + unsigned int features_callee; long timelimit; long play_warning; long warning_freq; @@ -247,6 +249,7 @@ struct ast_bridge_config { char *end_sound; char *start_sound; int firstpass; + int flags; }; struct chanmon; |