[Asterisk-cvs] asterisk/channels chan_h323.c,1.28,1.29

jeremy at lists.digium.com jeremy at lists.digium.com
Tue Jan 13 03:19:47 CST 2004


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

Modified Files:
	chan_h323.c 
Log Message:
h.323 gk cycle is still broken on -r


Index: chan_h323.c
===================================================================
RCS file: /usr/cvsroot/asterisk/channels/chan_h323.c,v
retrieving revision 1.28
retrieving revision 1.29
diff -u -d -r1.28 -r1.29
--- chan_h323.c	13 Jan 2004 08:56:02 -0000	1.28
+++ chan_h323.c	13 Jan 2004 09:11:36 -0000	1.29
@@ -1327,6 +1327,10 @@
 
 static int h323_gk_cycle(int fd, int argc, char *argv[])
 {
+	result RESULT_SUCCESS;
+
+/* This works from a full console, but not -r ?! */
+
 	if (argc != 3) {
 		return RESULT_SHOWUSAGE;
 	}	
@@ -1334,7 +1338,7 @@
 	
 	/* Possibly register with a GK */
 	if (!gatekeeper_disable) {
-		if (h323_set_gk(gatekeeper_discover, gatekeeper, secret)) {
+// boom if -r	if (h323_set_gk(gatekeeper_discover, gatekeeper, secret)) {
 			ast_log(LOG_ERROR, "Gatekeeper registration failed.\n");
 		}
 	}




More information about the svn-commits mailing list