DISCLAMER-----Using this guide can get your MJ account terminated – I take no responsibility for what could happen if you use this guide.
This is a guide that will help you configure your magicjack service to work with TrixBox CE 2.6.1.13. Please not that I had alot of help from a person who wants to remain anonymous - alot of this information was pulled together from alot of different sources.
This guide WILL NOT assist you in acquiring your SIP credentials. You can Google and find that information easily.
Load up your TrixBox CE GUI and go to PBX > PBX Settings > Trunks > Add SIP Trunk
General Settings -
- Leave these settings blank for their defaults – you can not specify Outbound Caller ID as MJ blocks changing it. Also since magicJack is a single user device - if you set the channels to more than 1, your setup will not function correctly.
- Set these up as you need – I used 1NXXNXXXXXX only cause I don't have a local number available to me yet – and I also use a zap channel for local calls.
- Trunk Name: MagicJack
PEER Details:
username=EXXXXXXXXXXX1
type=friend
secret=XXXXXXXXXXXXXXXXXXXX
qualify=2000
port=5070
nat=yes
host=XXX.XXX.XXX.XXX
fromuser=EXXXXXXXXXXX1
dtmfmode=inband
insecure=very
context=from-pstn
- BLANK
- Register String: EXXXxxxXXXX01:XXXXXxxxxxXXXXXxxxxx@proxy1.<City>.talk4free.com:5070
- EXXXxxxXXXX01 = your MagicJack phone number, E on the front and 01 on the end
XXXXXxxxxxXXXXXxxxxx = your decrypted MagicJack password - 20 digit alpha/numeric
<City> = pick the closest point to you from the list below
XXX.XXX.XXX.XXX = numeric IP of the proxy address you selected
Nat = yes or no depending on your requirement
- 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
Without the Context=from-pstn - asterisk would answer - but say the number was not in service
Setup your outbound routes as needed and order them they way you want them to be used.
By using the PBX status screen you should see:
Sip Registry
your selected proxy1 address in the Sip Registry = with status as registered – if not – check your userid and password in the trunk registry setting.
Sip peers
you should see MagicJack/EXXXxxxXXXX using your host ip selected and status of OK
should also see Inbound./EXXXxxxXXXX using your host ip selected and status of OK
You should now be able to send and receive calls via your new SIP service.
If you see any typos etc please notify me so I can keep this guide updated.