| View previous topic :: View next topic |
| Author |
Message |
gnat MagicJack Newbie
Joined: 13 May 2010 Posts: 4
|
Posted: Thu May 13, 2010 12:46 am Post subject: mjproxy questions... |
|
|
Hello,
So after reading around a bunch I've got a nearly working setup however it isn't very reliable and I'm wondering about a few things.
I have a linksys router running the tomato firmware. I installed mjproxy on it and run it as seen in other threads. I use ekiga as a softphone and have it configured to use the proxy.
Once I see the 'Registered' message I can call my mj number and it rings, I can use the mic/speakers to talk etc... However after hmm maybe 5 minutes calls go directly to voicemail.
I am wondering if I need to set anything up firewall/connection tracking wise or if anyone knows why I am experiencing the above described symptoms... I am a pretty compentent linux/networking admin but don't know much about SIP/RTSP protocols and whatnot. In looking at the packet captures I saw a lot that made it look like a proxy is required (embedding the internal private 192.168.x.x addresses etc...)
Anyway - pointers or anything would be appreciated. |
|
| Back to top |
|
 |
Google AdSense

|
Posted: Thu May 13, 2010 12:46 am Post subject: Magicjack support, tips, tricks, and hacks |
|
|
|
|
| Back to top |
|
 |
mountaineer magicJack Apprentice
Joined: 10 May 2010 Posts: 11
|
Posted: Thu May 13, 2010 9:56 am Post subject: |
|
|
I'm testing the Ekiga & mjproxy combo too, but so far I haven't run into that issue. I'll see if that happens here as well. See this link for a possible explanation:
http://tinyurl.com/2do7jye
Here's a snippet:
"I can make calls, but if I let Ekiga running after some time I can't receive any calls"
Why this ?
Ekiga registers with a service using UDP and the service expects to find Ekiga at the port it sent the registration. Well, in Linux with IP iptables, this port is only accessible for 180 seconds after the registration. After this time, the firewall will block the packets coming from the SIP service, as it considers the "session" to be over.
There are two ways of coping with that:
1. If you don't have control of your host, you can configure each account to refresh the registration every 180 seconds.
2. If you can control your host (root), you can set the UDP iptables timeout to one hour. |
|
| Back to top |
|
 |
gnat MagicJack Newbie
Joined: 13 May 2010 Posts: 4
|
Posted: Thu May 13, 2010 10:40 am Post subject: |
|
|
| mountaineer wrote: | I'm testing the Ekiga & mjproxy combo too, but so far I haven't run into that issue. I'll see if that happens here as well. See this link for a possible explanation:
2. If you can control your host (root), you can set the UDP iptables timeout to one hour. |
That seems to be working for me so far. The router that I'm running even has the timeout in its admin panel so I can do it without resorting to ugly workarounds... Thanks for pointing me there.
I have one more question... I'm completely new to SIP stuff, and I'm wondering how to use ekiga to make an outgoing call with the magicjack... Do you happen to know? The closest I've come is it would call out but I'd get a pre-recorded test message from YMAX or something.... |
|
| Back to top |
|
 |
mountaineer magicJack Apprentice
Joined: 10 May 2010 Posts: 11
|
|
| Back to top |
|
 |
gnat MagicJack Newbie
Joined: 13 May 2010 Posts: 4
|
Posted: Thu May 13, 2010 11:13 am Post subject: |
|
|
That now works. It takes what seems like *forever* to call out, or at least start ringing. I can deal with that. Although the couple people I called seemed to hear themselves echo. Very delayed echo in fact. Any tips on how to reduce that?
I'm wondering if it has anything to do with the proxy I'm using. I took the proxy IP address from the memory dump. There were quite a few, but I took the first one. However it is no where near me physically... Currenly I'm using the dallas proxy, and I'm in canada... I can't imagine a further city. Would that affect this? And should I be able to use any of the proxies?
I'll be testing my theory as I wait but I never knew if the failure to register had anything to do with the proxy I chose. Now that I have it working I'll change only the proxy and see... |
|
| Back to top |
|
 |
gnat MagicJack Newbie
Joined: 13 May 2010 Posts: 4
|
Posted: Thu May 13, 2010 11:48 am Post subject: |
|
|
| So I've tracerouted all the proxies to get the ones with the fewest hops to me. I'm now using seattle. It also seems to have the best ping response times. I'm not using QoS but I'm not sure how that would help. I don't hear an echo, they don't hear me echo, nor am I delayed when speaking... Any ideas? I may try using the MJ in a mac box I have locally and see if there is an echo... though my initial calls with the device no one mentioned it when testing. |
|
| Back to top |
|
 |
mountaineer magicJack Apprentice
Joined: 10 May 2010 Posts: 11
|
Posted: Thu May 13, 2010 12:20 pm Post subject: |
|
|
You might fiddle with Ekiga's echo cancellation option. Edit --> Preferences --> Audio --> Codecs --> Echo Cancellation
So far, I haven't run into echo issues. Sound quality has been good. But I'm fairly close to the proxy, so I suppose that helps. |
|
| Back to top |
|
 |
|