Summary:ASTERISK-15112: [patch] #define MAX_LANGUAGE increment from 20 to 30 in include/asterisk/channel.h
Reporter:Darren Sessions (dsessions)Labels:
Date Opened:2009-11-10 13:42:48.000-0600Date Closed:2009-11-15 01:59:36.000-0600
Versions:Frequency of
Environment:Attachments:( 0)
( 1) svn_max_lang_chars.patch
Description:When using Asterisk in a service provider model we combine reseller number, customer number, and a profile number to create unique audio directory id we then set as the channel language.

The default 20 chars is two digits too small for our purposes, and we've always updated the source with the changes.

Recently, however, we've had conversations with several vendors who've experienced the same issue which has prompted this very simple and yet very effective patch.

Patches for (our production version) and SVN are included.
Comments:By: Digium Subversion (svnbot) 2009-11-15 01:59:35.000-0600

Repository: asterisk
Revision: 230217

U   trunk/include/asterisk/channel.h

r230217 | tilghman | 2009-11-15 01:59:33 -0600 (Sun, 15 Nov 2009) | 4 lines

Increase maximum length of language buffers
(closes issue ASTERISK-15112)
Reported by: dsessions