Magic Jack on Trixbox or any other SIP device.

magicJack Tips and Tricks

Moderators: Bill Smith, Pilot

Post Reply
genxweb
Dan isn't smart enough to hire me
Posts: 257
Joined: Thu Mar 11, 2010 4:32 pm
Contact:

Magic Jack on Trixbox or any other SIP device.

Post by genxweb »

I spent days on Google and this forum trying to get this work and reproduce the results to make sure I had all the kinks ironed out. I am now glad to offer the rest of the forum members a one stop setup guide from unwraping it to creating your own pbx in one location.

I posted the article on my blog at http://www.digitaloffensive.com

be warn it is long and detailed and provides clear and accurate images. Some of the steps may be able to be done in a easier way but these steps will provide you with the correct results and output each time. So don't cut cornors.

This has been tested on the newest firmware as well.

Thanks
kitkat0981
MagicJack User
Posts: 31
Joined: Tue Mar 09, 2010 2:22 pm

Post by kitkat0981 »

You should do one write up for 3cx
genxweb
Dan isn't smart enough to hire me
Posts: 257
Joined: Thu Mar 11, 2010 4:32 pm
Contact:

Post by genxweb »

Maybe in the near future that was a sponsored project to do this one. So if any one want to donate a new jack or anything we can get a cracking on creating one for the 3cx.
Spider210
MagicJack Expert
Posts: 96
Joined: Sat Dec 06, 2008 12:50 pm

Post by Spider210 »

I've read your article and was able to make sure I had the right password and I did it worked

now I been trying to get this to work on an itouch. what app would this work with I've just about tried them all and been trying to connect them to mjmd5 but haven't got any of them to work. Tried many settings but can't get any to work.
digitize
magicJack Apprentice
Posts: 15
Joined: Mon Apr 13, 2009 12:21 am

Post by digitize »

If you have a Trixbox you can use the app call IAX on the Itouch (do a search on the Apple store and it is free). It works great! The Trixbox is very flexible. You can use the IAX app with the Itouch at any wifi hotspot and register back to the Trixbox to make calls via MagicJack or to your local extensions off the Trixbox. You will have to do some reading to figure it all out. IAX protocol has some advantages over SIP especially over the Internet due to the number of ports SIP uses.
Spider210
MagicJack Expert
Posts: 96
Joined: Sat Dec 06, 2008 12:50 pm

Post by Spider210 »

Instead of Trixbox can you use MJMD5 and use that IAX program?
VaHam
Dan Should Pay Me
Posts: 851
Joined: Wed Feb 13, 2008 8:02 pm

Post by VaHam »

Spider210 wrote:Instead of Trixbox can you use MJMD5 and use that IAX program?
Short answer is no. IAX is a different VOIP protocol than sip, which MJ and MJMD5 use. Asterisk (the heart of Trickbox) can work with either protocol and therefore handles the translation for you.
Sad Times Ahead for this Obamanation !!!! Psalms 109:8
genxweb
Dan isn't smart enough to hire me
Posts: 257
Joined: Thu Mar 11, 2010 4:32 pm
Contact:

Post by genxweb »

What I do with my itocuh and my buddies iPhone is we use a standard sip client with wifi and allow inbound connections to our trixbox. The phones are setup with extensions in the trixbox configuration and thats all we need. If you dont have trixbox you can do the same with the mjmd5.exe just open up inbound traffic and nat eh public IP of your router to a private ip of your computer running the proxy. This can be dangerous mind you allowing inbound connections but that's how you need it to work. If you are trying o do it on the same network and not remotely then you do not have to open any ports. just use the IP of the computer running the mjmd5 and dont forget the ip:5070 or what ever listen port you use as the domain or proxy setting depending on your client.
User avatar
sabresfan
Dan Should Pay Me
Posts: 673
Joined: Thu Feb 12, 2009 7:12 pm
Location: Buffalo NY

Post by sabresfan »

Excellent writeup this is a very good guide for people wanting different things from MJ.
Spider210
MagicJack Expert
Posts: 96
Joined: Sat Dec 06, 2008 12:50 pm

Post by Spider210 »

genxweb wrote:What I do with my itocuh and my buddies iPhone is we use a standard sip client with wifi and allow inbound connections to our trixbox. The phones are setup with extensions in the trixbox configuration and thats all we need. If you dont have trixbox you can do the same with the mjmd5.exe just open up inbound traffic and nat eh public IP of your router to a private ip of your computer running the proxy. This can be dangerous mind you allowing inbound connections but that's how you need it to work. If you are trying o do it on the same network and not remotely then you do not have to open any ports. just use the IP of the computer running the mjmd5 and dont forget the ip:5070 or what ever listen port you use as the domain or proxy setting depending on your client.
What sip client you use? I've been trying them all and can't seem to get it to work. I've used the mjmd5 and xlite and it works fine so I know my password is right. I've used my computer ip to connect to 192.168.1.5 with my itouch at 192.168.1.6 but still can't seem to get it to work. Don't know which sip client works so I've downloaded about 5 or 6 free ones and tried those.
genxweb
Dan isn't smart enough to hire me
Posts: 257
Joined: Thu Mar 11, 2010 4:32 pm
Contact:

Post by genxweb »

manachinu
magicJack Apprentice
Posts: 29
Joined: Fri Oct 17, 2008 1:10 pm

Post by manachinu »

I followed these instructions and have a working setup of trixbox and mj. i can connect using sip client internally but when i try to login to my extension over the internet i get error "Method not Allowed" I have port forwarding for TCP&UDP for 5060, 5070, 5080 to the trixbox server. Appreciate if anyone knows how to get this working.
kitkat0981
MagicJack User
Posts: 31
Joined: Tue Mar 09, 2010 2:22 pm

Post by kitkat0981 »

genxweb wrote:Maybe in the near future that was a sponsored project to do this one. So if any one want to donate a new jack or anything we can get a cracking on creating one for the 3cx.
I was able to get it working on my 3CX install with MJMD5.

My issue is I dont want 3CX to run the proxy. I have a DNS323 running funplug (linux scaled down versioon) and MJPROXY does not work on linux.

Does anyone know if you can get another linux standard proxy to do what mjproxy does on a standard linux o/s?

Or better yet, I'm planning on installing Debian on my DNS323, so wondering what proxy i could use and/or if mjproxy will work on that.

What is DD-WRT based on? which flavour of linux?

Ans can someone post a link to the MJPROXY download aswell? not the ipkg version but the other one.

Thanks...
Spider210
MagicJack Expert
Posts: 96
Joined: Sat Dec 06, 2008 12:50 pm

Post by Spider210 »

genxweb wrote:I use this one http://www.fring.com/download/iphone/
I've got fring. What setting you use to get it to work with mjmd5?
Spider210
MagicJack Expert
Posts: 96
Joined: Sat Dec 06, 2008 12:50 pm

Post by Spider210 »

For example in fring i put
user - EXXXXXXXXXX01
pass - XXXXXXXXXXXXXXXXXXXX
proxy - 192.168.1.7:5070

192.168.1.7 is the computer I have hosting the mjmd5 (yes they are on same network)

fring just gives me an error after about 60seconds "User ID or password is incorrect"

any thoughts would be great

also is it possible i have an old version of mjmd5?
genxweb
Dan isn't smart enough to hire me
Posts: 257
Joined: Thu Mar 11, 2010 4:32 pm
Contact:

Post by genxweb »

kitkat0981 wrote:
genxweb wrote:Maybe in the near future that was a sponsored project to do this one. So if any one want to donate a new jack or anything we can get a cracking on creating one for the 3cx.
I was able to get it working on my 3CX install with MJMD5.

My issue is I dont want 3CX to run the proxy. I have a DNS323 running funplug (linux scaled down versioon) and MJPROXY does not work on linux.

Does anyone know if you can get another linux standard proxy to do what mjproxy does on a standard linux o/s?

Or better yet, I'm planning on installing Debian on my DNS323, so wondering what proxy i could use and/or if mjproxy will work on that.

What is DD-WRT based on? which flavour of linux?

Ans can someone post a link to the MJPROXY download aswell? not the ipkg version but the other one.

Thanks...
MJPROXY does work on Linux you need to compile it and make sure you are not using the tomato version of it. My article gives a direct link to a working copy you have to extract it and compile it.
genxweb
Dan isn't smart enough to hire me
Posts: 257
Joined: Thu Mar 11, 2010 4:32 pm
Contact:

Post by genxweb »

Spider210 wrote:For example in fring i put
user - EXXXXXXXXXX01
pass - XXXXXXXXXXXXXXXXXXXX
proxy - 192.168.1.7:5070

192.168.1.7 is the computer I have hosting the mjmd5 (yes they are on same network)

fring just gives me an error after about 60seconds "User ID or password is incorrect"

any thoughts would be great

also is it possible i have an old version of mjmd5?
If I remember to day I will have a friend test. You can also try testing it using your public IP if you got the ports open. Also make sure you are using the wifi and ot the 3g as 3g will get blocked and not actually connect to the 192.
kitkat0981
MagicJack User
Posts: 31
Joined: Tue Mar 09, 2010 2:22 pm

Post by kitkat0981 »

genxweb wrote:

MJPROXY does work on Linux you need to compile it and make sure you are not using the tomato version of it. My article gives a direct link to a working copy you have to extract it and compile it.
ok i got it recompiled and it seems to work but 3cx is not saying th provider is up. 3cx says 503 service unavailable.
genxweb
Dan isn't smart enough to hire me
Posts: 257
Joined: Thu Mar 11, 2010 4:32 pm
Contact:

Post by genxweb »

I uploaded the magic jack suite with the sipdump.exe to my site for download since the original links are dead.
genxweb
Dan isn't smart enough to hire me
Posts: 257
Joined: Thu Mar 11, 2010 4:32 pm
Contact:

Post by genxweb »

kitkat0981 wrote:
genxweb wrote:

MJPROXY does work on Linux you need to compile it and make sure you are not using the tomato version of it. My article gives a direct link to a working copy you have to extract it and compile it.
ok i got it recompiled and it seems to work but 3cx is not saying th provider is up. 3cx says 503 service unavailable.
If you are running 3cx that is windows based why don't you just use mjmd5.exe? I could not help as I don't know your config.
tdbone1
magicJack Apprentice
Posts: 11
Joined: Wed Feb 10, 2010 10:59 am

Post by tdbone1 »

i had mjproxy running on my dd-wrt router (wrt54gl v1.1) and had my computer hooked upto it with lan cord and i was running x-lite and it all worked fine.

when i tried with my ppc 6800 titan phone running fring i cant get it to work.

any advice?
thanks
genxweb
Dan isn't smart enough to hire me
Posts: 257
Joined: Thu Mar 11, 2010 4:32 pm
Contact:

Post by genxweb »

from past experience some versions of fringe does not allow for the 20 character password and some cell companies block SIP ports. So I would suggest using wifi and trying another SIP application or setting up a vpn tunnel.

The other issue is can be the NAT blocking the calls if you are not on the same LAN. Check my site I put a article on their how to deal with NAT and SIP.
tdbone1
magicJack Apprentice
Posts: 11
Joined: Wed Feb 10, 2010 10:59 am

Post by tdbone1 »

it works on the laptop running x-lite (over WIFI or over lan)

do you know what version of fring take the 20character password?
also mjproxy is on the router at 192.168.1.1
how do i tell fring in the (proxy entry box) to connect to it?
'192.168.1.1:5070' ?

must be something wrong with fring or maybe the magicjack people can tell if i have it running on different hardware.
i read somewhere someone said it cant be used on more then 2 devices...which i doubt it is true since you can take the mj usb dongle anywhere and use it on a different computer.
tdbone1
magicJack Apprentice
Posts: 11
Joined: Wed Feb 10, 2010 10:59 am

Post by tdbone1 »

bump

its been a few days so i figure ill bump it.
genxweb
Dan isn't smart enough to hire me
Posts: 257
Joined: Thu Mar 11, 2010 4:32 pm
Contact:

Post by genxweb »

I dont think any version of fringe allows 20 chars passwords. You will need to contact them on that.

On the router do port forwarding of 5070 to the internal IP and plug the external IP:5070 on the fringe or other client.
foganime
MagicJack Newbie
Posts: 9
Joined: Sun Jun 14, 2009 9:26 pm

Post by foganime »

These instructions work great, thanks!

I'm using X-Lite as my softphone but the TigerJet TjInit utility doesn't allow me to go on- and off- hook easily with a physical phone connected.

Anyone figure out a way to make this work a la the SDK calls used by "XlitejackPlugin"... ?

Of course, XlitejackPlugin makes the assumption that you're going to use the legit MagicJack client for its calls and something like a VOIPbuster or Vonage for the X-Lite calls making it useless for this scenario...
Last edited by foganime on Fri Jun 04, 2010 1:18 pm, edited 1 time in total.
genxweb
Dan isn't smart enough to hire me
Posts: 257
Joined: Thu Mar 11, 2010 4:32 pm
Contact:

Post by genxweb »

Sorry I cant help you there I never heard of that utility before. I use a cisco 7940 phone with mine.
Post Reply