Since they now use IP addresses how can I change the proxy

magicJack Tips and Tricks

Moderators: Bill Smith, Pilot

Post Reply
Mr_Dasher
MagicJack Contributor
Posts: 66
Joined: Fri Dec 12, 2008 10:04 pm

Since they now use IP addresses how can I change the proxy

Post by Mr_Dasher »

Hi,

My MJ is working well except for the fact that there is a bit of a lag between speaking. I thought that I would like to try switching to a proxy that gives me better response times.

Now it appears that MJ no longer uses Host names so we can't use the Host file redirection trick. They must have just changed it because I've only owned my MJ for about a week and using Wireshark I used to be able to see the proxy used. Now I only see an IP.

Anyone have an idea how this can be done? I'm wonder where is this information stored?

Also whats the difference between "proxy1" and "vms1". Mine is "vms1". are both required?

Thanks,
kumar
Dan Should Pay Me
Posts: 806
Joined: Thu Nov 15, 2007 4:29 pm
Contact:

Post by kumar »

Did you try using the host redirection way? It shouldn't make a difference if they are using the IP or the actual name I think. Also, you may want to set up QOS on your router. If you are using wireless and the sound quality isn't up to par try using wired to see if it makes a difference. If it helps.. go wired.. if i doesn't/you already wired then... Make sure you don't have a crap load of stuff running on your computer while your talking. Also, make sure its not slow from spyware or a virus because that always tends to do funky things with the MJ. Finally, you can try changing your phone if you haven't already. But, the lag issue seems to be with the computer or the internet, so I would go to that as my last resort.

Peace
Kumar
Will not be on forum until after June 15th.
az2008
MagicJack Sensei
Posts: 1404
Joined: Wed Aug 20, 2008 12:57 pm
Location: Tempe, AZ

Re: Since they now use IP addresses how can I change the pro

Post by az2008 »

Mr_Dasher wrote:there is a bit of a lag between speaking. I thought that I would like to try switching to a proxy that gives me better response times.
See: http://www.phoneservicesupport.com/post26529.html#26529
Mr_Dasher wrote:Anyone have an idea how this can be done? I'm wonder where is this information stored?
The only way it can be done is by using iptables/ipchains (in a unix-based router, giving you access to the command line) to change the destination of output packets. However, I don't know how to do that. Nobody's stepped up yet to figure it out.
Mr_Dasher wrote:Also whats the difference between "proxy1" and "vms1". Mine is "vms1". are both required?
Proxy1 is where the SIP traffic goes. It's a connection which is opened as soon as you start MJ. Vms1 is where the RTP (voice) traffic goes. The connection is opened when you place or receive a call.

If you read the link above, you'll learn more about that (ports, etc.).

Mark
az2008
MagicJack Sensei
Posts: 1404
Joined: Wed Aug 20, 2008 12:57 pm
Location: Tempe, AZ

Post by az2008 »

kumar wrote:Did you try using the host redirection way? It shouldn't make a difference if they are using the IP or the actual name I think.
I could never get a windows host file entry with IP address to do anything. I don't believe Windows consults the host file when an IP address is used by the application. It doesn't need to do a DNS resolution, so there's no reason to check the host file first before doing it.

Mark
kumar
Dan Should Pay Me
Posts: 806
Joined: Thu Nov 15, 2007 4:29 pm
Contact:

Post by kumar »

**Boomarks AZ's link and saves it for later posts:)**
Thanks
Will not be on forum until after June 15th.
Mr_Dasher
MagicJack Contributor
Posts: 66
Joined: Fri Dec 12, 2008 10:04 pm

Post by Mr_Dasher »

Thanks for all the answers.

I'm not having any issues with my MJ except with that slight lag which is very exceptable . I'm just trying to "Tweak" every last ounce of performance out of it.

I was just trying to find out how my MJ knows which server to go to.

Thanks again.

Mr_D.
az2008
MagicJack Sensei
Posts: 1404
Joined: Wed Aug 20, 2008 12:57 pm
Location: Tempe, AZ

Post by az2008 »

Mr_Dasher wrote:I was just trying to find out how my MJ knows which server to go to.
I had that same question a month or two ago (when it appeared MJ switched from hostnames to IP addresses). Someone (I believe "magicHack") pointed out to me there's probably stuff stored as "resources" in the magicjack.dll(?) file. It's encrypted.

My guess is that all the hostnames and IP addresses are stored in that. I'm not sure how MJ told the softphone to stop using hostnames at that time. I don't think there's been an softphone upgrade since 8/22.

Mark
Trebuin
MagicJack Contributor
Posts: 53
Joined: Wed May 21, 2008 1:17 am

Post by Trebuin »

I've been working on a fix. I've seen the code from the memory dump basically wants to use the proxy of your area code, then the rest is totally random.

I've confirmed hosts file no longer works.

For the purpose of updates, I can block any of the ip's, update or the proxy I don't want, however, this is extremely time consuming to enter every ip I don't want to use; plus, they add more areas.

The best option would be to find a way to inject the desired ip into magicjack or find a way to reroute the ip request to a different IP. Both will required running another service :(

Basically, you have to run an ip rerouting hack or something similar to a trainer cheat ran on video games.
Kimberly
magicJack Apprentice
Posts: 21
Joined: Sun Dec 02, 2007 12:42 pm

Post by Kimberly »

Magicjack still uses domain names for the proxy, or they still hold those domain names. Whether they still point to the correct IP address I don't know except I am using one of the domain names for the proxy and it was working as of yesterday, Feb. 4, 2009.

The whole idea for the use of domain names is so you can change the IP address without affecting the name. Of course in the case of magicjack, they don't really use the domain name for that use so they could have not registered any domain names for the proxy servers.

A lookup for proxy1.newyork.talk4free.com returned the ip address of 216.234.64.8. So, is that the correct ip address to use, or did the ip address that was return point to something other than magicjacks proxy servers?
az2008
MagicJack Sensei
Posts: 1404
Joined: Wed Aug 20, 2008 12:57 pm
Location: Tempe, AZ

Post by az2008 »

Kimberly wrote:Magicjack still uses domain names for the proxy, or they still hold those domain names. Whether they still point to the correct IP address I don't know except I am using one of the domain names for the proxy and it was working as of yesterday, Feb. 4, 2009.
The problem is that the softphone references the proxy with an IP address, not the hostname which could be mapped to a different hostname in the "hosts" file.

People aren't saying hostnames don't exist, or aren't accurate. Just that the softphone bypasses them and the resolution that occurs.

Also, some hostnames don't resolve. Or, at least they didn't resolve the last time I tried a few days ago. For example, proxy1.phoenix.talk4free.com didn't resolve.

Mark
See the MagicJack Wiki (FAQ, How-To, history and more).
Post Reply