Increase maximum length of language buffers
authorTilghman Lesher <tilghman@meg.abyt.es>
Sun, 15 Nov 2009 07:53:16 +0000 (07:53 +0000)
committerTilghman Lesher <tilghman@meg.abyt.es>
Sun, 15 Nov 2009 07:53:16 +0000 (07:53 +0000)
(closes issue #16217)
 Reported by: dsessions

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@230217 65c4cc65-6c06-0410-ace0-fbb531ad65f3

include/asterisk/channel.h

index c42eb88..b29939f 100644 (file)
@@ -135,7 +135,7 @@ extern "C" {
 #define AST_MAX_EXTENSION      80      /*!< Max length of an extension */
 #define AST_MAX_CONTEXT                80      /*!< Max length of a context */
 #define AST_CHANNEL_NAME       80      /*!< Max length of an ast_channel name */
-#define MAX_LANGUAGE           20      /*!< Max length of the language setting */
+#define MAX_LANGUAGE           40      /*!< Max length of the language setting */
 #define MAX_MUSICCLASS         80      /*!< Max length of the music class setting */
 
 #include "asterisk/frame.h"