[asterisk-dev] Why is "core show channels concise" deprecated?
Bryant Zimmerman
BryantZ at zktech.com
Tue Jan 24 16:59:19 CST 2012
Danny Nicholas pointed out to me the info below about the concise option be
deprecated. My question is if it is going to pulled long term why is the
verbose option truncating the information. They both have a different
purpose the verbose option is not useful as it does not return the full
data. This would kill all of our outside channel monitoring code that uses
the asterisk -rx "core show channels concise". What is the thinking behind
this move.
From cli.c (asterisk 10)
e->command = "core show channels [concise|verbose|count]";
e->usage =
"Usage: core show channels
[concise|verbose|count]\n"
" Lists currently defined channels and some
information about them. If\n"
" 'concise' is specified, the format is
abridged and in a more easily\n"
" machine parsable format. If 'verbose' is
specified, the output includes\n"
" more and longer fields. If 'count' is
specified only the channel and call\n"
" count is output.\n"
" The 'concise' option is deprecated and will
be removed from future versions\n"
" of Asterisk.\n";
return NULL;
Thanks
Bryant
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-dev/attachments/20120124/249d790f/attachment-0001.htm>
More information about the asterisk-dev
mailing list