Simon's Goal:
- I am attempting to configure Asterisk[1] to create an H.323 session with a Lucent iMerge[2] gateway on Sprint Canada's network. The end goal being able to terminate VoIP calls on the Asterisk via the iMerge, which is in turn connected to the PSTN.
- Presently, I'm attempting to get the inAccessNetworks OpenH323 driver to talk to iMerge, as that as where others[3] seem to feel progress will be made.
Status (2005-02-15):
- Working:
- Multiple simultaneous inbound calls
- Calls of any length
- Single outbound call
- Broken:
- The asterisk-oh323 driver only seems to allow outbound calling through a single alias. Confirming whether this is true or not, and what would need to be changed to allow calling out on multiple lines.
- Line password authentication doesn't work
Resolved Issues:
- Asterisk will register a line with iMerge, and terminate calls, but they are disconnected after at most 1m20s due to iMerge not being able to interpret an "information request response" sent by Asterisk -- Ezra found a fix for this, it's been posted on the voip-info[3] website.
Building Asterisk on Slackware Linux 9.1 with inAccessNetworks OpenH323 driver:
- I've written a build script to perform the steps I had previously documented on this page. Edit the 'BASE' variable to change the installation location. The script is dependent on 'wget' for file downloads.
- Download build script (Posted 2005-02-08)
- Local copies of the source code that I used to build this (automatically downloaded by build script):
Testing with SJPhone:
- Notes about network connectivity:
- SJPhone (and I imagine other SIP phones) need to be able to accept incoming connections on port 5060, and must advertise a reachable address
- Or, I imagine you can run a SIP proxy service on your gateway/NAT
Below this point are my past attempts
Install the OpenLDAP package.
Visit http://www.openh323.org/build.html, and download the source for PWLib, and OpenH323 tarballs.
extract both archives to a directory, i.e. /tmp
# cd /tmp/pwlib # make opt # make install # cd /tmp/openh323 # export OPENH323DIR=/usr/local/openh323 # export PWLIBDIR=/tmp/pwlib # make opt # make install
Go to your channels directory of the Asterisk source tree, and build the h323.so library
# cd /tmp/asterisk-1.0.0/channels/h323 # export OPENH323DIR=/usr/local/openh323 # export PWLIBDIR=/usr/local/pwlib
Edit the make file, and change the line:
CFLAGS += -I$(OPENH323DIR)/include -I$(OPENH323DIR)/include/openh323
To:
CFLAGS += -I$(OPENH323DIR)/include
Head on over to the asterisk source root, edit your Makefile, set your INSTALL_PREFIX, and do:
make && make install
![[ home ]](/images/ivory.png)