[asterisk-users] integrating SipTheeSkype in asterisk
Emmanuel Favre-Nicolin
manouchk at gmail.com
Thu Aug 14 22:03:19 CDT 2008
Hi,
I couldn't figure how to make work SipTheeSkype with asterisk (both asterisk
and siptheeskype are on the same computer). Anyone successfully did that?
So far, I can only do asterisk to skype calls. I modified few things in
configurations of SipTheeSkype:
in siptheeskype.cfg:
...
host_port=5070
...
contact_url=sip:siptheeskypeuser at 192.168.1.76:5070
from_url="siptheeskypeuser" <sip:siptheeskypeuser at 192.168.1.76:5060>
username=siptheeskypeuser
passwd=password
realm=192.168.176
expires=120
minregrenewtime=60
regfailretrytime=15
-------------------------------
in SkypeToSipAuth.props:
*,sip:siptheeskypeuser at 192.168.1.76:5060
-----------------------------------
in SipToSkypeAuth.props:
#to try skype echo, using callerID=0
0,192.168.1.76,192.168.1.76,echo123
For asterisk I have:
in sip.conf:
[general]
bindport=5060
...
[siptheeskypeuser]
username=siptheeskypeuser
type=friend
context=skype-incoming
secret=pass
host=dynamic
nat=no
dtmfmode=auto
canreinvite=no
port=5070
qualify=yes
defaultip=192.168.1.76
-------------------------------
in extensions.conf:
...
#calling extensions 11 to get skype echo test
exten => 11,1,Set(CALLERID(num)=0)
exten => 11,n,Dial(${sippy}/0)
exten => 11,n,Hangup()
...
--------------------------------
[skype-incoming]
;exten => s,1,Answer
;exten => s,1,Dial(${callcentric}/00552799417985) ;Portable Manu
exten => _X.,1,Answer
exten => _X.,n,Wait(1)
exten => _X.,n,Dial(SIP/1000)
exten => _X.,n,Hangup()
exten => 1561,1,Dial(SIP/1000)
exten => 1561,n,Hangup()
exten => s,1,Dial(SIP/1000)
exten => s,n,Hangup()
When I launch SipTheeSkype I get:
Launching SipTheeSkype
2008-08-14 22:32:36,464 ua.SkypeUA [main] - Starting SipTheeSkype V3
2008-08-14 22:32:36,465 ua.SkypeUA [main] - os=Linux arch=i386
ver=2.6.23-gentoo-r9 LocalIP=127.0
.0.1
2008-08-14 22:32:36,466 ua.SkypeUA [main] - javaVer=1.6.0_07 - Sun
Microsystems Inc.
2008-08-14 22:32:36,466 ua.SkypeUA [main] - initSkype
2008-08-14 22:32:36,555 ua.SkypeUA [main] - SkypeVer:2.0.0.68
2008-08-14 22:32:36,558 ua.SkypeUA [main] - SkypeUserId:manouchk
2008-08-14 22:32:36,565 ua.SkypeUA [main] - Config -
skypeClientSupportsMultiCalls:false concurr
entCallLimit:2
2008-08-14 22:32:36,565 ua.SkypeUA [main] - SIP Port: 5070 RTP Port Range:
63200-63202 Local Sk
ype Port Range: 64432-64435
2008-08-14 22:32:36,702 SkypeUserAgent.#C0 [local.ua.SSCallChannel.#C0] -
WAITING FOR INCOMING CA LL
2008-08-14 22:32:36,705 SkypeUserAgent.#C1 [local.ua.SSCallChannel.#C1] -
WAITING FOR INCOMING CA LL
2008-08-14 22:32:36,707 ua.SkypeUA [main] - REGISTRATION
2008-08-14 22:32:36,770 ua.RegisterAgent [org.zoolu.net.UdpProvider.T0] -
Registration failure: 4 01 Unauthorized
2008-08-14 22:32:36,770 ua.SkypeUA [org.zoolu.net.UdpProvider.T0] -
Registration failure: 401 Una uthorized
2008-08-14 22:32:36,771 ua.RegisterAgent [local.ua.RegisterAgent] - Failed
Registration retrying in 15 seconds.
More information about the asterisk-users
mailing list