HOWTO: Trixbox to Skype using Uplink
With free calling over Skype, I decided to try to interface Skype with Trixbox. Here is the howto:
1) Download Uplink:
http://www.nch.com.au/skypetosip/
2) Have Skype running and logged in.
3) Install Uplink and setup the following:
a. Under General tab: Make sure that "Use the dialed number" is selected.
b. "When Skype calls SIP dial the following number" Use: skype@192.168.1.100 (use the IP or hostname of your trixbox)
c. - Under the SIP tab
"Full friendly display name": uplink
"SIP account number or user": uplink
"Server": IP or hostname of Asterisk Server
"Password": uplink
4) In Tixbox, setup a SIP trunk:
Trunk Name: uplink
PEER Details:
host=dynamic
secret=uplink
type=peer
username=uplink
You can play with the dial rules to make US calling more "Standard" and support local dialing without area codes.
5) Setup an inbound route... For the DID number use: skype
(See 3 b)
6) Setup an Outbound route using the Uplink trunk
7) In extensions_custom.conf, add this to the [from-internal-custom] context:
exten => _skype_.,1,Dial(SIP/${EXTEN:6}@uplink)
8) Reload your config files through Trixbox or restart Asterisk.
9) Restart Uplink and make sure Skype is already running and logged in. You will get a prompt that Uplink wants to connect to Skype, accept that.
Now if you want to call US numbers use 001NXXXXXXXXX
If you want to call International use: 011XXNXXXXXXXXX
If you want to call a skype username from a SIP URI dialing phone link Xten, dial sip:skype_username (see 6... the skype_ is required first and then the Skype username after that. So if your username is trixbox, then you would dial: sip:skype_trixbox).
Thanks to this post for the basics:
http://nch.invisionzone.com/index.php?showtopic=2568
This "should" support multiple calls, but I cannot get it to. I have only played with it for a few minutes so if someone else know more about this, please add the info.
Also, change the username and password for security once you have it working.
Looking for a little help, I am kind of new to Asterisk, and I am running into an issue in setting htis up.
I followed the directions exactly as they are laid out here and my Uplink software is returning an error saying the following:
Server 192.168.1.xxx did not respond to register (sip:uplink@192.168.1.xxx)
Check server details for that line
This sounds like an issue in my Asterisk config that is not letting Uplink connect to it to register, any thoughts on where to look first?
Thanks all!
Is the computer running Uplink and Trixbox on the same subnet? Are you allowing incoming SIP connections to Trixbox?
Yes, they are on the same subnet and how do I check for whether or not I am allowing inboud SIP connections to Trixbox? If I look in freePBX and look under General Settings I have Allow Anonymous Inbound SIP Calls? set to yes. Is there another setting I need to check?
Thanks in advance for the help.
Ok, I follwed this to the letter. I seem to get it too work ONCE. Then Skype freezes and locks up my PC. Anyone have a work around for this?
I have a current setup that works but wanted to get the Mini-Call usb adapter out of the loop if I could.
Locking-up is common with Uplink. Sometimes I can make calls all day using it, but most of the time, it will lockup after just a few. There is another software program that does the same thing as Uplink, but it costs 39.00 so I have not tried it.
What Mini-call USB adapter are you using? SkypeKey? How well does it work w/ Asterisk?
Hi bdla,
I have following your steps:
I was able to have skype call my cell. I was not able to hear each other. it seem uplink doesn't do the routing.
What do I need to setup on the skype software 2.5 for uplink to do routing?
I was able to hear both party on the computer than run uplink&skype.
Thank
Roger
Hi,
I tried your HOWTO, but I cant configure correcly the sip trunk.
SkypetoSIP, is correctly registred on my Asterisk, but on the console, I have an error : Got SIP response 481 "Call/Transaction Does Not Exist"
When I start SkypetoSIP, It said that link to Skype.
Can you help me?
Thanks
Jean-seb
I had the same problem with Uplink, it would randonely, but very consistently, reboot my computer, everytime. With Uplink running, I could never receive any calls on Skype. My setup was fine, an incoming SkyPe call would ring one of my Trixbox extensions, but then a second later, the windows PC would Reboot. I went as far as formatting my hard drive and re-installing windows, but no luck.
I then forked out 39 dollars and got myself a copy of psgw from here. I would've really liked to try the software for a period before paying 40 dollars for it, but there is no trial for the windows version. Their website is even worse when it comes to installation instructions/details of the software.
Anyway, I installed the software, set it up based on the very limited information on their site, and boom... same thing again, instant reboot and then as soon as windows would start, reboot again, unless I manually killed the PsGW and X-Lite tasks.
However, their support is really good. I emailed the suppot address on Saturday 5 pm GMT, and got a reponse in under an hour, telling me download a small software and instructions on setting it up.
Did that, and the reboots were gone. System stabilised.
Now, I couldn't get Skype calls to my Trixbox extensions to work. They'd ring the phone, but on pickup, total dead silenece. Another email to suppport, again on Saturday, almost instant repsonse, and they helped me fix that as well.
Overall, much happier with PsGW then Uplink.
Can you place and receive multiple calls with their software?
rizsher wrote:
I had the same problem with Uplink, it would randonely, but very consistently, reboot my computer, everytime. With Uplink running, I could never receive any calls on Skype. My setup was fine, an incoming SkyPe call would ring one of my Trixbox extensions, but then a second later, the windows PC would Reboot. I went as far as formatting my hard drive and re-installing windows, but no luck.
I then forked out 39 dollars and got myself a copy of psgw from here. I would've really liked to try the software for a period before paying 40 dollars for it, but there is no trial for the windows version. Their website is even worse when it comes to installation instructions/details of the software.
Anyway, I installed the software, set it up based on the very limited information on their site, and boom... same thing again, instant reboot and then as soon as windows would start, reboot again, unless I manually killed the PsGW and X-Lite tasks.
However, their support is really good. I emailed the suppot address on Saturday 5 pm GMT, and got a reponse in under an hour, telling me download a small software and instructions on setting it up.
Did that, and the reboots were gone. System stabilised.
Now, I couldn't get Skype calls to my Trixbox extensions to work. They'd ring the phone, but on pickup, total dead silenece. Another email to suppport, again on Saturday, almost instant repsonse, and they helped me fix that as well.
Overall, much happier with PsGW then Uplink.
Can you elaborate on what needed to be done to fix the rebooting issue? One would want to know before buying the software. Also, the issues they resolved for you may help other figure out how to solve uplink problems.
I ave just had the same issue and solved it by adding to the following:
PEER Details:
host=dynamic
secret=uplink
type=peer
username=uplink
Add to the above
nat=yes
I assume now that all the kinks in the How-To were worked out. Can some post a revised step by step guide to get uplink to work. I am getting errors and I would appreciate it. Thanks.
-Jeremy
I know that multiple instances of skype and uplink can be run from multiple Windows accounts. But I do not know how to make use of them to place simultaneous calls.
According to :
1) Download Uplink:
http://www.nch.com.au/skypetosip/
2) Have Skype running and logged in.
3) Install Uplink and setup the following:
a. Under General tab: Make sure that "Use the dialed number" is selected.
b. "When Skype calls SIP dial the following number" Use: skype@192.168.1.100 (use the IP or hostname of your trixbox)
c. - Under the SIP tab
"Full friendly display name": uplink
"SIP account number or user": uplink
"Server": IP or hostname of Asterisk Server
"Password": uplink
4) In Tixbox, setup a SIP trunk:
Trunk Name: uplink
PEER Details:
host=dynamic
secret=uplink
type=peer
username=uplink
You can play with the dial rules to make US calling more "Standard" and support local dialing without area codes.
5) Setup an inbound route... For the DID number use: skype
(See 3 b)
6) Setup an Outbound route using the Uplink trunk
7) In extensions_custom.conf, add this to the [from-internal-custom] context:
exten => _skype_.,1,Dial(SIP/${EXTEN:6}@uplink)
8) Reload your config files through Trixbox or restart Asterisk.
9) Restart Uplink and make sure Skype is already running and logged in. You will get a prompt that Uplink wants to connect to Skype, accept that.
Now if you want to call US numbers use 001NXXXXXXXXX
If you want to call International use: 011XXNXXXXXXXXX
If you want to call a skype username from a SIP URI dialing phone link Xten, dial sip:skype_username (see 6... the skype_ is required first and then the Skype username after that. So if your username is trixbox, then you would dial: sip:skype_trixbox).
it is easy to get skype work with Trixbox. However, with the simultaneous call I added a 2 to the end of every username and password and used two Windows logins but now even the first call doesn't go through.
I also added: exten => _skype2_.,1,Dial(SIP/${EXTEN:6}@uplink2)
in addition to : exten => _skype_.,1,Dial(SIP/${EXTEN:6}@uplink)
Plz, Can someone help clarify what I am doing wrong?
Thanks
Hello bdla
I set this up as the article describes. I believe maybe the version of uplink may be slightly different or something because I do not see "Full friendly display name". I have an "Account" tab" not a "SIP tab" and assume this is where to put:
c. - Under the SIP tab
"Full friendly display name": uplink
"SIP account number or user": uplink
"Server": IP or hostname of Asterisk Server
"Password": uplink
Anyway, I get no errors on the black screen for uplink. Now when I use a second pc running with a different skype user and call the machine running uplink/skype it says "The person at the following extension is unavailable. I am running TB 2.2, Skype 3.0.0.205 and uplink v1.30. Any ideas?
Right now I am just trying to get inbound calling working and to forward calls to skype so my VOIP phones ring on TB. I have tried to select to ring individual extensions and groups but no luck. My Trixbox works fine with everything else and other provider trunks and FXO/FXS boards so I am sure the TB system itself is in good shape. I'm sure this is a configuration issue. Any ideas?
Thanks for posting this info!
Art
SiSkyPE is a Windows-based software-only application for personal SIP device users. It forwards Skype calls to their existing IP phone. SiSky PE is easy-to-use.
Business Skype Solution for Asterisk/IPPBX.
SiSkyEE can be easily added to your corporate network and seamlessly interfaces with a current phone system. Maximum 16 channels could effectively meet different requirements.
http://www.yeastar.com/ProductsforAsterisk.asp
http://www.yeastar.com
Could somebody help me what dial pattern should i choose?? And what softphone should i use, is it matter?
Thanks!
Hi there!
Id like to share my experiences with you. First of all, this setup works perfectly - in uplink direction, i didnt test the skype->sip direction, because i dont need it.
I followed the guide to setup my trixbox and uplink to work together, but there was always something failure.
I did EVERYTHING just like its written above, so the Uplink could log in to my asterisk. But that was all. I tried to make a call, with the "skype_xyz" style address, the softphone was making the ringing sound, the uplink console showed "incoming sip call" but the skype was deaf. So i upgraded my skype from 3.5 to 3.6, and thanks god, finally the call reached the skype side. Of course when i answered, there was no sound at all:)))
It couldnt be codec failure, because the "allow=all" in sip.conf, so i checked the skype preferences, and in 1 minute i just found the problem: the uplink modifies your skype audio devices field from "windows default device" to "uplink". And that was the problem, i set it back to win default device, and it works perfectly.
Hope this will help you a bit!
Cheers,
Lali
I installed Uplink (on a WinXP box) with Trixbox (latest version on Linux box) and it works... sort of.
Outgoing calls (at least one line) works OK.
Incoming calls - now here's where problems begin:
If Inbound goes to IVR, Uplink does not seem to pass DTMF properly, so no choices can be selected.
If Inbound goes to an extension, it answers and if it goes to voice mail, it is choppy.
Audio in all cases is problematic and choppy.
Ahhh... so close - yet so far :-(
-
Clesson
San Diego, CA USA
-
Any ideas how to make it into a monitored trunk to make it easier to see if its ok or not ?
Name/username Host Dyn Nat ACL Port Status
Voipcheap/user 194.221.62.198 N 5060 OK (27 ms)
uplink/uplink (Unspecified) D N 0 Unmonitored
In trunk setup, add:
qualify=yes
Thanks that did the trick, I knew it was simple but just couldn't see it.
Have uplink working for both incoming and outgoing number calls. However we want to be able to have ext use the "followme" function to route call to skype as well as a cell phone. As we are newbie's we may have missed a setup step.
Thx
I'm not sure what you mean exactly, but i thnik that you can use Skype Speed dial numbers.
For example skype user echo123 will be dialed with 99 (right click on the user in skype list and find Set Speed Dial).
Then you must create outbound route to use skype trunk, for example with 5 prefix (5|XX).
And after that, just put the extension 599 in the Follow Me list.
I am having trouble getting the incoming calls from skype to the trixbox. Can anyone post the related setting for the uplink and trixbox?
For outgoing dial plan in the trunk, I used 8|00+1XXXXXXXXXX for US calling. It works.
add a custom extension. in dial sip/skypeusername@uplink
I'm having the same issue, has anyone figured this one out? I'm using Uplink Ver1.30, Skype Ver3.8.0.188 and trixbox CE current release 2.6.1.13.
Someone please help.
And I'm revisiting Trixbox to Skype possibilities, is the above still the beat way to use Skype as a gateway or are there better solutions around.
I have see the Windows software mentioned all over these forums but I want to stick with the one box, if there are other solutions for Tixbox can you point me in the right direction please.
Thanks
Martyn
Ok its not what I'm looking for. I will post a new thread to save confusion
In uplink Skype2sip, i have in red
Register attempt for sip:skype@192(mytribox ip adress) failed
404 not found
Register attempt to sip:uplink@92(mytribox ip adress) failed
403 forbidden (Bad auth)
Skype started successfully
I have religiously follow the above setup.
Help please.
Michel
Some times it function, some times not.
I cannot receive calls from Skype in the Trixbox. Skype ring but do not transfer to Trixbox.
Tribox is on another machine and Skype in Window XP with Skype2sip

Member Since:
2006-07-11