diff options
author | russell <russell@f38db490-d61c-443f-a65b-d21fe96a405b> | 2005-07-10 23:49:57 +0000 |
---|---|---|
committer | russell <russell@f38db490-d61c-443f-a65b-d21fe96a405b> | 2005-07-10 23:49:57 +0000 |
commit | 72af60b3e6fa9af1b23524377a82330e18cca8d3 (patch) | |
tree | 4db59d5d09ba10d210876efd1cab834c716be5b0 /include/asterisk/channel.h | |
parent | cbc8a4b7d2382b98f0666fd6a81ce4cca5a4fc22 (diff) |
define an AST_MAX_CONTEXT for use instead of AST_MAX_EXTENSION
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6076 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'include/asterisk/channel.h')
-rwxr-xr-x | include/asterisk/channel.h | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/include/asterisk/channel.h b/include/asterisk/channel.h index 9380d7884..49a73420e 100755 --- a/include/asterisk/channel.h +++ b/include/asterisk/channel.h @@ -36,20 +36,21 @@ extern "C" { #include "asterisk/lock.h" /*! Max length of an extension */ -#define AST_MAX_EXTENSION 80 +#define AST_MAX_EXTENSION 80 + +#define AST_MAX_CONTEXT 80 #include "asterisk/cdr.h" #include "asterisk/monitor.h" #include "asterisk/utils.h" +#define AST_CHANNEL_NAME 80 -#define AST_CHANNEL_NAME 80 - -#define MAX_LANGUAGE 20 +#define MAX_LANGUAGE 20 -#define MAX_MUSICCLASS 20 +#define MAX_MUSICCLASS 20 -#define AST_MAX_FDS 8 +#define AST_MAX_FDS 8 typedef unsigned long long ast_group_t; @@ -256,9 +257,9 @@ struct ast_channel { struct ast_callerid cid; /*! Current extension context */ - char context[AST_MAX_EXTENSION]; + char context[AST_MAX_CONTEXT]; /*! Current non-macro context */ - char macrocontext[AST_MAX_EXTENSION]; + char macrocontext[AST_MAX_CONTEXT]; /*! Current non-macro extension */ char macroexten[AST_MAX_EXTENSION]; /*! Current non-macro priority */ |