This tutorial will be broken into two parts. Part one will contain information for discovering your sip credentials, and part two will detail how to configure another softphone (xlite).
NOTE: This method to obtain your SIP credentials is OBSOLETE, and NO LONGER WORKS! You will need to find a new way to get your SIP info. The part 2 (configuring a softphone is still valid, assuming you have your SIP credentials).
Part 1: Discovering your SIP credentials.
When the magicJack starts up, it's first connection is out to one of their provisioning servers to obtain your SIP credentials. Unfortunately, this is a secure (https/ssl) connection, thus a simple network capture does not allow for us to see the underlying information. After your magicJack gets it's SIP credentials, it's second connection is to register with the magicJack proxy server. A network capture will show you that these connections look like:
First Connection (requesting SIP Credentials)
Code: Select all
magicjack provisioning server
---- asks for SIP Credentials --->
<--- returns SIP Credentials ----
Second Connection (registering with proxy server)
Code: Select all
magicjack proxy server
----- encrypted SIP Credentials ---->
<------- Authorized message --------
So, there are a few different approaches to getting your underlying SIP info. A tool like Fiddler allows us to intercept and decrypt the first connection to the provisioning server, whereas a tool like Cain allows us to brute force the encrypted SIP Credentials in the second connection.
Since the magicJack uses only a 4 digit password, it is very easy to brute force it using Cain. Fiddler is a great tool if you want to actually "fiddle" with the data being passed - in other words, if you want to change the values the provisioning server is sending you.
If all you are looking to do is obtain your SIP info, by far, the easiest way is to simply request that information directly from the provisioning server.
So, without further delay, here one way to do this under windows.
First you need to find your serial number:
- Right click on "My Computer", and select "Manage"
- Click on "Device Manager"
- Click on DVD/CD-Rom drives
- Right Click on "YMax MagicJack USB Device", and select properties
- click on the "Details" tab
- select "Device Instance Id" from the drop down list
At this point, you will see Information that looks like:Code: Select all
USBSTOR\CDROM&VEN_YMAX&PROD_MAGICJACK&REV_X.XX\A9XXXXXXXXXXXX&1
Now that you have your serial number, we simply need to pass it to the provision server, to get your SIP Credentials.
You can do this by simply appending your serial number to the URL:
Code: Select all
https://prov1.talk4free.com/softphone/provision/?serial=
Assuming you've done this correctly, when you go to your provisioning URL, you should see something like:
Code: Select all
[SIP 2.0]
SIPResyncEventsReceiverEnabled=1
ProxyUserName=E931XXXXXXX01
ProxyUserPassword=XXXX
SIPCallerID=E931XXXXXXX01
RegisterOnProxy=1
SIPVoiceMailAddress=931XXXXXXX
EnableTelephoneEvents=1
UserDomain=67.106.133.198
ProxyDomain=proxy1.nashville.talk4free.com
ProxyPort=5070
ProxyStrictOutbound=1
[CustomFields]
CustomField17="http://67.106.133.212/upgrade/2007-01-07/magicJackOutlookAddin.exe" CustomField10="http://www.free411.com"
CustomField11="931XXXXXXX"
[Customer]
CustomerBannerURL="http://67.106.133.212/ads/rotate2.html"
[SoftwareUpdate]
SoftwareUpdateVersionRequired=20070921151100 SoftwareUpdateURL=http://67.106.133.212/upgrade/2007-09-21/upgrade.exe
SoftwareUpdateAutoInstall=0
SoftwareUpdateInstallDelay=1
Code: Select all
ProxyUserName=E931XXXXXXX01
ProxyUserPassword=XXXX
UserDomain=67.106.133.198
ProxyDomain=proxy1.nashville.talk4free.com
ProxyPort=5070
Part 2: Configuring a softphone.
In this part, we'll configure our own softphone. You settings might vary slightly depending on the actual softphone (or ATA) that you are using, but, the idea is the same. The softphone I'll be configuring is XLite, available from CounterPath.
Step by step:
- Download and install XLite (I've only tested the Windows version.)
- if your magicjack.exe process is running, stop it, as we'll no longer need that
- Start up XLite (Start -> Programs -> X-Lite -> X-Lite)
- Right Click on the softphone, and select Options
- In the options screen, select devices
- If you want to use the magicJack hardware, change all of the drop down boxes to be "USB Internet Phone by TigerJet"
- Click Apply
Now we need to plug in our SIP Credentials we discovered in Part 1 above: - Right click on the X-Lite softphone, and select "SIP Account Settings"
- we're going to need to add an account with the following values:
User Details
Display Name: Gregg (obviously, put your own name here)
User name: E931XXXXXXX01 (The ProxyUserName value from Part 1)
Password: XXXX (the ProxyUserPassword value from Part 1)
Authorization User name E931XXXXXXX01 (The ProxyUserName value from Part 1)
Domain: 67.106.133.198 (The UserDOmain value from Part 1)
Domain Proxy
Check the box labeled "Register with domain and receive incoming calls"
Check the "proxy" button
Address: proxy1.nashville.talk4free.com:5070 (ProxyDomain:ProxyPort values from Part 1)
Dialing Plan
Configure this to your tastes - I use something like:Code: Select all
\a\a.T|[2-9]xxxxxxxxx|#1\a\a.T;match=1;prestrip=2;
- Click OK/Apply, and your softphone should start.
Thanks again to everyone who helped me via PM to understand all of this.
- Gregg