[asterisk-dev] [Code Review] 3919: func_config: Change 'Not Found' message from ERROR to DEBUG

George Joseph reviewboard at asterisk.org
Mon Aug 18 13:47:58 CDT 2014

This is an automatically generated e-mail. To reply, visit:

(Updated Aug. 18, 2014, 12:47 p.m.)

Review request for Asterisk Developers.


Updated to ast_debug(1... and set branch to 1.8.  Will merge forward.

Repository: Asterisk


This one's been bugging me forever...

When you call the CONFIG dialplan function with the name of a variable that doesn't exist in the target context you get an ERROR.  This does nothing but clutter up the logs with messages that may be perfectly acceptable.  Just because a variable wasn't in the context doesn't mean it's an error.  Maybe it's optional or just needs to be defaulted or ignored.

This patch changes the log level from ERROR to DEBUG.  If a dialplan developer wants to debug their dialplan they still can.

Diffs (updated)

  branches/12/funcs/func_config.c 421326 

Diff: https://reviewboard.asterisk.org/r/3919/diff/



George Joseph

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-dev/attachments/20140818/c0649cd4/attachment-0001.html>

More information about the asterisk-dev mailing list