From cd5ae02812faa311056adb3f27cd8270642a4a6e Mon Sep 17 00:00:00 2001 From: Corey Farrell Date: Mon, 2 Nov 2015 21:11:11 -0500 Subject: 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 --- include/asterisk/channel.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/asterisk/channel.h') 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 */ -- cgit v1.2.3