Here's my instructions...based off Tim Hunt's great script...needs cleanup but the gist is hear to get someone going...you may think I'm reboot happy as there's more than a couple here but past experience found that reloads didn't do it...reboot seem to get things going...probably something simple...haven't taken time to resolve.
#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 per notes from ChanSkype 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 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... # now the catch that makes Chanskype annoying... Resolve the prompt that makes skype prompt you to allow chanskype access otherwise you fail to get a channel assigned. #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... reboot #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" _______________________________________________ --Bandwidth and Colocation provided by Easynews.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
