diff options
author | file <file@f38db490-d61c-443f-a65b-d21fe96a405b> | 2006-11-20 15:51:37 +0000 |
---|---|---|
committer | file <file@f38db490-d61c-443f-a65b-d21fe96a405b> | 2006-11-20 15:51:37 +0000 |
commit | 33061c4842f1f5beaa5ef9da703db6530f44e633 (patch) | |
tree | 3ab467d8a5c6bd16aaf9ade4f6069d3ea3631774 /include/asterisk | |
parent | 363b421075e8bd3758372cf02a0756bd5f36c9ae (diff) |
Use a separate variable in the channel structure to store the context that the channel was dialed from. (issue #8382 reported by jiddings)
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@47850 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'include/asterisk')
-rw-r--r-- | include/asterisk/channel.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/asterisk/channel.h b/include/asterisk/channel.h index 3c335837b..488b64c3c 100644 --- a/include/asterisk/channel.h +++ b/include/asterisk/channel.h @@ -382,6 +382,7 @@ struct ast_channel { char macrocontext[AST_MAX_CONTEXT]; /*!< Macro: Current non-macro context. See app_macro.c */ char macroexten[AST_MAX_EXTENSION]; /*!< Macro: Current non-macro extension. See app_macro.c */ int macropriority; /*!< Macro: Current non-macro priority. See app_macro.c */ + char dialcontext[AST_MAX_CONTEXT]; /*!< Dial: Extension context that we were called from */ struct ast_pbx *pbx; /*!< PBX private structure for this channel */ int amaflags; /*!< Set BEFORE PBX is started to determine AMA flags */ |