HOWTO for installing ChanSkype on Trixbox

kevank
Posts: 9
Member Since:
2007-01-26

I put together a HOWTO for installing ChanSkype for using Skype, SkypeIn and SkypeOut on Trixbox.

[url=http://www.geek-pages.com/articles/asterisk/setting_up_asterisk_to_use_skype.html]Click here for the HOWTO for installing ChanSkype to enable your Trixbox to use Skype, SkypeIn and SkypeOut.[/url]

Please take a look and let me know what you think.

Thanks

Kevan Kay
[url=http://www.geek-pages.com]www.geek-pages.com[/url]



kevank
Posts: 9
Member Since:
2007-01-26
Re: HOWTO for installing ChanSkype on Trixbox

Someone emailed me about a mistake in the howto. If anyone tried it and it did not work I updated the first wget to:

wget http://www.geek-pages.com/articlepages/downloads/trix-skype.tar.g...

This corrected the problem.

Sorry,

Kevan



robinson
Posts: 16
Member Since:
2006-06-11
Re: HOWTO for installing ChanSkype on Trixbox

I installed ChanSkype on my Trixbox 2.0. Within the VNC I can call with Skype and see if a call comes in but no reaction on my extensions. I think I got no connection between the Skype client and SIP client. How to find out where’s the mistake?



n8zuz
Posts: 19
Member Since:
2006-10-12
Re: HOWTO for installing ChanSkype on Trixbox

Hi Kevan,
Thanks for all the info on your website. I got the first part working and can call my extension 421 and I get the British accented gal for the echo test but I never hear myself back as after about 20 seconds it just hangs up. I have my ports opened up in my router as you suggested.

any thoughts?

Thanks,
Jeff

Update: this takes longer than 15 seconds so it hangs up before it can echo back my message. it's a non-issue once paid for.

Kevan, you the man! I got it working using your instructions on your website. Good job! Is there anyway to get the guys at Chanskype to follow your lead and roll the package like you did?



voipman
Posts: 127
Member Since:
2006-06-19
How do we go about doing

How do we go about doing concurrent calls out?



dougsmith
Posts: 57
Member Since:
2006-06-02
Time to update this

The scripts will no longer work now that ChanSkpye has been updated to 1.2.10 and Trixbox has been updated to 2.2.

It would be great to update these.



Trixbox-The-Way...
Posts: 12
Member Since:
2007-03-25
ChanSkype on Trixbox 2.2

Hi,

Yes I would also like to know how to do this.

Any help would be very welcomed.

Regards

Nick



Trixbox-The-Way...
Posts: 12
Member Since:
2007-03-25
Install ChanSkype 1.2.10 on TrixBox 2.2

Hi,

I hope that this helps anyone trying to install ChanSkype?

This is a work-around to Kevan excellent script.

Use at your own risk!!

If you have success (or not) would you please let me know.

Kind regards

Nick

1/ On Trixbox go to the Packages page and install the following: -

asterisk-devel.i386
kernel-devel.i686

2/ Reboot

3/ Download the Geeks Script into /usr/src/ at: -

cd /usr/src/
wget http://www.geek-pages.com/articlepages/downloads/trix-skype.tar.g...
tar zxvf trix-skype.tar.gz
cd trix-skype

4/ now type: nano installcs.sh

5/ Make changes to the file so that it looks like the code below: -

wget http://www2.chanskype.com/chanskype/download/packages/chanskype-1...
chmod 755 chanskype-1.2.10-FC3-RHEL4.bin
./chanskype-1.2.10-FC3-RHEL4.bin

6/ now type: nano install.sh

7/ Comment out the line that says: yum -i update asterisk

8/ back at the command prompt type: ./install.sh

9/ Now follow the rest of the tutorial at:

http://www.geek-pages.com/articles/asterisk/setting_up_asterisk_t...



dougsmith
Posts: 57
Member Since:
2006-06-02
Not working

I have followed this to the letter (I think) but my install-chanskype.log shows the following:

if [ -d objs ]; then cp objs/*.o . ;fi
make -C /lib/modules/2.6.9-34.0.2.ELsmp/build M=/tmp/scraparea-3681/ivcs LDDINC=/tmp/scraparea-3681/ivcs/../include modules
make: *** /lib/modules/2.6.9-34.0.2.ELsmp/build: No such file or directory. Stop.
make: *** [modules] Error 2



Trixbox-The-Way...
Posts: 12
Member Since:
2007-03-25
Re: Not Working

Hi,

Did you update, via the Package manager, kernel-devel.i686?

May be you are on i586?

I had this error when I did not update kernel-devel.i686.

Let me know

Regards

Nick



dougsmith
Posts: 57
Member Since:
2006-06-02
Still not working

I am on an i586 and had substitued kernel-devel.i586 for *.686 already (so i was not completly accurate when I mentioned i had followed instructions to the letter).

Still not working.



Clint.Davis
Posts: 170
Member Since:
2006-07-02
My Major problem with

My Major problem with chanskype is the voice quality.

Person A - (On SIP Phone)

Person B - (On Skype Phone)

The incoming voice is fine for person A. (100% fine, no issues what so ever)
The incoming voice for person B is honorable. (The actual voice can be heard. so its not garbled.. Its that it does not sound human, (Distant and very computerized) (Like no high or low frequency)
- If need be i can make a recording of it.

Skype to Skype call is 100% Fine.
SIP to SIP Call 100% Fine.

Is this normal for chanskype, or is everyone else getting no voice problems through it?

What SIP Codecs does chanskype work well with?
And whats the best way to use it.

I have installed it as per the walk through
http://www.geek-pages.com/articles/asterisk/setting_up_asterisk_t...



mocavo67
Posts: 7
Member Since:
2007-04-05
help with Chanskype and Trixbox 2.2

Hi all,

Followed the instructions at "geek-pages.com" and all went well except at the very end where I tried to do the echo test with ext. 421. From my softphone dialing ext 421 I simply got the voice message that "the person I was calling was unavailable"

I decided to restart Trixbox and then check back with the Skype client through vncviewer. However, the Skype client wasn't open in the window like it was when I first went through the initial installation. Is it somehow open in the background or do I manually need to restart skype? If so how do I do that?

Even though I registered my version of Chanskype properly I am thinking that the software somehow wasn't even starting up to begin with. I ran the command "asterisk =r" and then "skype status" and the whole line is showing zero values under each column with registered channels also showing zero.

The instructions were so easy to follow what am I still forgetting to do? The Chanskype readme.txt is much more involved and complicated since I also read through it to learn more but I am assuming that those instructions are not needed since "geek-pages" didn't refer to them at all.

I am fairly new to Trixbox/Linux using version 2.2 and the latest Chanskype version from the website. I also made sure to download the extra packages asterisk-devel.i386 and kernel-devel.i686 that was mentioned in this forum.

Appreciate any help out there as it really seems like a neat feature to use.

thanks,

Michael C.



Clint.Davis
Posts: 170
Member Since:
2006-07-02
If you try to run skype

If you try to run skype manually do you get an error?

If you do, delete the skype files in ~/.Skype

and then reset up your account.

i have found if you stop vncserver with out stopping asterisk first your skype gets screwed.



mocavo67
Posts: 7
Member Since:
2007-04-05
Skype

I haven't done that yet but I will give it a try. When the Skype client was installing I didn't notice the path where it installed. Is it located in the usr/src/trix-skype directory?



n8zuz
Posts: 19
Member Since:
2006-10-12
error

I followed this but when I go to ./installcs.sh I get the following:

[root@asterisk1 trix-skype]# ./installcs.sh
--22:28:08-- http://www2.chanskype.com/chanskype/download/packages/chanskype-1...
=> `chanskype-1.2.11-FC3-RHEL4.bin.3'
Resolving www2.chanskype.com... 200.186.125.147
Connecting to www2.chanskype.com|200.186.125.147|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 386,588 (378K) [application/octet-stream]

100%[====================================>] 386,588 150.33K/s

22:28:11 (150.03 KB/s) - `chanskype-1.2.11-FC3-RHEL4.bin.3' saved [386588/386588]

Verifying package integrity... OK!

It appears ChanSkype had trouble detecting what Asterisk version is installed.
Try using 1DOT2 or 1DOT4 at the end of the command line, depending on what
version of Asterisk is installed on this machine. If the problem persists,
take a look at the file /tmp/install-chanskype.log before contacting support.

Error installing ChanSkype

[root@asterisk1 trix-skype]#
----------------------------
When I go to the log file it shows:
if [ -d objs ]; then cp objs/*.o . ;fi
make -C /lib/modules/2.6.9-34.0.2.EL/build M=/tmp/scraparea-4097/ivcs LDDINC=/t$
make[1]: Entering directory `/usr/src/kernels/2.6.9-34.0.2.EL-i686'
CC [M] /tmp/scraparea-4097/ivcs/main.o
CC [M] /tmp/scraparea-4097/ivcs/pipe.o
LD [M] /tmp/scraparea-4097/ivcs/ivcs.o
Building modules, stage 2.
MODPOST
CC /tmp/scraparea-4097/ivcs/ivcs.mod.o
LD [M] /tmp/scraparea-4097/ivcs/ivcs.ko
make[1]: Leaving directory `/usr/src/kernels/2.6.9-34.0.2.EL-i686'
chan_skype.c:311: error: unknown field `send_digit_begin' specified in initiali$
chan_skype.c:311: warning: initialization from incompatible pointer type
chan_skype.c:321: warning: initialization from incompatible pointer type
chan_skype.c: In function `skype_new':
chan_skype.c:1069: error: too many arguments to function `ast_channel_alloc'
chan_skype.c:1073: error: too many arguments to function `ast_channel_alloc'
chan_skype.c:1077: error: too many arguments to function `ast_channel_alloc'
chan_skype.c:1082: warning: implicit declaration of function `ast_strdup'
make[1]: Leaving directory `/usr/src/kernels/2.6.9-34.0.2.EL-i686'
chan_skype.c:311: error: unknown field `send_digit_begin' specified in initiali$
chan_skype.c:311: warning: initialization from incompatible pointer type
chan_skype.c:321: warning: initialization from incompatible pointer type
chan_skype.c: In function `skype_new':
chan_skype.c:1069: error: too many arguments to function `ast_channel_alloc'
chan_skype.c:1073: error: too many arguments to function `ast_channel_alloc'
chan_skype.c:1077: error: too many arguments to function `ast_channel_alloc'
chan_skype.c:1082: warning: implicit declaration of function `ast_strdup'
chan_skype.c:1082: warning: assignment makes pointer from integer without a cast
chan_skype.c:1083: warning: assignment makes pointer from integer without a cast
chan_skype.c:1086: warning: assignment makes pointer from integer without a cast
chan_skype.c:1120: warning: implicit declaration of function `ast_string_field_$
chan_skype.c:1120: error: `language' undeclared (first use in this function)
chan_skype.c:1120: error: (Each undeclared identifier is reported only once
chan_skype.c:1120: error: for each function it appears in.)
chan_skype.c: At top level:
chan_skype.c:2117: error: syntax error before string constant
chan_skype.c:2117: warning: type defaults to `int' in declaration of `AST_MODUL$
chan_skype.c:2117: warning: data definition has no type or storage class
----------------------------

Any ideas?

Thanks,
Jeff



Clint.Davis
Posts: 170
Member Since:
2006-07-02
Sure you have the kernel

Sure you have the kernel sources & asterisk sources installed?



trevisa
Posts: 51
Member Since:
2007-06-19
Kernel?? Where is it?

Where do I find the Kernel?
I´ve installed TRIXBOX, and there is no source files on it, and I can not find it anywhere.
Where do I download it? How do I install it?

On the Chanskype Reamd, there is a text mentioning this probable error:

"Another thing that may happen is when you installed Asterisk from a RPM or
DEB package (Trixbox, for example, comes with a RPM version of Asterisk) and
it didn't come with the development files. In this case you have to locate the
asterisk-devel or asterisk-dev package, install it and retry installing
ChanSkype."

I can not find the asterisk dev package on my system.

tks,



sthielen
Posts: 9
Member Since:
2006-12-16
How to install qt4-x11 and libsigc-2.0.so.0

I am trying to install chanskype, but with the new skype 1.4 I need the qt4-x11 and libsigc-2.0.so.0, Can any one please let me know how to install this two. I am a new in Linux.
I am using Asterix 1.4.6, Centos 5

Thank's



Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.