[Asterisk-cvs] asterisk/channels chan_h323.c,1.30,1.31

jeremy at lists.digium.com jeremy at lists.digium.com
Tue Jan 13 03:32:36 CST 2004


Update of /usr/cvsroot/asterisk/channels
In directory mongoose.digium.com:/home/jeremy/asterisk/channels

Modified Files:
	chan_h323.c 
Log Message:
last try


Index: chan_h323.c
===================================================================
RCS file: /usr/cvsroot/asterisk/channels/chan_h323.c,v
retrieving revision 1.30
retrieving revision 1.31
diff -u -d -r1.30 -r1.31
--- chan_h323.c	13 Jan 2004 09:17:14 -0000	1.30
+++ chan_h323.c	13 Jan 2004 09:24:26 -0000	1.31
@@ -1328,9 +1328,7 @@
 static int h323_gk_cycle(int fd, int argc, char *argv[])
 {
 	return RESULT_SUCCESS;
-
-/* This works from a full console, but not -r ?! */
-
+#if 0
 	if (argc != 3) {
 		return RESULT_SHOWUSAGE;
 	}	
@@ -1338,11 +1336,12 @@
 	
 	/* Possibly register with a GK */
 	if (!gatekeeper_disable) {
-// boom if -r	if (h323_set_gk(gatekeeper_discover, gatekeeper, secret)) {
+		if (h323_set_gk(gatekeeper_discover, gatekeeper, secret)) {
 			ast_log(LOG_ERROR, "Gatekeeper registration failed.\n");
 		}
 	}
 	return RESULT_SUCCESS;
+#endif
 }
 
 static int h323_ep_hangup(int fd, int argc, char *argv[])




More information about the svn-commits mailing list