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
This commit is contained in:
Kevin P. Fleming
2006-02-14 23:42:36 +00:00
parent ec7df7e557
commit 124b00c4a4
8 changed files with 17 additions and 8 deletions

View File

@@ -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;