MagicJack/Support Resources/How-To/Proxy Find2

From Wikibooks, open books for an open world
Jump to navigation Jump to search

Following is background information on the servers the MagicJack softphone connects to, how to identify the specific regional server you are connected to, and how to identify all available regional servers.

After obtaining this information, you can use it to change your proxy to a different region.

Background[edit | edit source]

MagicJack connects to a few servers which fall into two basic categories:

SIP and RTP servers[edit | edit source]

These are the main servers used by Magicjack.

  • SIP protocol connections go to a "proxy" server.
    • This connection occurs when you start MagicJack. It carries control information. For example, when a call occurs, the SIP connection carries the information instructing the softphone to open a RTP (vms) connection.
    • The UDP ports this connection uses are commonly referred to as 5060 and/or 5070. But, MagicJack only seems to open a connection to 5070.
  • RTP protocol connections go to a "vms" server.
    • This connection occurs when you place or receive a call. It carries the voice traffic.
    • This connection is always to a UDP port in the range of 10000 to 30000[1] on the RTP/vms server.

These servers exist across the US. Their locations seem to correlate to YMAX POP locations. MagicJack area codes seem to be associated with particular regional servers. But, MagicJack will connect to a different region's if it is unable to connect to the regional server it is normally associated with.

It seems that the RTP/vms server used by MagicJack is always in the same region as the SIP/proxy server. Therefore, if you know your SIP/proxy server you can safely assume your RTP/vms server. (Ex. If your SIP server is, then your RTP server should be

Administrative servers[edit | edit source]

MagicJack connects to the following servers for administrative purposes:

  • - Provisioning (TCP ports 80 & 443)
  • - Enhanced 911 (TCP port 80)
  • - Upgrades (TCP port 80)
  • - Advertisements (TCP port 80)
  • - Decryption of stored parameters? (TCP port 5002)

The above hostnames may resolve to the same IP address, and/or multiple IP addresses. Use nslookup to check this.

Identify your proxy[edit | edit source]

You can identify which proxy you are connected to using the following method:


Preparation[edit | edit source]

  1. Download pmdump from
  2. Start MagicJack
  3. Identify MagicJack's process ID (PID).
    • Open a DOS (command) window.
    • Execute pmdump -list
    • Find "magicjack.exe" in the output. Note the number associated with it.
  4. Make at least one call. (Ex. to the special echo-test number: 909-390-0003.).

Final steps[edit | edit source]

  1. Using the DOS (command) window and PID as described above, execute:
    pmdump {pid} mj_dump.txt
  2. Open mj_dump.txt using a text editor like textpad.
  3. Search for the string:

That string occurs at the start of a line. And it occurs within repeating blocks of data, like a repeating pattern. In these blocks you will find lines starting with o= and c=. These lines contain the IP address of the SIP/proxy and RTP/vms servers respectively.

For example, if you connect to the Phoenix proxy, you should see:

o=- {nnnnnnnnnn} {nnnnnnnnnn} IN IP4
c=IN IP4

You can use nslookup to resolve both IP addresses to hostnames, revealing the regional SIP/proxy and RTP/vms servers you are presently using.

Keep in mind that the server you connect to may change from time to time. Ex. If MagicJack is unable to connect to a regional server, it will try a different region. This feature is what allows you to force MagicJack to connect to a different regional server.

Alternative Method to Identify Proxy Used by magicJack[edit | edit source]

Preparation[edit | edit source]

  1. Download and install WireShark from
  2. Run WireShark to watch all the packets in and out of your computer on the interface you use to connect to your router.
  3. Start magicJack if its not running. Or if it is running, just make a call.
  4. Watch WireShark -you should see SIP connections being made. The IP address of the SIP connections should match one of the proxies listed below.
  5. Alternatively, use nslookup in a DOS (command prompt) box to lookup the name of the machine whose IP address you've identified.

Identify all available proxies[edit | edit source]

Using the same steps described above in Identify your proxy, search the memory dump for: transport=udp. This will reveal a list of IP addresses of regional SIP/proxy servers. These addresses can be converted to hostnames using nslookup. The resulting hostnames should correspond to the list of YMAX POP locations.

Note: As of Jan. 28, many of these IP addresses cannot be resolved by nslookup. Please use the list below to cross reference an IP address to a proxy server.

Using that list of proxy IP addresses, you can force MagicJack to connect to a specific regional server.

The following list of regional proxy servers is provided for comparison only. This information changes over time. For example, over the past six months (since the creation of this how-to), the IP addresses of the Atlanta, Los Angeles, Miami and New York proxy servers changed. The following list may be updated from time to time. However, you should always obtain the current list of proxy IP addresses using the procedure described earlier in this section.

# Jan 24, 2009 - Verified.
# Jan 28, 2009 - Verified. Baltimore absent. Leaving it in the list for now.
# Feb 17, 2009 - Verified. Baltimore still absent. Chicago changed from Philadelphia changed from
# Feb 23, 2009 - Baltimore proxy1 ( and vms1 ( both alive and answering pings
# Mar 5, 2009 - Verified. Baltimore still absent. (checked 10/28/2010) (added 3/5/2011) (added 9/16/2011)

  1. It appears the softphone is now opening ports above 20000. On January 23, 2009 it was noticed that this changed from port range 10000-20000 to 10000-30000.