[Asterisk-cvs] asterisk/channels chan_h323.c,1.77,1.78

jeremy at lists.digium.com jeremy at lists.digium.com
Mon Oct 4 06:11:23 CDT 2004


Update of /usr/cvsroot/asterisk/channels
In directory mongoose.digium.com:/tmp/cvs-serv28334

Modified Files:
	chan_h323.c 
Log Message:
a major rework - type=peer, code cleanup, and optimization

Index: chan_h323.c
===================================================================
RCS file: /usr/cvsroot/asterisk/channels/chan_h323.c,v
retrieving revision 1.77
retrieving revision 1.78
diff -u -d -r1.77 -r1.78
--- chan_h323.c	3 Oct 2004 04:19:58 -0000	1.77
+++ chan_h323.c	4 Oct 2004 10:13:01 -0000	1.78
@@ -92,7 +92,7 @@
 static char default_context[AST_MAX_EXTENSION] = "default";
 
 /** H.323 configuration values */
-static int DEFAULT_H323_PORT = 1720;
+static int h323_signalling_port = 1720;
 static char gatekeeper[100];
 static int gatekeeper_disable = 1;
 static int gatekeeper_discover = 0;
@@ -100,6 +100,7 @@
 static int gkroute = 0;
 static int noFastStart = 0;
[...1397 lines suppressed...]
@@ -1820,10 +1768,6 @@
 		return -1;
 	}
 	ast_mutex_unlock(&caplock);
-
-	/* set default options */
-	h323_set_options(noFastStart,noH245Tunneling);
-
 	return 0;
 }
 
@@ -2044,7 +1988,7 @@
 				       answer_call);
 	
 		/* start the h.323 listener */
-		if (h323_start_listener(port, bindaddr)) {
+		if (h323_start_listener(h323_signalling_port, bindaddr)) {
 			ast_log(LOG_ERROR, "Unable to create H323 listener.\n");
 			return -1;
 		}




More information about the svn-commits mailing list