[Asterisk-cvs] asterisk/channels/h323 Makefile,1.12,1.13 README,1.17,1.18

jeremy at lists.digium.com jeremy at lists.digium.com
Mon Apr 19 15:43:23 CDT 2004


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

Modified Files:
	Makefile README 
Log Message:
Make comptable with Open H.323's Janus release. See http://www.sf.net/projects/openh323/ for details.  These changes will cause any version less than Janus to fail at compile time. This update may also address the recent instability noise...


Index: Makefile
===================================================================
RCS file: /usr/cvsroot/asterisk/channels/h323/Makefile,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -d -r1.12 -r1.13
--- Makefile	19 Apr 2004 08:11:51 -0000	1.12
+++ Makefile	19 Apr 2004 19:47:27 -0000	1.13
@@ -30,15 +30,8 @@
 CFLAGS += -DNDEBUG -DDO_CRASH -DDEBUG_THREADS
 CFLAGS += -pipe -Wall -fPIC -Wmissing-prototypes -Wmissing-declarations 
 CFLAGS += -D_REENTRANT -D_GNU_SOURCE
-ifeq (${OSARCH},OpenBSD)
-CFLAGS += -DP_OPENBSD=200311
-else
-CFLAGS += -DP_LINUX
-endif
-CFLAGS += -DP_HAS_SEMAPHORES -DP_SSL -DP_PTHREADS
-CFLAGS += -DPHAS_TEMPLATES -DPTRACING -DP_USE_PRAGMA
 CFLAGS += -I../../include
-CFLAGS += -I$(PWLIBDIR)/include/ptlib/unix -I$(PWLIBDIR)/include 
+CFLAGS += -I$(PWLIBDIR)/include 
 CFLAGS += -I$(OPENH323DIR)/include -Wno-missing-prototypes -Wno-missing-declarations
 
 
@@ -52,7 +45,7 @@
  
 
 ast_h323.o:	ast_h323.cpp
-	g++ -g -c -o $@ $(CFLAGS) $<
+	g++ -g -c -fno-rtti -o $@ $(CFLAGS) $<
 
 libchanh323.a:	ast_h323.o
 	ar cr libchanh323.a ast_h323.o

Index: README
===================================================================
RCS file: /usr/cvsroot/asterisk/channels/h323/README,v
retrieving revision 1.17
retrieving revision 1.18
diff -u -d -r1.17 -r1.18
--- README	26 Jan 2004 04:09:40 -0000	1.17
+++ README	19 Apr 2004 19:47:27 -0000	1.18
@@ -5,22 +5,17 @@
 	     First public release on November 10th, 2002
 
 
-	Developed using:	RedHat 7.2/7.3/8.0
-				Open H.323 v1.11.7		
-				PWLib      v1.4.11
-				GCC   2.96/3.1/3.2
-
-	Dependancies:  		openssl-0.9.6b
+	Dependancies at least:	openssl-0.9.6b
 				openssl-devel-0.9.6b
-		       		expat-1.95
-		       		expat-dev-1.95
+	       			expat-1.95
+	       			expat-dev-1.95
 
-	Currently recomended versions: 	Open H.323 v1.12.2
-					PWLib v1.5.2
-				
+This code runs on Open H.323 v1.13.5 and PWLib v1.6.6. If you use different
+versions, you are on your own.
 
 chan_h323 has been implemented using Asterisk's RTP stack insted of trying
-to implement a pseudo sound card driver. 
+to implement a pseudo sound card driver. I feel this is more effiecent,
+due to the Asterisk.
 
 NOTICE: Whatever you do, DO NOT USE distrubution specific installs
 of Open H.323 and PWLib. In fact you should check to make sure 
@@ -31,12 +26,9 @@
 
 
 To compile this code:
-You first need Open H.323 v1.12.2 and PWLib v1.5.2 from http://www.openh323.org/bin/. Make sure you
-follow the build instructions EXPLICTLY at http://www.openh323.org/build.html.
-
-Once PWLib and Open H.323 have been compiled, issue a make in the asterisk/channels/h323 
-directory, then go back to the Asterisk source top level directory and issue a make install.
-
+Once PWLib and Open H.323 have been compiled per their specific build instructions, issue 
+a make in the asterisk/channels/h323 directory, then go back to the Asterisk source 
+top level directory and issue a make install.
 
 
 Most common compile error:  
@@ -84,7 +76,6 @@
 you do not have to remember to export those values every time you 
 want to recompile.
 
-
 If you still have trouble please contact 'JerJer' in #Asterisk on 
 irc.freenode.net or send and email to jj at nufone.net
 
@@ -108,12 +99,14 @@
 
 Send whatever shows up right after the 'bt'
 
-
 Also, a full debug screen output is almost needed. Make sure you are 
-in the full console mode (-c) and turn on 'h.323  debug'. A nice way 
-to capture everything is with script (man script) 
+in the full console mode (-c) and turn on 'h.323 debug' or worst case
+senerio 'h.323 trace 4'. 
 
+If you are motivated to make debug show up on a remote (-r) console, 
+please submit a patch to the Asterisk bug tracker: http://bugs.digium.com/
 
+A nice way to capture debug is with script (man script) 
 
 Jeremy McNamara
 The NuFone Network 




More information about the svn-commits mailing list