summaryrefslogtreecommitdiff
path: root/include/asterisk/channel.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/asterisk/channel.h')
-rw-r--r--include/asterisk/channel.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/asterisk/channel.h b/include/asterisk/channel.h
index 2e7468418..0f5549108 100644
--- a/include/asterisk/channel.h
+++ b/include/asterisk/channel.h
@@ -133,6 +133,12 @@ extern "C" {
#define AST_MAX_EXTENSION 80 /*!< Max length of an extension */
#define AST_MAX_CONTEXT 80 /*!< Max length of a context */
+#define AST_MAX_UNIQUEID 150 /*!< Max length of a channel uniqueid */
+/* 150 = 127 (max systemname) + "-" + 10 (epoch
+ * timestamp) + "." + 10 (monotonically incrementing
+ * integer) + NULL. Note that if this value is ever
+ * changed, MAX_CHANNEL_ID should be updated in
+ * rtp_engine.h */
#define AST_MAX_ACCOUNT_CODE 20 /*!< Max length of an account code */
#define AST_CHANNEL_NAME 80 /*!< Max length of an ast_channel name */
#define MAX_LANGUAGE 40 /*!< Max length of the language setting */