標題: Skype to Asterisk-GUI via Windows siptosis [打印本頁] 作者: 角色 時間: 2013-2-12 19:11 標題: Skype to Asterisk-GUI via Windows siptosis
本帖最後由 角色 於 2013-2-12 19:31 編輯
Skype to Asterisk via Linux siptosis在其他文章已经说了很多,但是siptosis在Windows下,怎样连接Asterisk-GUI呢就很少文章提及过。希望通过下面的文章可以教大家怎样利用Windows siptosis,把Skype连接到Asterisk-GUI server里。
At this point, dialing #155 should get you the Skype Echo Test service.
Only the Skype Echo Test service and PSTN is callable at this point.
You will customize this later on.
Asterisk Peer Example:
In sip.conf
[siptosisuser]
username=siptosisuser
type=friend
context=default
secret=siptosisregpassword
host=dynamic
nat=no
dtmfmode=auto
;canreinvite=yes (use only if you understand what it does - does not work well with ilbc and speex codecs)
canreinvite=no
;port should not be needed if you register with the PBX - some have said it's needed??
;port=siptosishostport
qualify=yes
defaultip=siptosisip
incominglimit=1
outgoinglimit=1
call-limit=1
busylevel=1
Asterisk Single channel config that can be put in extensions.conf
exten => _7X.,1,Dial(SIP/siptosisuser/${EXTEN:1})
;you would then dial 7 and the number you want to call
** Customize and authorize for regular dialing:
Assign speed dial numbers in the Skype client to each Skype contact you want to call.
or create mappings in SipToSkypeAuths.props.
You don't need to do this if using only skypeout.
If using a PBX you could map extensions to Skype users there instead.
Edit SipToSkypeAuth.props to forward and authorize SIP calls to desired Skype destinations. (Most users will only use: *,*,localnet,calleeid)
Edit SkypeOutDialingRules.props for any Skype dialing rules/transforms wanted.
Edit SkypeToSipAuth.props to forward skype calls to SIP destinations (failure to do this step will cause all incoming Skype calls to get the invalid destination message).
At this point, you should be able to make and receive skype calls. The remainder of this document contains
some optional configuration and troubleshooting instructions. More documentation is available on http://mhspot.com
CallBack config:
*** CHECK LEGALITY OF USING CALLBACK FOR YOUR COUNTRY *** USE AT YOUR OWN RISK ***
Compatability:
Windows client 4.1.0.141 works fine.
Callbacks can be initiated from SIP and Skype DIDs assuming Caller Id works with the DID or can be initiated from Skype User.
See sample files SipToSkypeAuth.props,SkypeOutDialingRules.props,SkypeToSipAuth.props for examples.
Two stage dialing requires the SkypeInBand decoder turned on:
enableSkypeDtmfDetector=yes
inbandFullTimeDtmfDetection=yes
Conference Calls:
Compatability:
Windows client 4.1.0.141 works fine.
See sample files SipToSkypeAuth.props and SkypeOutDialingRules.props for examples.
Codec Configuration:
GSM Codec:
To use Tritonus download tritonus_gsm-0.3.6.jar and tritonus_share-0.3.6.jar from tritonus.org and put in same folder.
To use Sun's JMF , download Sun's Java Media Framework and put jmf.jar in same folder.
PCMU(u-law),PCMA(a-law),iLBC Codecs
Already built in
See the siptosis.cfg file and look for audio_codec= to configure codecs and sound volume.
You can specify a different config file like this:
SipToSis_win.bat myotherconfig.cfg
For a multi channel trunk, you might want to try stsTrunkBuilder.
To see full debug information set the following in siptosis.cfg
logConfigFile=log_debug.properties
and for Skype API tracing:
skypeAPITrace=yes
On Windows:
If you get the unsatisfied link error "Can't load IA 32-bit .dll on a AMD 64-bit platform"
delete skype.dll and let the installer copy the correct one in.
At this point, dialing #155 should get you the Skype Echo Test service.
Only the Skype Echo Test service and PSTN is callable at this point.
You will customize this later on.
Asterisk Peer Example:
In sip.conf
[siptosisuser]
username=siptosisuser
type=friend
context=default
secret=siptosisregpassword
host=dynamic
nat=no
dtmfmode=auto
;canreinvite=yes (use only if you understand what it does - does not work well with ilbc and speex codecs)
canreinvite=no
;port should not be needed if you register with the PBX - some have said it's needed??
;port=siptosishostport
qualify=yes
defaultip=siptosisip
incominglimit=1
outgoinglimit=1
call-limit=1
busylevel=1
Asterisk Single channel config that can be put in extensions.conf
exten => _7X.,1,Dial(SIP/siptosisuser/${EXTEN:1})
;you would then dial 7 and the number you want to call
** Customize and authorize for regular dialing:
Assign speed dial numbers in the Skype client to each Skype contact you want to call.
or create mappings in SipToSkypeAuths.props.
You don't need to do this if using only skypeout.
If using a PBX you could map extensions to Skype users there instead.
Edit SipToSkypeAuth.props to forward and authorize SIP calls to desired Skype destinations. (Most users will only use: *,*,localnet,calleeid)
Edit SkypeOutDialingRules.props for any Skype dialing rules/transforms wanted.
Edit SkypeToSipAuth.props to forward skype calls to SIP destinations (failure to do this step will cause all incoming Skype calls to get the invalid destination message).
At this point, you should be able to make and receive skype calls. The remainder of this document contains
some optional configuration and troubleshooting instructions. More documentation is available on http://mhspot.com
CallBack config:
*** CHECK LEGALITY OF USING CALLBACK FOR YOUR COUNTRY *** USE AT YOUR OWN RISK ***
Compatability:
Windows client 4.1.0.141 works fine.
Callbacks can be initiated from SIP and Skype DIDs assuming Caller Id works with the DID or can be initiated from Skype User.
See sample files SipToSkypeAuth.props,SkypeOutDialingRules.props,SkypeToSipAuth.props for examples.
Two stage dialing requires the SkypeInBand decoder turned on:
enableSkypeDtmfDetector=yes
inbandFullTimeDtmfDetection=yes
Conference Calls:
Compatability:
Windows client 4.1.0.141 works fine.
See sample files SipToSkypeAuth.props and SkypeOutDialingRules.props for examples.
Codec Configuration:
GSM Codec:
To use Tritonus download tritonus_gsm-0.3.6.jar and tritonus_share-0.3.6.jar from tritonus.org and put in same folder.
To use Sun's JMF , download Sun's Java Media Framework and put jmf.jar in same folder.
PCMU(u-law),PCMA(a-law),iLBC Codecs
Already built in
See the siptosis.cfg file and look for audio_codec= to configure codecs and sound volume.
You can specify a different config file like this:
SipToSis_win.bat myotherconfig.cfg
For a multi channel trunk, you might want to try stsTrunkBuilder.
To see full debug information set the following in siptosis.cfg
logConfigFile=log_debug.properties
and for Skype API tracing:
skypeAPITrace=yes
On Windows:
If you get the unsatisfied link error "Can't load IA 32-bit .dll on a AMD 64-bit platform"
delete skype.dll and let the installer copy the correct one in.
請問角色兄:
是不是“Skype to Asterisk-GUI via Windows siptosis” 是需要一臺電腦跑windows, 然后在上面跑siptosis ?
因為我們的Elastix是在linux上的,那是不是如果用 “Skype to Asterisk-GUI via Linux siptosis”, 就可以在架設Elastix的同一臺機器上跑siptosis? 從而完成Skype的接入?