ChanSkype was the best I found. Some people put some really good
resources together including Tim Hunt... I've used that as the core then
made my own notes on top of that for the install..not the shortest route
to installation but it works.
#get gcc, qt-devel, kernel-devel, asterisk-devel if not installed
check if security patches applied, if kernel-devel and asterisk-devel
done via source...don't yum install those.
yum install gcc qt-devel kernel-devel.i686 asterisk-devel
# download and install the timhunt chanskype installation...run the
installer file
wget http://www.timhunt.net/stuff/chanskype/chanskype-trixbox.tgz
# run makeaccount.sh 1 (or however many accounts you want to make)
./makeaccount.sh 1
remove twm and install ratpoison
yum remove twm
wget
http://savannah.nongnu.org/download/ratpoison/ratpoison-1.4.1.tar.gz
tar -zxf rat<tab>
cd ratp<tab>
./configure
make
make install
# create autostart for vncserver using "ntsysv"
ntsysv
find vncserver and mark it for autostart.
#reboot
reboot
# download latest release of chanskype
# located at ftp://ftp.chanskype.com/download/packages/
# find the redhat enterprise version (usually FC3), ie ends with
FC3-RHEL4.bin
# ie... chanskype-1.2.9-FC3-RHEL4.bin
wget ftp://ftp.chanskype.com/download/packages/chanskype*FC3-RHEL4.bin
chmod +x chanskype*
./chanskype-x.x.x.-FC3-RHEL4.bin
# where x.x.x is the release you downloaded.
#if it fails and running trixbox repeat with 1DOT2 after the command
./chanskype-x.x.x.-FC3-RHEL4.bin 1DOT2
# access vnc for your server for each port and log into skype with your
account info.
# ie my server is 192.168.101.150:1 (first port assigned for skype1
account)
# move license if exists to proper location
mkdir /var/lib/instant
mkdir /var/lib/instant/licenses
cp ~/CS* /var/lib/instant/licenses
#reboot
reboot
edit /etc/asterisk/skype.conf for number of channels in use (same as the
number from makeaccount).
nano /etc/asterisk/skype.conf
open freepbx...create custom trunk...add dial plan as desired...preface
any dial with 00+ ie..
001+nxxnxxxxxx
00+1nxxnxxxxxx
then under outgoing settings, custom dial string... add:
Local/[EMAIL PROTECTED]
using config editor...add following 3 lines to extensions_custom
[skype]
exten => _X.,1,Dial(Skype/any/${EXTEN})
exten => _X.,2,Hangup
save settings.
#reboot
reboot
using vnc ...for each account created, assign user account in skype.
Save settings...
cd to your account created for skype...ie skype1...
cd .skype
cd to your login account on skype
edit config.xml and find line "<Authorizations></Authorizations>..change
to <Authorizations>chan_skype</Authorizations>
#reboot for last time or restart the vncserver service...
#you are ready to go. Log into your box, and connect to the asterisk
session and check your channels...should show as 1 (or however many you
purchased) licensed channels.
/usr/sbin/asterisk -rvx "skype status"
________________________________
From: Claudius Fortis [mailto:[EMAIL PROTECTED]
Sent: Tuesday, May 29, 2007 2:07 AM
To: [email protected]
Subject: [on-asterisk] Atserisk to Skype and vice versa
Hello everyone,
Was wondering if anyone has ever worked on this scenario? Connecting
Asterisk/Trixbox to Skype... Is it possible to be accomplished without
having to jump thru hoops? I don't seem to find any good materials out
there...
Anyone has pointers?
Thanks and have a great one!
Claudius
________________________________
Get news, entertainment and everything you care about at Live.com. Check
it out! <http://www.live.com/getstarted.aspx>