Expand CDR uniqueid field to 150 chars, to account for maximum systemname.

(Closes issue #12831)


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@121855 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Tilghman Lesher
2008-06-11 17:44:39 +00:00
parent d373bd4430
commit 99c2f1c9f7
3 changed files with 9 additions and 3 deletions

View File

@@ -90,8 +90,9 @@ struct ast_cdr {
char accountcode[AST_MAX_ACCOUNT_CODE];
/*! flags */
unsigned int flags;
/*! Unique Channel Identifier */
char uniqueid[32];
/*! Unique Channel Identifier
* 150 = 127 (max systemname) + "-" + 10 (epoch timestamp) + "." + 10 (monotonically incrementing integer) + NULL */
char uniqueid[150];
/*! User field */
char userfield[AST_MAX_USER_FIELD];