mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-23 04:58:48 +00:00
use a delimiter for 'show channels concise' that will not appear in the field contents (issue #6086, with UPGRADE.txt addition)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@10085 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -1,6 +1,13 @@
|
|||||||
Information for Upgrading From Previous Asterisk Releases
|
Information for Upgrading From Previous Asterisk Releases
|
||||||
=========================================================
|
=========================================================
|
||||||
|
|
||||||
|
Command Line Interface:
|
||||||
|
|
||||||
|
* 'show channels concise', designed to be used by applications that will parse
|
||||||
|
its output, previously used ':' characters to separate fields. However, some
|
||||||
|
of those fields can easily contain that character, making the output not
|
||||||
|
parseable. The delimiter has been changed to '!'.
|
||||||
|
|
||||||
Applications:
|
Applications:
|
||||||
|
|
||||||
* In previous Asterisk releases, many applications would jump to priority n+101
|
* In previous Asterisk releases, many applications would jump to priority n+101
|
||||||
|
2
cli.c
2
cli.c
@@ -379,7 +379,7 @@ static int handle_chanlist(int fd, int argc, char *argv[])
|
|||||||
{
|
{
|
||||||
#define FORMAT_STRING "%-20.20s %-20.20s %-7.7s %-30.30s\n"
|
#define FORMAT_STRING "%-20.20s %-20.20s %-7.7s %-30.30s\n"
|
||||||
#define FORMAT_STRING2 "%-20.20s %-20.20s %-7.7s %-30.30s\n"
|
#define FORMAT_STRING2 "%-20.20s %-20.20s %-7.7s %-30.30s\n"
|
||||||
#define CONCISE_FORMAT_STRING "%s:%s:%s:%d:%s:%s:%s:%s:%s:%d:%s:%s\n"
|
#define CONCISE_FORMAT_STRING "%s!%s!%s!%d!%s!%s!%s!%s!%s!%d!%s!%s\n"
|
||||||
#define VERBOSE_FORMAT_STRING "%-20.20s %-20.20s %-16.16s %4d %-7.7s %-12.12s %-25.25s %-15.15s %8.8s %-11.11s %-20.20s\n"
|
#define VERBOSE_FORMAT_STRING "%-20.20s %-20.20s %-16.16s %4d %-7.7s %-12.12s %-25.25s %-15.15s %8.8s %-11.11s %-20.20s\n"
|
||||||
#define VERBOSE_FORMAT_STRING2 "%-20.20s %-20.20s %-16.16s %-4.4s %-7.7s %-12.12s %-25.25s %-15.15s %8.8s %-11.11s %-20.20s\n"
|
#define VERBOSE_FORMAT_STRING2 "%-20.20s %-20.20s %-16.16s %-4.4s %-7.7s %-12.12s %-25.25s %-15.15s %8.8s %-11.11s %-20.20s\n"
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user