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.
Member Since:
2006-07-11