[asterisk-commits] mattf: trunk r48009 - /trunk/channels/chan_zap.c

asterisk-commits at lists.digium.com asterisk-commits at lists.digium.com
Sat Nov 25 13:30:05 MST 2006


Author: mattf
Date: Sat Nov 25 14:30:04 2006
New Revision: 48009

URL: http://svn.digium.com/view/asterisk?view=rev&rev=48009
Log:
Updates to show linkset command

Modified:
    trunk/channels/chan_zap.c

Modified: trunk/channels/chan_zap.c
URL: http://svn.digium.com/view/asterisk/trunk/channels/chan_zap.c?view=diff&rev=48009&r1=48008&r2=48009
==============================================================================
--- trunk/channels/chan_zap.c (original)
+++ trunk/channels/chan_zap.c Sat Nov 25 14:30:04 2006
@@ -11575,7 +11575,7 @@
 	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 @@
 #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 @@
 	  "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 */



More information about the asterisk-commits mailing list