aboutsummaryrefslogtreecommitdiffstats
path: root/include/asterisk/cdr.h
diff options
context:
space:
mode:
authortilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b>2008-06-11 17:44:39 +0000
committertilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b>2008-06-11 17:44:39 +0000
commite274b08136b2b5e668c6ad6ef09cd32301b80de3 (patch)
treea3188c2d0b4fd9785868ffec3b73c1b77799ff4f /include/asterisk/cdr.h
parentd46e4924e817ba2d9016744e4a1ad717f54f3d49 (diff)
Expand CDR uniqueid field to 150 chars, to account for maximum systemname.
(Closes issue #12831) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@121855 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'include/asterisk/cdr.h')
-rw-r--r--include/asterisk/cdr.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/include/asterisk/cdr.h b/include/asterisk/cdr.h
index 02d2eb35d..fbab3f53f 100644
--- a/include/asterisk/cdr.h
+++ b/include/asterisk/cdr.h
@@ -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];