Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[solved] sippyskype and skype4java
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Unsupported Software
View previous topic :: View next topic  
Author Message
manouchk
Apprentice
Apprentice


Joined: 08 May 2006
Posts: 288
Location: Vitória (ES), Brasil

PostPosted: Wed Jul 09, 2008 12:57 am    Post subject: [solved] sippyskype and skype4java Reply with quote

Hi,

I'm trying to get to work sippyskype and for that, I first need to install skype4java. Anyone already succeeded in installing them on gentoo. I'm having difficulties with the installation.
Here is my last post on the sippyskip post:
http://blog.mhspot.com/2008/06/28/sippyskype-20080628-sip-to-skype-bridge-update.aspx#comment-1180105

sippyskype can be downloaded here:
http://www.mhspot.com/mhspot/sippyskype.htm

It include skype4java but it does not work here on my gentoo box.

skype4java is located maybe here:
http://cvs.sourceforge.jp/cgi-bin/viewcvs.cgi/skype/
?
I keep on trying.

My goal is to connect skype to my asterisk box to be able to make call from my linksys voip adapter which I already uses through asterisk to make phone calls...


Last edited by manouchk on Wed Jul 09, 2008 2:22 am; edited 1 time in total
Back to top
View user's profile Send private message
manouchk
Apprentice
Apprentice


Joined: 08 May 2006
Posts: 288
Location: Vitória (ES), Brasil

PostPosted: Wed Jul 09, 2008 1:25 am    Post subject: Reply with quote

Do I have to install eclipse-sdk to compile skype4java??

The eclipse-sdk I depends on an old java 1.4.x, is it normal?? I think it have to be java sdk 1.5 or newer for that package.
Back to top
View user's profile Send private message
manouchk
Apprentice
Apprentice


Joined: 08 May 2006
Posts: 288
Location: Vitória (ES), Brasil

PostPosted: Wed Jul 09, 2008 2:21 am    Post subject: Reply with quote

Well, the developper gave me the right command line and it worked right then! :D

I had to run the following script from inside the sippyskype installation/directory

more ./init_sippyskype
java -Xms64m -Xmx64m -classpath sip.jar:ua.jar:skype.jar:log4j-1.2.15.jar:sippyskype.jar:. "local.ua.SkypeUA"

In resume one need to do something like that
Code:

wget http://www.mhspot.com/mhspot/download/downloader.php?file=SippySkype2_20080628.zip
 mkdir sippyskype
 cd sippyskype
cp sippyskype_sample.cfg sippyskype.cfg
cp SipToSkypeAuth_sample.props SipToSkypeAuth.props
cp SkypeToSipAuth_sample.props SkypeToSipAuth.props
vim sippyskype.cfg
vim SipToSkypeAuth.props
vim SkypeToSipAuth.props
 echo "java -Xms64m -Xmx64m -classpath sip.jar:ua.jar:skype.jar:log4j-1.2.15.jar:sippyskype.jar:. \"local.ua.SkypeUA\"">init_sippyskype
 chmod u+x init_sippyskype
 skype&
 ./init_sippyskype


and you're in!
To get the asterisk to work just add few things :

in sip.conf
Code:
[sippyskypeuser]
username=sippyskypeuser
type=friend
context=default
secret=sippyskyperegpassword
host=dynamic
nat=no
dtmfmode=auto
canreinvite=no
port=5070
qualify=yes
defaultip=192.168.0.4


In extensions.conf
Code:
exten => _7X.,1,Set(CALLERID(num)=5551234)
exten => _7X.,n,Dial(SIP/sippyskypeuser/${EXTEN:1})
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Unsupported Software All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum