[Asterisk-Users] H323

Paweł Gołaszewski blues at ds.pg.gda.pl
Tue May 20 08:42:24 MST 2003


On Tue, 20 May 2003, Jeremy McNamara wrote:
> First  cd asterisk/channels/h323 and eyeball the README. Then you need 
> to spend some time reading:  http://www.openh323.org.
> 
> It all boils down to properly compiling PWLib, Open H.323 and compiling
> and installing chan_h323

...and if you want to use openh323 and pwlib from your favourite distro - 
take this patch (made against latest cvs of asterisk) :)
I'm using it succesfully with:
# rpm -q openh323 pwlib
openh323-1.10.4-1
pwlib-1.4.4-1
from PLD Linux.

openh323-1.11.* does not work for me. asterisk build with that openh323 
makes sig11 on start (yes, I've tried to do everything like in README of 
chan_h323).

-- 
pozdr.  Paweł Gołaszewski 
---------------------------------
worth to see: http://www.againsttcpa.com/
CPU not found - software emulation...
-------------- next part --------------
--- ./channels/h323/Makefile.org	Tue May 13 09:53:16 2003
+++ ./channels/h323/Makefile	Tue May 13 09:55:26 2003
@@ -61,13 +62,13 @@
 	g++ -g -c -o $@ $(CFLAGS) $<
 
 chan_h323.so:	chan_h323.o ast_h323.o
-	g++  -shared -Xlinker -x -o chan_h323.so chan_h323.o ast_h323.o -L$(PWLIBDIR)/lib  -lpt_linux_x86_r -L$(OPENH323DIR)/lib -lh323_linux_x86_r -L/usr/lib -lpthread -ldl -lcrypto -lssl -lexpat
+	g++  -shared -Xlinker -x -o chan_h323.so chan_h323.o ast_h323.o -L$(PWLIBDIR)/lib  -lpt -L$(OPENH323DIR)/lib -lopenh323 -L/usr/lib -lpthread -ldl -lcrypto -lssl -lexpat
 
 chan_h323_d.so:	chan_h323.o ast_h323.o
-	g++  -shared -Xlinker -x -o chan_h323.so chan_h323.o ast_h323.o -L$(PWLIBDIR)/lib  -lpt_linux_x86_d -L$(OPENH323DIR)/lib -lh323_linux_x86_d -L/usr/lib -lpthread -ldl -lcrypto -lssl -lexpat
+	g++  -shared -Xlinker -x -o chan_h323.so chan_h323.o ast_h323.o -L$(PWLIBDIR)/lib  -lpt -L$(OPENH323DIR)/lib -lopenh323 -L/usr/lib -lpthread -ldl -lcrypto -lssl -lexpat
 
 chan_h323_s.so:	chan_h323.o ast_h323.o
-	g++  -shared -Xlinker -x -o chan_h323.so chan_h323.o ast_h323.o -L$(PWLIBDIR)/lib  -lpt_linux_x86_r_s -L$(OPENH323DIR)/lib -lh323_linux_x86_r_s -L/usr/lib -lpthread -ldl -lcrypto -lssl -lexpat
+	g++  -shared -Xlinker -x -o chan_h323.so chan_h323.o ast_h323.o -L$(PWLIBDIR)/lib  -lpt -L$(OPENH323DIR)/lib -lopenh323 -L/usr/lib -lpthread -ldl -lcrypto -lssl -lexpat
 clean:
 	rm -f *.o *.so core.*
 


More information about the asterisk-users mailing list