[asterisk-dev] setting defaultlanguage in asterisk.conf

Paul Belanger pabelanger at digium.com
Sun Jul 31 00:50:25 CDT 2011


On 11-07-30 11:37 PM, Tzafrir Cohen wrote:
> The sample asterisk.conf has:
>
>    ;defaultlanguage = en           ; Default language
>
> I tried setting this to a different value and it does not seem to work.
> A quick look in the code shows that the global defaultlanguage gets set
> to the build-time default at start-up and does not get set since.
>
> Any objections to fixing this in the parsing of asterisk.conf in
> asterisk.c ?
>
> If so, is this something that would be a candidate for 1.8 as well
> (given that it is "promised" in the sample asterisk.conf)?
>
Looks like a bug, 'defaultlanguage' is missing from ast_readconfig().

Don't see an issue fix it on all branches.

-- 
Paul Belanger
Digium, Inc. | Software Developer
twitter: pabelanger | IRC: pabelanger (Freenode)
Check us out at: http://digium.com & http://asterisk.org



More information about the asterisk-dev mailing list