[prev in list] [next in list] [prev in thread] [next in thread] 

List:       asterisk-dev
Subject:    Re: [asterisk-dev] setting defaultlanguage in asterisk.conf
From:       Paul Belanger <pabelanger () digium ! com>
Date:       2011-07-31 5:50:25
Message-ID: 4E34ED21.8000403 () digium ! com
[Download RAW message or body]

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

--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

asterisk-dev mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-dev
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic