[asterisk-dev] [Code Review] 0019287: inverse / incorrect behavior for CLI / console logging of DTMF
jrose
reviewboard at asterisk.org
Mon Jun 6 09:36:06 CDT 2011
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviewboard.asterisk.org/r/1244/
-----------------------------------------------------------
(Updated 2011-06-06 09:36:06.455257)
Review request for Asterisk Developers, Russell Bryant and David Vossel.
Changes
-------
Changed to use ternary instead of mod.
Summary
-------
ast_network_puts_mutable writes to a connected console client only if it's level was set to false. This changes that function to write it only if it is set to true to resolve the reverse behavior from expectations issue.
This seems like the way to go, but I can't see for the life of me why this mistake would be made if it really was just a mistake. It's hard to say.
This addresses bug 19287.
https://issues.asterisk.org/view.php?id=19287
Diffs (updated)
-----
/branches/1.8/include/asterisk/logger.h 321530
/branches/1.8/main/asterisk.c 321530
Diff: https://reviewboard.asterisk.org/r/1244/diff
Testing
-------
Just tested with a couple of connected clients. I'll test more tomorrow.
Thanks,
jrose
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-dev/attachments/20110606/8f1f9101/attachment.htm>
More information about the asterisk-dev
mailing list