Install: Asterisk 1.4 + Debian Etch 4 + H323 + G729 + G723
EPISODE WATCH STREAMING ONLINE |
Install: Asterisk 1.4 + Debian Etch 4 + H323 + G729 + G723
| >>>> WATCH HERE ONLINE <<< |
I write this blog to document the procedure I used to install Asterisk in Debian Etch with H323 and G72X Codec.
I assumed that there’s a basic install of Debian Etch in Server already and will only install the necessary packages for installing Asterisk.
1) Installing necessary Debian packages before installing Asterisk
aptitude update
aptitude upgradeaptitude install ssh ntp screen
aptitude install build-essential libcurl3-dev libvorbis-dev libspeex-dev unixodbc unixodbc-dev libiksemel-dev flex xsltproc linux-headers-`uname -r` g++ libncurses5-dev libnewt-dev libusb-dev subversion git-core flex bison
2) Get the stable release of Asterisk, Libpri and Zaptel
cd /usr/src
wget http://downloads.digium.com/pub/asterisk/asterisk-1.4-current.tar.gz
wget http://downloads.digium.com/pub/zaptel/zaptel-1.4-current.tar.gz
wget http://downloads.digium.com/pub/libpri/libpri-1.4-current.tar.gz
wget http://downloads.digium.com/pub/asterisk/asterisk-addons-1.4-current.tar.gztar xvzf asterisk-1.4-current.tar.gz && tar xvzf zaptel-1.4-current.tar.gz && tar xvzf libpri-1.4-current.tar.gz && tar xvzf asterisk-addons-1.4-current.tar.gz tar
a) Installing Zaptel
cd /usr/src/zaptel-1.4*
./install_prereq test
./install_prereq install
./configure
make
make install
make config
modprobe ztdummyb) Installing Libpri
cd /usr/src/libpri-1.4*
make && make installc) Installing Asterisk
cd /usr/src/asterisk-1.4*
./configure
Comment: The next step is not mandatory. To install core and extra sounds in different languages:
make menuselect
Comment: Select the core-sounds you would like to play and extra sounds. Exit with “x” to save.
make
make install
make samples
make config
asterisk -vvvc
stop now
echo “ztdummy” >> /etc/modulesNote: If you make a mistake and/or the compilation fails, you need to run:
make clean
then
./configure
and
make install
again.
Reboot and test if the system startup is correct.
reboot
asterisk -r
exitd) Installing Asterisk Addons
cd /usr/src/asterisk-addons*
./configure && make && make install
make samples3) Installing H323 Support
//dirty hack to prevent error from missing file
cd /usr/include/linux
touch compiler.h//PWLIB
cd /usr/src
wget http://kent.dl.sourceforge.net/sourceforge/openh323/pwlib-v1_10_0-src-tar.gz
tar zxvf pwlib-v1_10_0-src-tar.gz
cd pwlib_v1_10_0/
./configure
make && make install && make opt
PWLIBDIR=/usr/src/pwlib_v1_10_0 && export PWLIBDIR//OpenH323
cd /usr/src
wget http://ovh.dl.sourceforge.net/sourceforge/openh323/openh323-v1_18_0-src-tar.gz
tar zxvf openh323-v1_18_0-src-tar.gz
cd openh323_v1_18_0/
./configure && make && make opt && make install
OPENH323DIR=/usr/src/openh323_v1_18_0/ && export OPENH323DIRcd /usr/src/asterisk/channels/h323/
make && make opt
cd /usr/src/asterisk
./configure && make && make installecho “/usr/local/lib” >> /etc/ld.so.conf && ldconfig
//or similar way
//cp /usr/local/lib/* /usr/lib
4) Installing G72X Codec (binary)
Go TO: http://asterisk.hosting.lv/
Binaries
• choose codec binary appropriate for your Asterisk version and CPU type, use x86_64 for 64-bit mode, scroll to the end of the list for FreeBSD binaries
• delete old codec_g729/723*.so files (if any) from /usr/lib/asterisk/modules directory
• copy new codec_g729/723*.so files into /usr/lib/asterisk/modules directory
• restart Asterisk
• check the codec is loaded with ‘core show translation recalc 10′ on Asterisk console (’show translation’ in Asterisk 1.2)
• G.723.1 send rate is configured in Asterisk codecs.conf file (Linux Asterisk 1.2, 1.4, 1.6, TRUNK and Callweaver, FreeBSD 7.x Asterisk 1.4 binaries only):
• [g723]
• ; 6.3Kbps stream, default
• sendrate=63
• ; 5.3Kbps
;sendrate=53
This option is for outgoing voice stream only. It does not affect incoming stream that should be decoded automatically whatever the bitrate is.
Similar Posts:
- WordPress: Howto Permanent Link
- TV Streams!!! Watch Movies, TV Shows and Documentary Online
- SITE #1: YuoTube (http://yuotube.mytechblog.info) Optimized
- UFC: Watch The Ultimate Fighter: Team Nogueira vs Team Mir Online Video Stream
- Xvideos is Xvideos.com - Free Online Video download
Install: Asterisk 1.4 + Debian Etch 4 + H323 + G729 + G723
Install: Asterisk 1.4 + Debian Etch 4 + H323 + G729 + G723
RELATED POST- WordPress: Howto Permanent Link
- TV Streams!!! Watch Movies, TV Shows and Documentary Online
- SITE #1: YuoTube (http://yuotube.mytechblog.info) Optimized
- UFC: Watch The Ultimate Fighter: Team Nogueira vs Team Mir Online Video Stream
- Xvideos is Xvideos.com - Free Online Video download
Very nice!!
Comment by fefJefGuesee — August 10, 2008 @ 8:27 am