diff options
author | Matthew Fredrickson <creslin@digium.com> | 2006-11-25 20:30:04 +0000 |
---|---|---|
committer | Matthew Fredrickson <creslin@digium.com> | 2006-11-25 20:30:04 +0000 |
commit | 4dfd954ac3b719cea9b86786c27609dd6050e113 (patch) | |
tree | 896008b6296c5d3c906082585118e94a750358b7 /channels | |
parent | 2657279cb5e57e50bbed732e84106d43be98b251 (diff) |
Updates to show linkset command
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@48009 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'channels')
-rw-r--r-- | channels/chan_zap.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/channels/chan_zap.c b/channels/chan_zap.c index a914ac7e3..3daa77fa2 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 <span>\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 */ |