I never put live my old installation, then a few weeks later I lost the machine where it was and then I just simple forget. Now after playing a little here are the details for the installation (again).
(this was compiled from a few sites and my notes)
I located all my files on /usr/src
asterisk-1.4.12.1.tar.gz
asterisk-addons-1.4.3.tar.gz
libpri-1.4.1.tar.gz
zaptel-1.4.5.1.tar.gz
openh323-v1_18_0-src-tar.gz
pwlib-v1_10_3-src-tar.gz
(you will need to untar the files -- tar -xzvf -- )
cd /usr/src
Install Zaptel
cd zaptel-1.4.5.1
./configure
make menuselect
make
make install ---> as root
make config ---> as root
cd ..
make config Note:
If you have any zaptel hardware it is now recommended to edit /etc/default/zaptel or /etc/sysconfig/zaptel and set there an optimal value for the variable MODULES .
Install Libpri
cd libpri-1.4.1
make
make install ---> as root
cd ..
Install pwlib
cd pwlib_v1_10_3
./configure --prefix=/usr
make opt
make install
export PWLIBDIR=/usr/src/pwlib_v1_10_3
cp $PWLIBDIR/lib/libpt_linux_x86_r.so.1.10.3 /usr/lib
cd ..
We copy the shared library manually into the system folder.
It is very important that you set the PWLIBDIR to your path, othewise OpenH323 will not find it.
Install openh323
cd openh323_v1_18_0
./configure --prefix=/usr./configure --prefix=/usr
make opt
make install
export OPENH323DIR=/usr/src/openh323_v1_18_0
cp $OPENH323DIR/lib/libh323_linux_x86_r.so.1.18.0 /usr/lib
cd ..
Install Asterisk
cd asterisk-1.4.12.1
./configure --prefix=/usr
make menuselect
At this point use the menuselect utility to select which Zaptel hardware - if any - you have on board. Please remeber that if you want to exit keeping the changes you made, you must press x, while q will quit without saving and the left arrow will get you back to the previous menu. Even if you do not have Zaptel hardware, you should compile the ztdummy driver.
On the channels menu you will be able to see the chan_h323 availabble for installation.
make
When you compile with make you will get the error shown on the image below therefore you will have to run the make command again:
make
make install
make samples
cd ..
This should be it. I checked that my /etc/zaptel.conf was missing. Not sure if this is because I didn't have any hardware installed. Just in case I copied
cp /home/ricardo/asterisk_intall/zaptel-1.4.5.1/zaptel.conf.sample /etc/zaptel.conf
Run the moprobe on zapte/ztdummy
modprobe zaptel
lsmod
modprobe ztdummy
lsmod
Change the default zone on zaptel.conf to UK
vi /etc/zaptel.conf
loadzone=uk
After starting Asterisk and logging into the console type the command show channeltypes to check that H323 has been install and is running.
Then you have to follow the next post with the details of the Avaya-Asterisk H323 ip trunk.
Please check this website for more details on the h323 installation:
http://astrecipes.net/index.php?q=astrecipes/compiling+asterisk+1.4+with+tdm400+and+h323
Friday, February 08, 2008
Subscribe to:
Post Comments (Atom)
5 comments:
It works on Suse (it is not my favourite distro but i had no option).
No problem, compiled perfect and working one h323 trunk!
Thank you very much!
does this configuration support both sip trunk & h323 at the same time? I have sip end point on one side & h.323 on the other side. sip proxy --> asterisk --->h.323 supported CM
Hi. My name is Omar
I connect whit avaya, but when i put
service asterisk restart
say this:
[root@asterisk1 asterisk-1.4.12.1]# service asterisk restart
Shutting down asterisk: /usr/sbin/safe_asterisk: line 117: 3132 Terminado (killed)
nice -n $PRIORITY ${ASTSBINDIR}/asterisk -f ${CLIARGS} ${ASTARGS} >&/dev/${TTY}
< /dev/${TTY}
Asterisk ended with exit status 137
Asterisk exited on signal 9.
Automatically restarting Asterisk.
My project required to integrate dialer
with voice playing ability, fax detection and digit recognition
I bought
http://voipcore.com
and that guys provide great support
I'd like to thank you for pointing to correct pwlib/openh323 pair, as I've wasted half day trying to install them :)
Post a Comment