diff options
author | Kevin P. Fleming <kpfleming@digium.com> | 2006-02-14 23:42:36 +0000 |
---|---|---|
committer | Kevin P. Fleming <kpfleming@digium.com> | 2006-02-14 23:42:36 +0000 |
commit | 124b00c4a4b971d8f4e34c3bbd73c992ad84d20c (patch) | |
tree | 14af2c1d8853ddb0857db29b448f72736e4cab44 /include | |
parent | ec7df7e55771e991d2102d97e9c384acd6317179 (diff) |
add 'systemname' option to prefix channel unique IDs with (issue #5825)
convert chan->uniqueid to a stringfield from a fixed-size buffer
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@10088 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'include')
-rw-r--r-- | include/asterisk.h | 1 | ||||
-rw-r--r-- | include/asterisk/channel.h | 4 |
2 files changed, 2 insertions, 3 deletions
diff --git a/include/asterisk.h b/include/asterisk.h index a0ceeb40d..1918af58c 100644 --- a/include/asterisk.h +++ b/include/asterisk.h @@ -40,6 +40,7 @@ extern char ast_config_AST_CTL_PERMISSIONS[AST_CONFIG_MAX_PATH]; extern char ast_config_AST_CTL_OWNER[AST_CONFIG_MAX_PATH]; extern char ast_config_AST_CTL_GROUP[AST_CONFIG_MAX_PATH]; extern char ast_config_AST_CTL[AST_CONFIG_MAX_PATH]; +extern char ast_config_AST_SYSTEM_NAME[20]; /* Provided by asterisk.c */ int ast_set_priority(int); diff --git a/include/asterisk/channel.h b/include/asterisk/channel.h index 6c00e2a87..3c61a32ac 100644 --- a/include/asterisk/channel.h +++ b/include/asterisk/channel.h @@ -283,6 +283,7 @@ struct ast_channel { AST_STRING_FIELD(musicclass); /*! Default music class */ AST_STRING_FIELD(accountcode); /*! Account code for billing */ AST_STRING_FIELD(call_forward); /*! Where to forward to if asked to dial on this interface */ + AST_STRING_FIELD(uniqueid); /*! Unique Channel Identifier */ ); /*! File descriptor for channel -- Drivers will poll on these file descriptors, so at least one must be non -1. */ @@ -395,9 +396,6 @@ struct ast_channel { unsigned int fin; unsigned int fout; - /* Unique Channel Identifier */ - char uniqueid[32]; - /* Why is the channel hanged up */ int hangupcause; |