[asterisk-commits] russell: trunk r83500 - /trunk/channels/chan_zap.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Fri Sep 21 14:55:04 CDT 2007


Author: russell
Date: Fri Sep 21 14:55:03 2007
New Revision: 83500

URL: http://svn.digium.com/view/asterisk?view=rev&rev=83500
Log:
Fix compilation errors in CLI command updates to SS7 CLI commands

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=83500&r1=83499&r2=83500
==============================================================================
--- trunk/channels/chan_zap.c (original)
+++ trunk/channels/chan_zap.c Fri Sep 21 14:55:03 2007
@@ -11808,7 +11808,7 @@
 	return CLI_SUCCESS;
 }
 
-static int handle_ss7_unblock_cic(int fd, int argc, char *argv[])
+static char *handle_ss7_unblock_cic(struct ast_cli_entry *e, int cmd, struct ast_cli_args *a)
 {
 	int linkset, cic;
 	int i, blocked = -1;
@@ -11887,7 +11887,7 @@
 		return CLI_SUCCESS;
 	}
 	if (!linksets[linkset-1].ss7) {
-		ast_cli(fd, "No SS7 running on linkset %d\n", linkset);
+		ast_cli(a->fd, "No SS7 running on linkset %d\n", linkset);
 		return CLI_SUCCESS;
 	}
 	if (linksets[linkset-1].ss7)
@@ -11902,7 +11902,7 @@
 	NEW_CLI(handle_ss7_debug, "Enables SS7 debugging on a linkset"), 
 	NEW_CLI(handle_ss7_no_debug, "Disables SS7 debugging on a linkset"), 
 	NEW_CLI(handle_ss7_block_cic, "Disables SS7 debugging on a linkset"),
-	NEW_CLI(handle_ss7_unblock_cic, "Disables SS7 debugging on a linkset")
+	NEW_CLI(handle_ss7_unblock_cic, "Disables SS7 debugging on a linkset"),
 	NEW_CLI(handle_ss7_show_linkset, "Shows the status of a linkset"),
 };
 #endif /* HAVE_SS7 */




More information about the asterisk-commits mailing list