[asterisk-dev] [Code Review]: Clean up cel.conf parsing

rmudgett reviewboard at asterisk.org
Tue Sep 13 16:41:02 CDT 2011



> On Sept. 13, 2011, 3:31 p.m., Paul Belanger wrote:
> > trunk/cel/cel_manager.c, lines 129-132
> > <https://reviewboard.asterisk.org/r/1436/diff/1/?file=20584#file20584line129>
> >
> >     I actually like this logic but decided to remove it for now.  I'm going see about creating an ast_variable_unknown() function for the logging.

There are pros and cons to generating this message.  It depends on how the configuration options are processed in a module.
* It helps you find typo's.
* It is annoying when you change Asterisk versions and know that it is not available in a particular version.


- rmudgett


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviewboard.asterisk.org/r/1436/#review4324
-----------------------------------------------------------


On Sept. 13, 2011, 3:29 p.m., Paul Belanger wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviewboard.asterisk.org/r/1436/
> -----------------------------------------------------------
> 
> (Updated Sept. 13, 2011, 3:29 p.m.)
> 
> 
> Review request for Asterisk Developers.
> 
> 
> Summary
> -------
> 
> This includes both [general] and [manager] sections for cel.conf.  We also no longer fail to load the module when the configuration file is missing, it will now use the defaults.
> 
> 
> Diffs
> -----
> 
>   trunk/main/cel.c 335603 
>   trunk/cel/cel_manager.c 335603 
> 
> Diff: https://reviewboard.asterisk.org/r/1436/diff
> 
> 
> Testing
> -------
> 
> local development box
> 
> 
> Thanks,
> 
> Paul
> 
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-dev/attachments/20110913/aab18949/attachment.htm>


More information about the asterisk-dev mailing list