summaryrefslogtreecommitdiff
path: root/include/asterisk/channel.h
diff options
context:
space:
mode:
authorCorey Farrell <git@cfware.com>2015-11-02 21:11:11 -0500
committerCorey Farrell <git@cfware.com>2015-11-05 10:20:34 -0500
commitcd5ae02812faa311056adb3f27cd8270642a4a6e (patch)
tree853b2a8ed77045619ffd41a518a8266aaff967e8 /include/asterisk/channel.h
parente26a06c1dafc9975a4e3a7e5e3153fcf75b1eeaa (diff)
Increase account code maximum length to 80.
This increases the maximum length of account code's to match extensions. This ensures it is always possible to set an accountcode to ${EXTEN} without truncation. ASTERISK-23904 Reported by: Ben Merrills Change-Id: If122602304ce03362722eb213a3111b32da5eeb9
Diffstat (limited to 'include/asterisk/channel.h')
-rw-r--r--include/asterisk/channel.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/asterisk/channel.h b/include/asterisk/channel.h
index fffbe5c09..384c22d5f 100644
--- a/include/asterisk/channel.h
+++ b/include/asterisk/channel.h
@@ -158,7 +158,7 @@ extern "C" {
*/
#define AST_MAX_UNIQUEID (AST_MAX_PUBLIC_UNIQUEID + 2 + 1)
-#define AST_MAX_ACCOUNT_CODE 20 /*!< Max length of an account code */
+#define AST_MAX_ACCOUNT_CODE 80 /*!< 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 */
#define MAX_MUSICCLASS 80 /*!< Max length of the music class setting */