diff options
author | kpfleming <kpfleming@f38db490-d61c-443f-a65b-d21fe96a405b> | 2006-02-14 23:42:36 +0000 |
---|---|---|
committer | kpfleming <kpfleming@f38db490-d61c-443f-a65b-d21fe96a405b> | 2006-02-14 23:42:36 +0000 |
commit | 69f7e69869d726709046bffd71fd109b7dc4560d (patch) | |
tree | 14af2c1d8853ddb0857db29b448f72736e4cab44 /include | |
parent | a6a33b46c2b26cc5a7688943418f16939689a4ef (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: http://svn.digium.com/svn/asterisk/trunk@10088 f38db490-d61c-443f-a65b-d21fe96a405b
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; |