From 4dfd954ac3b719cea9b86786c27609dd6050e113 Mon Sep 17 00:00:00 2001 From: Matthew Fredrickson Date: Sat, 25 Nov 2006 20:30:04 +0000 Subject: [PATCH] Updates to show linkset command git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@48009 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- channels/chan_zap.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/channels/chan_zap.c b/channels/chan_zap.c index a914ac7e3f..3daa77fa25 100644 --- a/channels/chan_zap.c +++ b/channels/chan_zap.c @@ -11575,7 +11575,7 @@ static int handle_ss7_show_linkset(int fd, int argc, char *argv[]) if (linksets[linkset-1].ss7) ss7 = linksets[linkset-1]; - if ( + ast_cli(fd, "SS7 linkset %d status: %s\n", linkset, (ss7->state == LINKSET_STATE_UP) ? "Up" : "Down"); return RESULT_SUCCESS; } @@ -11600,7 +11600,7 @@ static const char ss7_unblock_cic_help[] = #if 0 static const char ss7_show_linkset_help[] = "Usage: ss7 show linkset \n" - " Disables debugging on a given SS7 linkset\n"; + " Shows the status of an SS7 linkset.\n"; #endif static struct ast_cli_entry zap_ss7_cli[] = { @@ -11614,7 +11614,7 @@ static struct ast_cli_entry zap_ss7_cli[] = { "Disables SS7 debugging on a linkset", ss7_unblock_cic_help, NULL }, #if 0 { { "ss7", "show", "linkset", NULL }, handle_ss7_show_linkset, - "Disables SS7 debugging on a linkset", ss7_show_linkset_help, NULL }, + "Shows the status of a linkset", ss7_show_linkset_help, NULL }, #endif }; #endif /* HAVE_SS7 */