Ok, I have some more info. The code from openh323.org will not compile on x86_64 but the latest from the OpenH323 project on sourceforge will compile just fine on x86_64. Asterisk 1.0 will not compile with this new openh323 code but it looks like the latest cvs-head does. In channels/chan_h323 I had to make a few tweaks to get it to compile since chan_h323 assumes x86. First, I had to change the makefile from:
CFLAGS += -march=$(shell uname -m)
To:
CFLAGS += -march=athlon64
to get rid of this error:
ast_h323.cpp:1: error: bad value (x86_64) for -march= switch
ast_h323.cpp:1: error: bad value (x86_64) for -mtune= switch
Then I had to make some symlinks:
ln -s /usr/local/src/openh323/lib/libh323_linux_x86_64_r.so
/usr/local/src/openh323/lib/libh323_linux_x86_r.so
ln -s /usr/local/src/pwlib/lib/libpt_linux_x86_64_r.so
/usr/local/src/pwlib/lib/libpt_linux_x86_r.so
Well, that's got me compiling cleanly at least. However asterisk still has
problems. When I try to make an H323 call to the box the rtp stream never
gets connected. tcpdump shows the clients packets hitting the asterisk box
but asterisk never transmits anything. Another odd thing is that stop now
can no longer be used to shut down asterisk after an attempt is made at
making an h323 call but it works just fine as long as you don't try making
an h323 call. I suspect a problem in chan_h323 locking things up. If I do
a show channels after having tried to make a call I get:
bit64*CLI> show channels
Channel (Context Extension Pri ) State Appl. Data
SIP/pstn1-e7c5 (default 1 ) Up Bridged Call
H323/ip$[myip]:30005/28852
1 active channel(s)
Nov 24 02:51:14 WARNING[10527]: channel.c:494 ast_channel_walk_locked:
Avoided deadlock for 'H323/ip$[myip]:30005/28852', 10 retries!
Anyone know of any major signalling or socket differences between x86 and
x86_64?
--
Tracy Reed http://copilotcom.com
This message is cryptographically signed for your protection.
Info: http://copilotconsulting.com/sig
pgpyUAcBGQapA.pgp
Description: PGP signature
_______________________________________________ Asterisk-Users mailing list [EMAIL PROTECTED] http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
