View previous topic :: View next topic |
Author |
Message |
manouchk Apprentice
Joined: 08 May 2006 Posts: 288 Location: Vitória (ES), Brasil
|
|
Back to top |
|
|
manouchk Apprentice
Joined: 08 May 2006 Posts: 288 Location: Vitória (ES), Brasil
|
Posted: Wed Jul 09, 2008 1:25 am Post subject: |
|
|
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 |
|
|
manouchk Apprentice
Joined: 08 May 2006 Posts: 288 Location: Vitória (ES), Brasil
|
Posted: Wed Jul 09, 2008 2:21 am Post subject: |
|
|
Well, the developper gave me the right command line and it worked right then!
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 |
|
|
|
|
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
|
|