mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-06 21:09:47 +00:00
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:
@@ -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;
|
||||
|
||||
|
Reference in New Issue
Block a user