Linux softphones
Moderators: Pilot, Bill Smith
-
- Dan isn't smart enough to hire me
- Posts: 165
- Joined: Sun Nov 25, 2007 11:00 am
- Location: Minneapolis, MN
Linux softphones
So I've been doing a lot of testing of softphones in linux lately, and I've had some very mixed results. I am currently using Ubuntu 7.10. I installed a VMWare machine, and first ran the MJ on that fine, complete with phone support and everything. But I wanted to go further than that and run something natively, so I didn't have to run the VM all the time.
Here are the programs I tried: linphone, Kphone, wengophone, ekiga softphone, gizmo project, xlite (for linux, and the windows version under wine) and twinkle. The only one I actually had any success with is twinkle. Edit: I got Xlite to work, see instructions at bottom.
let's see if I can streamline this.
*********
TWINKLE
*********
You can find twinkle here and they also have many packages towards the bottom for the major distros. I'm gonna go through and show you guys how to set up twinkle to get it to work, because I got it to work the first time I installed ubuntu, didn't document it, and then reinstalled (from 64 bit to 32 bit) and struggled until just this morning to get it work.
Here is a link to some deb files for very easy installation of twinkle: http://www.getdeb.net/app/Twinkle
So first, in your user account you'll need to set up your user name.
Your name
username (E<your number here>01), the
domain (just the IP address).
Next the SIP authentication.
Leave the realm field blank.
authentication name is your username the E<your number here>01 number.
Then fill in your password.
Move next to the SIP server section.
For the registrar you will need to use proxy1.nashville.talk4free.com:5070
Check the register at startup box.
Outbound proxy: proxy1.nashville.talk4free.com:5070
Check use outbound proxy box. Don't check the other 2 boxes below it.
Here's some more proxy servers:
proxy1.Atlanta.talk4free.com
proxy1.Austin.talk4free.com
proxy1.Baltimore.talk4free.com
proxy1.Boston.talk4free.com
proxy1.Chicago.talk4free.com
proxy1.Cleveland.talk4free.com
proxy1.Columbus.talk4free.com
proxy1.Dallas.talk4free.com
proxy1.Denver.talk4free.com
proxy1.Detroit.talk4free.com
proxy1.Houston.talk4free.com
proxy1.LasVegas.talk4free.com
proxy1.LosAngeles.talk4free.com
proxy1.Memphis.talk4free.com
proxy1.Miami.talk4free.com
proxy1.Minneapolis.talk4free.com
proxy1.Nashville.talk4free.com
proxy1.Newark.talk4free.com
proxy1.NewYork.talk4free.com
proxy1.Philadelphia.talk4free.com
proxy1.Phoenix.talk4free.com
proxy1.Pittsburgh.talk4free.com
proxy1.Portland.talk4free.com
proxy1.Sacramento.talk4free.com
proxy1.SaltLakeCity.talk4free.com
proxy1.SanDiego.talk4free.com
proxy1.SanFrancisco.talk4free.com
proxy1.Seattle.talk4free.com
proxy1.StLouis.talk4free.com
proxy1.Tampa.talk4free.com
proxy1.Washington.talk4free.com
Next, for the voicemail, just fill in your phone number (minus the E and 01), and choose unsolicited from the dropdown menu.
That's all you need for the basic functioning of the phone, so enjoy!
***********
X-LITE
*****
Click the button to the right of the "clear" button in the center of the xlite console. Choose system settings>SIP proxy>default.
Double click enabled, change to yes.
Display name: whatever you want.
Username: your proxy username
Authorization user: also your proxy username.
Password: Your sip password here
Domain/realm: UserDomain
SIP Proxy: proxy1.YourCityHere.talk4free.com
Out Bound proxy: proxy1.YourCityHere.talk4free.com:5070 (if your ProxyPort is different use that instead of 5070)
After this all the fields remain at default, change nothing.
Here are the programs I tried: linphone, Kphone, wengophone, ekiga softphone, gizmo project, xlite (for linux, and the windows version under wine) and twinkle. The only one I actually had any success with is twinkle. Edit: I got Xlite to work, see instructions at bottom.
let's see if I can streamline this.
*********
TWINKLE
*********
You can find twinkle here and they also have many packages towards the bottom for the major distros. I'm gonna go through and show you guys how to set up twinkle to get it to work, because I got it to work the first time I installed ubuntu, didn't document it, and then reinstalled (from 64 bit to 32 bit) and struggled until just this morning to get it work.
Here is a link to some deb files for very easy installation of twinkle: http://www.getdeb.net/app/Twinkle
So first, in your user account you'll need to set up your user name.
Your name
username (E<your number here>01), the
domain (just the IP address).
Next the SIP authentication.
Leave the realm field blank.
authentication name is your username the E<your number here>01 number.
Then fill in your password.
Move next to the SIP server section.
For the registrar you will need to use proxy1.nashville.talk4free.com:5070
Check the register at startup box.
Outbound proxy: proxy1.nashville.talk4free.com:5070
Check use outbound proxy box. Don't check the other 2 boxes below it.
Here's some more proxy servers:
proxy1.Atlanta.talk4free.com
proxy1.Austin.talk4free.com
proxy1.Baltimore.talk4free.com
proxy1.Boston.talk4free.com
proxy1.Chicago.talk4free.com
proxy1.Cleveland.talk4free.com
proxy1.Columbus.talk4free.com
proxy1.Dallas.talk4free.com
proxy1.Denver.talk4free.com
proxy1.Detroit.talk4free.com
proxy1.Houston.talk4free.com
proxy1.LasVegas.talk4free.com
proxy1.LosAngeles.talk4free.com
proxy1.Memphis.talk4free.com
proxy1.Miami.talk4free.com
proxy1.Minneapolis.talk4free.com
proxy1.Nashville.talk4free.com
proxy1.Newark.talk4free.com
proxy1.NewYork.talk4free.com
proxy1.Philadelphia.talk4free.com
proxy1.Phoenix.talk4free.com
proxy1.Pittsburgh.talk4free.com
proxy1.Portland.talk4free.com
proxy1.Sacramento.talk4free.com
proxy1.SaltLakeCity.talk4free.com
proxy1.SanDiego.talk4free.com
proxy1.SanFrancisco.talk4free.com
proxy1.Seattle.talk4free.com
proxy1.StLouis.talk4free.com
proxy1.Tampa.talk4free.com
proxy1.Washington.talk4free.com
Next, for the voicemail, just fill in your phone number (minus the E and 01), and choose unsolicited from the dropdown menu.
That's all you need for the basic functioning of the phone, so enjoy!
***********
X-LITE
*****
Click the button to the right of the "clear" button in the center of the xlite console. Choose system settings>SIP proxy>default.
Double click enabled, change to yes.
Display name: whatever you want.
Username: your proxy username
Authorization user: also your proxy username.
Password: Your sip password here
Domain/realm: UserDomain
SIP Proxy: proxy1.YourCityHere.talk4free.com
Out Bound proxy: proxy1.YourCityHere.talk4free.com:5070 (if your ProxyPort is different use that instead of 5070)
After this all the fields remain at default, change nothing.
Last edited by gnimsh on Sat May 16, 2009 11:09 am, edited 3 times in total.
-
- Dan isn't smart enough to hire me
- Posts: 165
- Joined: Sun Nov 25, 2007 11:00 am
- Location: Minneapolis, MN
Can you put a screenshot up of your various settings?
Be sure to erase your number, just put a black line over it in a simple editor or something...if you care about us seeing your username (as your password is already hidden anyway)
I was getting the 503 a lot the last few days, having to do with the server outages. Try switching to a new server like newark instead of nashville, for example
Be sure to erase your number, just put a black line over it in a simple editor or something...if you care about us seeing your username (as your password is already hidden anyway)
I was getting the 503 a lot the last few days, having to do with the server outages. Try switching to a new server like newark instead of nashville, for example
Your Registrar entry is incorrect. Should be talk4free, not talkforfree. The latter domain actually exists and resolves, but there is of course no proxy there.gnimsh wrote:I tried changing servers with no luck. I noticed something in the log during the REGISTER portion:
Send to: 66.116.125.133:5070
apology
Tvland, I'm very sorry. I accidentally butchered your post, instead of responding to it. I don't know if there is any way to get it back. I hope my suggested solution helps. In any case, you can post again if you desire; I'll be more careful next time.
Re: apology
Whoooo nice butchering there! Butcher up some steaks, I'll bring the booze!Stewart wrote:Tvland, I'm very sorry. I accidentally butchered your post, instead of responding to it. I don't know if there is any way to get it back. I hope my suggested solution helps. In any case, you can post again if you desire; I'll be more careful next time.
I must be blind! That was it, thanks.
-
- Dan isn't smart enough to hire me
- Posts: 165
- Joined: Sun Nov 25, 2007 11:00 am
- Location: Minneapolis, MN
Hey there tvland, I tried to reply last night but kept getting database errors that would say there was nothing to post to, so now I'm trying it again...
So, I've got my magicjack soundcard working in ubuntu linux (7.10) but just the soundcard function of the piece, not the MJ itself. When I pick up the phone now I hear the same high-pitched sound, until I start to make a call, at which point the dial tone comes back. I believe its just a function difference between this softphone and the MJ one. It doesn't effect your phone calls at all though really...
So, I've got my magicjack soundcard working in ubuntu linux (7.10) but just the soundcard function of the piece, not the MJ itself. When I pick up the phone now I hear the same high-pitched sound, until I start to make a call, at which point the dial tone comes back. I believe its just a function difference between this softphone and the MJ one. It doesn't effect your phone calls at all though really...
Which twinkle version?
Regarding twinkle, was the version you installed the 1.1x version or the just-released (as of March 8th) version 1.2?
Last edited by tradertx on Tue Mar 18, 2008 9:26 pm, edited 1 time in total.
versions of twinkle
What got me curious was in the Synaptic listings for my PCLinuxOS setup. It showed twinkle available titled as 1.1-3pclos2007 --- I'm not sure if that's exactly the 1.0.xxx version you are using, or slightly newer. Nor am I at all knowledgeable as to whether any version difference..... makes any difference regarding MagicJack. Just offhand, my impression is that any version that is already working... has a lot more credibility than any other, regardless of how much newer.
Two twinkle links
FYI, I just found these two interesting twinkle links:
http://www.freesoftwaremagazine.com/col ... ip_program
http://tech.groups.yahoo.com/group/twinklephone/
http://www.freesoftwaremagazine.com/col ... ip_program
http://tech.groups.yahoo.com/group/twinklephone/
Another problem I noticed is that the system scans the usb bus randomly and sometimes disconnects and then reconnects the magicjack. This hasn't happened in a call so far, but if it does it will most likely end it! You can tell when it happens because the light on the magicjack goes off for a second and then windows pop up for the flash and cd drives. This may be limited to my system unless someone else has this problem?
VOIP tutorials--maybe some help for Linux--twinkle--MJ?
On the following link, I found tons of Linux tutorials, including three devoted to configuring the quality of VOIP signals:
http://www.linuxplanet.com/linuxplanet/tutorials/
Here are those three:
Giving VoIP Traffic the Green Light, Part 1
http://www.linuxplanet.com/linuxplanet/ ... ls/6266/1/
Giving VoIP Traffic the Green Light, Part 2
http://www.linuxplanet.com/linuxplanet/ ... ls/6272/1/
Giving VoIP Traffic the Green Light, Part 3
http://www.linuxplanet.com/linuxplanet/ ... ls/6275/1/
Perhaps someone more knowledgeable than I can judge whether there are useful clues therein to help our Linux--twinkle--MJ challenge.
http://www.linuxplanet.com/linuxplanet/tutorials/
Here are those three:
Giving VoIP Traffic the Green Light, Part 1
http://www.linuxplanet.com/linuxplanet/ ... ls/6266/1/
Giving VoIP Traffic the Green Light, Part 2
http://www.linuxplanet.com/linuxplanet/ ... ls/6272/1/
Giving VoIP Traffic the Green Light, Part 3
http://www.linuxplanet.com/linuxplanet/ ... ls/6275/1/
Perhaps someone more knowledgeable than I can judge whether there are useful clues therein to help our Linux--twinkle--MJ challenge.
Using these instructions, I have it working with Twinkle (thanks!). Reading the Twinkle Manual (version 1.3.2), I found that on the SIP server page, if an outbound proxy is used and it is identical to the Registrar, then the Registrar field can be left empty. So my User profile settings are:
User
SIP account
Your name: Firstname Lastname
User name*: Exxxxxxxxxx01 (replace x's by phone number)
Domain*: talk4free.com
SIP authentication
Authentication name: Exxxxxxxxxx01 (same as above)
Password: XXXXXXXXXXXXXXXXXXXX (20-character MJ password)
SIP server
Outbound Proxy
x Use outbound proxy
Outbound proxy: proxy?.city.talk4free.com:5070 (where "?" is a small positive integer and "city" is a nearby city in the proxy list).
Voice mail
Voice mail address: xxxxxxxxxx (phone number)
with all other entries left at defaults.
User
SIP account
Your name: Firstname Lastname
User name*: Exxxxxxxxxx01 (replace x's by phone number)
Domain*: talk4free.com
SIP authentication
Authentication name: Exxxxxxxxxx01 (same as above)
Password: XXXXXXXXXXXXXXXXXXXX (20-character MJ password)
SIP server
Outbound Proxy
x Use outbound proxy
Outbound proxy: proxy?.city.talk4free.com:5070 (where "?" is a small positive integer and "city" is a nearby city in the proxy list).
Voice mail
Voice mail address: xxxxxxxxxx (phone number)
with all other entries left at defaults.
-
- Dan isn't smart enough to hire me
- Posts: 165
- Joined: Sun Nov 25, 2007 11:00 am
- Location: Minneapolis, MN
I don't know how long you've been using Xandros, but I could definitely recommend that you install ubuntu on your EeePC. There is a netbook remix as well as straight ubuntu 8.10 that will work with the EeePC, there are deb packages available for twinkle in ubuntu.
To get you started, here's a link to what the ubuntu netbook remix can do: http://www.canonical.com/projects/ubuntu/nbr
and here's a link on how to install it all! http://www.maximumpc.com/article/howtos ... _poweruser
If you have no desire to install ubuntu (though I definitely think it will enhance your netbook experience) you could start with twinkle by looking at the instructions here: http://www.xs4all.nl/~mfnboer/twinkle/index.html
You'll have to install the dependencies listed there before the program.
In the mean time I'll see if I can figure out xlite.
To get you started, here's a link to what the ubuntu netbook remix can do: http://www.canonical.com/projects/ubuntu/nbr
and here's a link on how to install it all! http://www.maximumpc.com/article/howtos ... _poweruser
If you have no desire to install ubuntu (though I definitely think it will enhance your netbook experience) you could start with twinkle by looking at the instructions here: http://www.xs4all.nl/~mfnboer/twinkle/index.html
You'll have to install the dependencies listed there before the program.
In the mean time I'll see if I can figure out xlite.
Well, I don't have an atom processor, so Ubuntu is out of the question. Plus, this is set up with other software, and I need it working. If this doesn't work, I'll just bring my Windows laptop as well...
Twinkle is pretty hard to figure out for me - it doesn't work from synaptic, and I can't double click -> next -> finish it on that website ... I have no idea if any of the versions of the dependancies will break Xandros, and some are not the version (QT is 4 for download) that Twinkle wants...
XLite was easy, double click and it ran...
Twinkle is pretty hard to figure out for me - it doesn't work from synaptic, and I can't double click -> next -> finish it on that website ... I have no idea if any of the versions of the dependancies will break Xandros, and some are not the version (QT is 4 for download) that Twinkle wants...
XLite was easy, double click and it ran...
-
- Dan isn't smart enough to hire me
- Posts: 165
- Joined: Sun Nov 25, 2007 11:00 am
- Location: Minneapolis, MN
Whoa I did it.
SIP phone details for Xlite:
Click the button to the right of the "clear" button in the center of the xlite console. Choose system settings>SIP proxy>default.
Double click enabled, change to yes.
Display name: whatever you want.
Username: your proxy username
Authorization user: also your proxy username.
Password: Your sip password here
Domain/realm: UserDomain
SIP Proxy: proxy1.YourCityHere.talk4free.com
Out Bound proxy: proxy1.YourCityHere.talk4free.com:5070 (if your ProxyPort is different use that instead of 5070)
After this al the fields remain at default, change nothing.
SIP phone details for Xlite:
Click the button to the right of the "clear" button in the center of the xlite console. Choose system settings>SIP proxy>default.
Double click enabled, change to yes.
Display name: whatever you want.
Username: your proxy username
Authorization user: also your proxy username.
Password: Your sip password here
Domain/realm: UserDomain
SIP Proxy: proxy1.YourCityHere.talk4free.com
Out Bound proxy: proxy1.YourCityHere.talk4free.com:5070 (if your ProxyPort is different use that instead of 5070)
After this al the fields remain at default, change nothing.
-
- MagicJack Newbie
- Posts: 2
- Joined: Mon Mar 02, 2009 6:57 pm
I am not very good at linux but I use it from time to time to learn. I was trying to connect MJ in linux. I tried to follow the instructions in this thread; however, I have a couple of questions:
1. when I try to click Register from Registration menu in Twinkle a popup window opens that asks me to enter User name and Password and the window says "Login required for realm: stratus.com"
2. In setting SIP authentication do I create a new Password or in one of the post replies it said that 20 characters MJ password.. I bought magic jack almost 8 months ago, and I don't remember they ever gave me that 20 characters password. The only password I have is the login to the my.magicjack.com
1. when I try to click Register from Registration menu in Twinkle a popup window opens that asks me to enter User name and Password and the window says "Login required for realm: stratus.com"
2. In setting SIP authentication do I create a new Password or in one of the post replies it said that 20 characters MJ password.. I bought magic jack almost 8 months ago, and I don't remember they ever gave me that 20 characters password. The only password I have is the login to the my.magicjack.com
-
- Dan isn't smart enough to hire me
- Posts: 165
- Joined: Sun Nov 25, 2007 11:00 am
- Location: Minneapolis, MN
Check out the tools here: http://www.phoneservicesupport.com/stro ... t4230.html
They will help you find your SIP info (login name and password)
They will help you find your SIP info (login name and password)
-
- Dan isn't smart enough to hire me
- Posts: 177
- Joined: Mon Oct 20, 2008 12:47 am
- Location: Sioux City, IA
- Contact:
You need to extract the username and password from the MJ. You can use the Strohs tool in the following link to extract them.
http://www.phoneservicesupport.com/stro ... t4230.html
http://www.phoneservicesupport.com/stro ... t4230.html
-
- Dan isn't smart enough to hire me
- Posts: 177
- Joined: Mon Oct 20, 2008 12:47 am
- Location: Sioux City, IA
- Contact:
-
- MagicJack Newbie
- Posts: 2
- Joined: Mon Mar 02, 2009 6:57 pm
I'm using Ubuntu 9.04, Twinkle 1.3.2. I'm using a mic/speaker plug generic headset.
Everything works great for making calls. When I call my number, it rings just one time (sounds like it gets cut off) and goes straight to my MagicJack voicemail, as if my MagicJack is not online.
Not sure what you're looking for more in-depth than that. I got my SIP info using the MJ Utilities Suite, and it seems as though that's all running well since I can make calls.
Everything works great for making calls. When I call my number, it rings just one time (sounds like it gets cut off) and goes straight to my MagicJack voicemail, as if my MagicJack is not online.
Not sure what you're looking for more in-depth than that. I got my SIP info using the MJ Utilities Suite, and it seems as though that's all running well since I can make calls.
Twinkle on Ubuntu, few issues
First of, thanks to gnimsch and all the fellows that worked so hard to post all these goodies.
I followed gnimsch step-by-step instructions installing Twinkle and MJ on Ubuntu9.04 and I get the following error message, "Cannot reach the STUN Server STUN:proxy01.miami.talk4free.com:5070. If you are behind a firewall then you need to open followingUDP ports , Poerts 5060 (SIP signaling) Ports 8000-8005 (RTP/RTCP).".
anyone has a suggestion on how to overcome this?
I haven't installed any firewall on Ubuntu and have no firewall on my wireless router either.
Thx,
Stav
I followed gnimsch step-by-step instructions installing Twinkle and MJ on Ubuntu9.04 and I get the following error message, "Cannot reach the STUN Server STUN:proxy01.miami.talk4free.com:5070. If you are behind a firewall then you need to open followingUDP ports , Poerts 5060 (SIP signaling) Ports 8000-8005 (RTP/RTCP).".
anyone has a suggestion on how to overcome this?
I haven't installed any firewall on Ubuntu and have no firewall on my wireless router either.
Thx,
Stav
-
- Dan isn't smart enough to hire me
- Posts: 165
- Joined: Sun Nov 25, 2007 11:00 am
- Location: Minneapolis, MN
On your sip server settings in twinkle, make sure "registrar" looks like: proxy1.Miami.talk4free.com:5070
Check the "register at startup" box.
Under "outbound proxy" use the same line as above (proxy1.Minneapolis.talk4free.com:5070)
Check the FAQ page from twinkle and search for STUN, as it seems to address this problem: http://www.xs4all.nl/~mfnboer/twinkle/index.html
Finally, you may try logging into your modem at 192.168.1.1 or maybe 192.168.0.1. The IP address depends on your modem brand but its usually one of those. From there you should be able to enable portforwarding for the required ports. Good luck!
Check the "register at startup" box.
Under "outbound proxy" use the same line as above (proxy1.Minneapolis.talk4free.com:5070)
Check the FAQ page from twinkle and search for STUN, as it seems to address this problem: http://www.xs4all.nl/~mfnboer/twinkle/index.html
Finally, you may try logging into your modem at 192.168.1.1 or maybe 192.168.0.1. The IP address depends on your modem brand but its usually one of those. From there you should be able to enable portforwarding for the required ports. Good luck!
-
- Dan isn't smart enough to hire me
- Posts: 165
- Joined: Sun Nov 25, 2007 11:00 am
- Location: Minneapolis, MN
In linux, the MJ device works as a soundcard. When you plug a phone into the MJ soundcard while running linux, it just funnels the sound from the soundcard to the phone instead. There is no software running to detect the dialing from the number pad on the phone. Therefore, while you should be able to have a conversation via your telephone, you must dial from the software phone.stav wrote:I opened the ports and it works now.
However, I cannot use my phone to place and answer calls. The headset works fine, though. Any hint on how to overcome this ? The audio settings are all defaults (OSS conexant).
Thanks for helping,
Stav
As the MJ also runs as a soundcard, you could also check to make sure the device is not muted. First, I am assuming you're running ubuntu. There are a few issues with the gnome volume manager, and so its better for you to use gnome-alsamixer, which can be installed from synaptic. Once you install that, open it up. There will be 2 tabs, one for your default sound card and one for the usb mixer. Unmute everything in the usb mixer. You can also try this in ubuntu's volume manager, but I think alsamixer works better.
I run Ubuntu 9.04.
Installed the alsamixer and the device is unmuted. I went to Twinkle and changed the system settings of the sound card to ALSA USB Internet phone by Tigerjet(USB Audio) on all selectable items in there. Still unable to use the phone. It works with the headphones and the standard settings tough. Something I'm missing here? Thx
Also, do you know if the MJ works if plugged directly in the USB port of the router?
Installed the alsamixer and the device is unmuted. I went to Twinkle and changed the system settings of the sound card to ALSA USB Internet phone by Tigerjet(USB Audio) on all selectable items in there. Still unable to use the phone. It works with the headphones and the standard settings tough. Something I'm missing here? Thx
Also, do you know if the MJ works if plugged directly in the USB port of the router?