User talk:Heath/PBX

From Seasteading
< User talk:Heath
Revision as of 04:26, 4 June 2008 by 12.192.85.19 (talk | contribs) (Scratch pad for more specific instructions)
Jump to: navigation, search

Any electricians want to enlighten me as to what I mean by "~1000 available power" ?

Headset

Hi Heath, do you know of a wireless headset that doesn't echo with asterisk? It seems impossible... Joep 01:33, 1 June 2008 (UTC)

If I had to guess, the jitterbuffer is creating too much latency (as of 1.4 it's automatic for SIP and IAX2). You probably already tried turning down the mic? As long as the mic is close to the earpiece, it's difficult to control.

Scratch pad for more specific instructions


# Copypasta from voip-info.org
apt-get install linux-headers-`uname -r` bison openssl libssl-dev libeditline0 libeditline-dev libedit-dev
apt-get install gcc make g++ php5-cli mysql-common libmysqlclient15-dev libnewt-dev dialog
apt-get install libspeex1 libspeex-dev libvorbis-dev libcurl3-dev unixodbc mysql-server php5-mysql
apt-get install vim sox nmap ngrep iftop iptraf elinks lynx festival festvox-kallpc8k lighttpd
apt-get install libspandsp1 libspandsp-dev bluetooth libbluetooth2-dev libbluetooth bluez-utils blues-pin

# Installation
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.gz
wget http://www.chan-mobile.org/downloads/chan_mobile-1.4.x.patch
svn co https://agx-ast-addons.svn.sourceforge.net/svnroot/agx-ast-addons agx-ast-addons
svn co https://appconference.svn.sourceforge.net/svnroot/appconference appconference
tar -zxvf libpri*
tar -zxvf zaptel*
tar -zxvf asterisk*
tar -zxvf appconference*
cd libpri ; make ; make install ; cd ..
cd zaptel ; ./configure ; make menuselect ; make ; make install ; make config ; cd ..
/etc/init.d/zaptel/start
cd `ls | grep asterisk-1.4 | grep -v addons | head -n 1`
./configure ; make menuselect ; make ; make install ; make samples ; make config ; cd ..
cd `ls | grep asterisk-1.4 | grep addons | head -n 1`
patch -p0 < ../chan_mobile-1.4.x.patch
./configure ; make menuselect ; make ; make install ; make samples ; cd ..
cd appconference/trunk
make ; make install ; cd ../../
cd ast-agx-addons/trunk
./build.sh ; cd ../../
/etc/init.d/asterisk start

dialog --clear "Do United States software patents apply to you?" 0 0
case $? in 1)
 dialog --msgbox --clear "Download the g729 and g729 codecs appropriate for your architecture." 0 0
 lynx "http://asterisk.hosting.lv/#bin"
 mv codec_g72* /usr/lib/asterisk/modules/
 mkdir melptemp ; cd melptemp
 wget ftp://maya.arcon.com/melp/melp1.2.tar.gz
 tar -zxvf melp1.2.tar.gz
 mv makefile Makefile
 cp melp.c melp.c.backup
 cat melp.c | sed -e 's/void main/int main/g' > melp2.c
 cat melp2.c | sed -e 's/,fp_in/,stdin/g' | sed -e 's/,fp_out/,fp_out/,stdout/g' > melp.c ; rm melp2.c
 make OSTYPE=linux
 cp melp /usr/bin/
 echo '#!/bin/bash\n\nmelp -a -i /dev/null -o /dev/null' > /usr/bin/melp_enc
 echo '#!/bin/bash\n\nmelp -s -i /dev/null -o /dev/null' > /usr/bin/melp_dec
 chmod a+x /usr/bin/melp_*
 cd ..
esac