diff options
author | kpfleming <kpfleming@f38db490-d61c-443f-a65b-d21fe96a405b> | 2005-04-29 15:04:26 +0000 |
---|---|---|
committer | kpfleming <kpfleming@f38db490-d61c-443f-a65b-d21fe96a405b> | 2005-04-29 15:04:26 +0000 |
commit | 1cbba5607c36e87977b265e84afa60db41560ce1 (patch) | |
tree | 30e8ea21857bedceb044494a0aeefd2d343f8bc3 /include | |
parent | 044d2218ba972a4a4ef2d2aa9a9f80f3fad9a6b9 (diff) |
make 'goto' APIs aware of auto-processing loops, so they know exactly when to set the requested priority or one priority lower
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5529 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'include')
-rwxr-xr-x | include/asterisk/channel.h | 16 |
1 files changed, 10 insertions, 6 deletions
diff --git a/include/asterisk/channel.h b/include/asterisk/channel.h index 122f46416..d13e0671a 100755 --- a/include/asterisk/channel.h +++ b/include/asterisk/channel.h @@ -348,17 +348,21 @@ struct ast_channel { #define AST_FLAG_BLOCKING (1 << 3) /* if we are blocking */ #define AST_FLAG_ZOMBIE (1 << 4) /* if we are a zombie */ #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_FLAG_SPYING (1 << 7) /* XXX might also go away XXX is spying on someone */ -#define AST_FLAG_NBRIDGE (1 << 8) /* is it in a native bridge */ +#define AST_FLAG_MOH (1 << 6) /* XXX anthm promises me this will disappear XXX listening to moh */ +#define AST_FLAG_SPYING (1 << 7) /* XXX might also go away XXX is spying on someone */ +#define AST_FLAG_NBRIDGE (1 << 8) /* is it in a native bridge */ +#define AST_FLAG_IN_AUTOLOOP (1 << 9) /* the channel is in an auto-incrementing dialplan processor, + so when ->priority is set, it will get incremented before + finding the next priority to run + */ #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_ATXFER (1 << 3) +#define AST_FEATURE_AUTOMON (1 << 4) -#define AST_FEATURE_FLAG_NEEDSDTMF (1 << 0) +#define AST_FEATURE_FLAG_NEEDSDTMF (1 << 0) struct ast_bridge_config { struct ast_flags features_caller; |