diff options
author | George Joseph <george.joseph@fairview5.com> | 2016-03-26 21:33:14 -0600 |
---|---|---|
committer | Joshua Colp <jcolp@digium.com> | 2016-03-29 14:35:17 -0500 |
commit | c7eb18d8655272c7e1bdecce176891e99c140795 (patch) | |
tree | 2f3994c9f87ddc428ab3f5129530f94d7dc3a187 /res/res_pjsip/pjsip_cli.c | |
parent | e595f02f83137cf92dd2a7f2567a73d6a88a2ff2 (diff) |
chan_pjsip: Add 'pjsip show channelstats'
Added the ability to show channel statistics to chan_pjsip (cli_functions.c)
Moved the existing 'pjsip show channel(s)' functionality from
pjsip_configuration to cli_functions.c. The stats needed chan_pjsip's
private header so it made sense to move the existing channel commands as well.
Now using stasis_cache_dump to get the channel snapshots rather than retrieving
all endpoints, then getting each one's channel snapshots. Much more efficient.
Change-Id: I03b114522126d27434030b285bf6d531ddd79869
Diffstat (limited to 'res/res_pjsip/pjsip_cli.c')
-rw-r--r-- | res/res_pjsip/pjsip_cli.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/res/res_pjsip/pjsip_cli.c b/res/res_pjsip/pjsip_cli.c index bbd0ac4b8..e6433f435 100644 --- a/res/res_pjsip/pjsip_cli.c +++ b/res/res_pjsip/pjsip_cli.c @@ -197,7 +197,7 @@ char *ast_sip_cli_traverse_objects(struct ast_cli_entry *e, int cmd, struct ast_ ast_str_append(&context.output_buffer, 0, "\n"); formatter_entry->print_header(NULL, &context, 0); ast_str_append(&context.output_buffer, 0, - " =========================================================================================\n\n"); + "==========================================================================================\n\n"); if (is_container || cmd == CLI_GENERATE) { container = formatter_entry->get_container(regex); |