#!/bin/bash cd /root wget http://downloads.cepstral.com/cepstral/i386-linux/Cepstral_Allison-8kHz_i386-linux_5.1.0.tar.gz tar -zxvf Cepstral* cd Cepstral_Allison-8kHz_i386-linux_5.1.0 ./install.sh echo /opt/swift/lib > /etc/ld.so.conf.d/cepstral.conf ldconfig cd /usr/src wget http://nerdvittles.dreamhosters.com/pbxinaflash/source/app_swift/app_swift-2.1-b1-ast10.tar tar -xvf app_swift-2.1* rm *.tar cd app_swift-2.1-b1-ast10 make make install cp swift.conf.sample /etc/asterisk/swift.conf chown asterisk:asterisk /etc/asterisk/swift.conf ln -s /opt/swift/bin/swift /usr/bin/swift sed -i 's|David-8kHz|Allison-8kHz|' /etc/asterisk/swift.conf amportal restart asterisk -rx "core show application swift" echo "Installation completed. " echo "To purchase a license, go here: https://www.cepstral.com/cgi-bin/store/home" echo "Choose US English, Allison-8kHz, Linux." echo "To save 15% on your purchase, call Cepstral and ask for the Nerd Vittles discount code." echo "To register your installed copy of Cepstral, type: swift --reg-voice"