Installing FreeSWITCH with Skypiax
Published on Friday, 02 October 2009.
yum install -y subversion autoconf automake libtool \
gcc-c++ ncurses-devel make libX11-devel Xvfb alsa-utils \
xorg-x11-fonts* expat-devel zlib zlib-devel \
unixODBC-devel openssl-devel gnutls-devel libogg-devel \
libvorbis-devel curl-devel ntp vsftpd
chkconfig anacron off
chkconfig atd off
chkconfig autofs off
chkconfig avahi-daemon off
chkconfig bluetooth off
chkconfig cpuspeed off
chkconfig cups off
chkconfig gpm off
chkconfig hidd off
chkconfig irda off
chkconfig kudzu off
chkconfig netfs off
chkconfig nfslock off
chkconfig pcscd off
chkconfig portmap off
chkconfig rpcgssd off
chkconfig rpcidmapd off
chkconfig yum-updatesd off
service ntpd start
chkconfig ntpd on
useradd polycom
passwd polycom <= will prompt for new password
edit your /etc/vsftpd/vsftpd.conf file:
uncomment: chroot_list_enable=YES
append: userlist_deny=NO
create a file /etc/vsftpd/chroot_list
place the word polycom in the file
append the word "polycom" to the end of the file /etc/vsftpd/user_list
service vsftpd restart
cd /usr/src
svn co http://svn.freeswitch.org/svn/freeswitch/trunk /usr/src/freeswitch
cd freeswitch
./bootstrap.sh
./configure
edit modules.conf. Uncomment (remove # from front) of "#endpoints/mod_skypiax" line.
make all install sounds-install moh-install
contrib/trixter/makemodconf.pl modules.conf > /usr/local/freeswitch/conf/autoload_configs/modules.conf.xml
cd /usr/src
wget http://www.skype.com/go/getskype-linux-beta-static
tar -xvjf skype_static-*.tar.bz2
cd /usr/src/skype_static*
cd /usr/src/freeswitch/build/
cp freeswitch.init.redhat /etc/init.d/freeswitch
cd /etc/init.d
vi freeswitch
chmod 755 /etc/init.d/freeswitch
chkconfig freeswitch on
vi /etc/init.d/freeswitch
Edit:
PID_FILE=${PID_FILE-/usr/local/freeswitch/log/freeswitch.pid}
FS_USER=${FS_USER-root}
FS_FILE=${FS_FILE-/usr/local/freeswitch/bin/freeswitch}
FS_HOME=${FS_HOME-/usr/local/freeswitch}
service freeswitch start