Certificate is a joke does not work

magicJack Tips and Tricks

Moderators: Bill Smith, Pilot

Praetorian
magicJack Apprentice
Posts: 23
Joined: Sat Mar 14, 2009 6:23 pm

Post by Praetorian »

I spent a bunch of time looking for this but after a little time incoming calls go direct to VM, I seen others have this but didn't find any good solutions.

It may due to this but how should we set reg time. Is it 1800?

Please any advice would be appreciated. :)

Also thank you to everyone that has spent allot time on time and for their help..
qwer1304
magicJack Apprentice
Posts: 15
Joined: Mon Mar 16, 2009 8:02 am

Post by qwer1304 »

emoci wrote:
teddy_b wrote:I don't have a DD-WRT router either, but here are a couple binaries compiled using Tomato toolchain.
1. The first one is what I'm running on my Tomato router:
http://www.mediafire.com/file/twkmijnm3 ... ato.tar.gz
It might work on DD-WRT - I have no way to check myself.
2. If the 1st one doesn't work, try the other one:
http://www.mediafire.com/file/n2zzlmkiy ... tic.tar.gz
This one is statically linked with uclibc - the executable is larger but doesn't depend on the libc version - has better chances to run on dd-wrt (only on mipsel routers of course).
Any chance you could write some basic steps about how you got it to run on Tomato...?
1.Enable jffs in Tomato (Admin)
2.Install putty on PC
3.Upload mjproxy to Tomato (jffs) with putty. You need to use the scp method.
4.Chmod mjproxy to 755
5.Put the command line in Tomato scripts (Admin)
6.Change the proxy IP in ATA to that of Tomato

Enjoy your ATA
golf/jetta
MagicJack Newbie
Posts: 6
Joined: Sun Jun 14, 2009 9:08 pm

Post by golf/jetta »

had to update my wrt54gs 1.1v from 10xxx to dd-wrt.v24-12307_NEWD_mega ( heard its more stable for wrt54gs then the new 12424 which is aimed for the N/G [dual band] wrt6XX )

working great.
EXCEPT when i call from my Mj to FPL on the same ata it doesn't ring --> VM. but i can use both lines at the same time, call FPL while using Mj. its as if FPL blocked Mj's number. opened know ports up, even did dmz
lajoejoe
MagicJack Newbie
Posts: 1
Joined: Sat May 23, 2009 5:40 pm

Post by lajoejoe »

az1324 wrote:
hesantos2004 wrote:hello az1324. this program works great. is there a way you can edit the program to remember the proxy and password because i'm trying to run it as a service but it forgets the proxy and password.
Ok here you go. If you save your settings next time you run it it will start minimized to system tray and automatically start the proxy.

http://www.mediafire.com/?mmmt4wcnqyb

AZ????
sorry i dont get this i got a linksys modem which i got working prior to MJ going hay wire, how do i use this now (the download link) you posted) pics would be a great help. Or a step by step for dumb guys like me to understand it. Thanks
propizza
MagicJack User
Posts: 46
Joined: Mon Jan 28, 2008 11:45 am

Post by propizza »

qwer1304 wrote:
emoci wrote:
teddy_b wrote:I don't have a DD-WRT router either, but here are a couple binaries compiled using Tomato toolchain.
1. The first one is what I'm running on my Tomato router:
http://www.mediafire.com/file/twkmijnm3 ... ato.tar.gz
It might work on DD-WRT - I have no way to check myself.
2. If the 1st one doesn't work, try the other one:
http://www.mediafire.com/file/n2zzlmkiy ... tic.tar.gz
This one is statically linked with uclibc - the executable is larger but doesn't depend on the libc version - has better chances to run on dd-wrt (only on mipsel routers of course).
Any chance you could write some basic steps about how you got it to run on Tomato...?
1.Enable jffs in Tomato (Admin)
2.Install putty on PC
3.Upload mjproxy to Tomato (jffs) with putty. You need to use the scp method.
4.Chmod mjproxy to 755
5.Put the command line in Tomato scripts (Admin)
6.Change the proxy IP in ATA to that of Tomato

Enjoy your ATA
what is the command line?
qwer1304
magicJack Apprentice
Posts: 15
Joined: Mon Mar 16, 2009 8:02 am

Post by qwer1304 »

propizza wrote:
qwer1304 wrote:
emoci wrote: Any chance you could write some basic steps about how you got it to run on Tomato...?
1.Enable jffs in Tomato (Admin)
2.Install putty on PC
3.Upload mjproxy to Tomato (jffs) with putty. You need to use the scp method.
4.Chmod mjproxy to 755
5.Put the command line in Tomato scripts (Admin)
6.Change the proxy IP in ATA to that of Tomato

Enjoy your ATA
what is the command line?
/jffs/mjproxy 0.0.0.0 5070 <yourmjproxy> 5070 <yourpassword>
joecanadian
MagicJack Contributor
Posts: 58
Joined: Wed Nov 28, 2007 3:06 am

Post by joecanadian »

Just a note to some of the retarded peoples like myself you need to actually go to the link to get the files.. I was not that smart the first time thinking I could just wget or lynx for them...

So you know u can not..

I feel so much smarter now...

Joe
qwer1304
magicJack Apprentice
Posts: 15
Joined: Mon Mar 16, 2009 8:02 am

Strange event today

Post by qwer1304 »

I'm running a WRT54GL w/ Tomato and mjproxy. The ATA is PAP2T. Everything has been working perfectly.

Today I couldn't get incoming calls, getting the message "All incoming circuits are busy". Outgoing circuits worked fine.

I switched back to MJ and it downloaded a new version and incoming calls were back working.

I checked with Stroth's utilities, but there was no change in any of the parameters that it pulls out of MJ (version, agent string, password, etc).

I switched back to ATA w/o changing anything and incoming calls work fine.

Any ideas?
noetic1
MagicJack Contributor
Posts: 65
Joined: Tue Oct 14, 2008 10:18 pm

Post by noetic1 »

qwer1304 wrote:
emoci wrote:
teddy_b wrote:I don't have a DD-WRT router either, but here are a couple binaries compiled using Tomato toolchain.
1. The first one is what I'm running on my Tomato router:
http://www.mediafire.com/file/twkmijnm3 ... ato.tar.gz
It might work on DD-WRT - I have no way to check myself.
2. If the 1st one doesn't work, try the other one:
http://www.mediafire.com/file/n2zzlmkiy ... tic.tar.gz
This one is statically linked with uclibc - the executable is larger but doesn't depend on the libc version - has better chances to run on dd-wrt (only on mipsel routers of course).
Any chance you could write some basic steps about how you got it to run on Tomato...?
1.Enable jffs in Tomato (Admin)
2.Install putty on PC
3.Upload mjproxy to Tomato (jffs) with putty. You need to use the scp method.
4.Chmod mjproxy to 755
5.Put the command line in Tomato scripts (Admin)
6.Change the proxy IP in ATA to that of Tomato

Enjoy your ATA
qwer1304-
I have a Linksys WRT54GL flashed with Tomato but unfortunately I am not familiar with how to execute the first 5 steps you mentioned in your post. Could you please help me with my questions in red below. Thanks!

1.Enable jffs in Tomato (Admin)- I see the checkbox to enable jffs in the Admin section but am I supposed to enter something in the textbox that says 'Execute When Mounted'?
2.Install putty on PC I installed puTTY but have no idea how to use it.
3.Upload mjproxy to Tomato (jffs) with putty. You need to use the scp method. Could you provide more details on this step. I am not familiar with Telnet features so I'm looking for the exact proper syntax I need to enter after opening up a telnet session.
4.Chmod mjproxy to 755 Where/How is this change made?
5.Put the command line in Tomato scripts (Admin) Where do I put the following command line? In the Admin-Scripts-Init tab? -->/jffs/mjproxy 0.0.0.0 5070 <yourmjproxy> 5070 <yourpassword>
gnimsh
Dan isn't smart enough to hire me
Posts: 165
Joined: Sun Nov 25, 2007 11:00 am
Location: Minneapolis, MN

Post by gnimsh »

So i compiled the C proxy and then tried to run it with the following code: ./mjproxy 0.0.0.0 5070 proxy01.minneapolis.talk4free.com 5070 XXXXXXXXXXXXXXXXX but when I do I get this error: Can't bind listen address (0.0.0.0:5070)

Any tips?
qwer1304
magicJack Apprentice
Posts: 15
Joined: Mon Mar 16, 2009 8:02 am

Post by qwer1304 »

noetic1 wrote:
qwer1304 wrote:
emoci wrote: Any chance you could write some basic steps about how you got it to run on Tomato...?
1.Enable jffs in Tomato (Admin)
2.Install putty on PC
3.Upload mjproxy to Tomato (jffs) with putty. You need to use the scp method.
4.Chmod mjproxy to 755
5.Put the command line in Tomato scripts (Admin)
6.Change the proxy IP in ATA to that of Tomato

Enjoy your ATA
qwer1304-
I have a Linksys WRT54GL flashed with Tomato but unfortunately I am not familiar with how to execute the first 5 steps you mentioned in your post. Could you please help me with my questions in red below. Thanks!

1.Enable jffs in Tomato (Admin)- I see the checkbox to enable jffs in the Admin section but am I supposed to enter something in the textbox that says 'Execute When Mounted'?
No, just tick it

2.Install putty on PC I installed puTTY but have no idea how to use it.
Read the help file. You need the pscp command line utility to copy mjproxy to tomato.
3.Upload mjproxy to Tomato (jffs) with putty. You need to use the scp method. Could you provide more details on this step. I am not familiar with Telnet features so I'm looking for the exact proper syntax I need to enter after opening up a telnet session.
You run pscp from command line with -scp option.
4.Chmod mjproxy to 755 Where/How is this change made?
Telnet into your tomato, then chmod.
5.Put the command line in Tomato scripts (Admin) Where do I put the following command line? In the Admin-Scripts-Init tab? -->/jffs/mjproxy 0.0.0.0 5070 <yourmjproxy> 5070 <yourpassword>
Yes.

If ssh is not enabled by default in your tomato enable it in admin.
See answers in the body in blue.
jeffnyc
Dan isn't smart enough to hire me
Posts: 336
Joined: Sat Nov 17, 2007 10:28 am

Post by jeffnyc »

when you upload the file to tomato, should I upload it in gz format or extract it first and upload the tar file?
Last edited by jeffnyc on Fri Jul 10, 2009 2:48 am, edited 1 time in total.
qwer1304
magicJack Apprentice
Posts: 15
Joined: Mon Mar 16, 2009 8:02 am

Post by qwer1304 »

jeffnyc wrote:When I run putty I put in the the ip of my router and I get network error, connection refused???
Check that ssh daemon is enabled in tomato

Also when you upload the file to tomato, should I upload it in gz format or extract it first and upload the tar file?
Unzip and untar it before uploading to tomato
jeffnyc
Dan isn't smart enough to hire me
Posts: 336
Joined: Sat Nov 17, 2007 10:28 am

Post by jeffnyc »

qwer1304 wrote:
jeffnyc wrote:When I run putty I put in the the ip of my router and I get network error, connection refused???
Check that ssh daemon is enabled in tomato

Also when you upload the file to tomato, should I upload it in gz format or extract it first and upload the tar file?
Unzip and untar it before uploading to tomato
thanks for quick reply

by this statement
/jffs/mjproxy 0.0.0.0 5070 <yourmjproxy> 5070 <yourpassword>

it appears that mjproxy should be in the jffs directory (that dir is read only)- i have it in the root directory - is that correct?

also do i need to change the proxy in my ata to point to my router?

thanks again
qwer1304
magicJack Apprentice
Posts: 15
Joined: Mon Mar 16, 2009 8:02 am

Post by qwer1304 »

jeffnyc wrote:
qwer1304 wrote:
jeffnyc wrote:When I run putty I put in the the ip of my router and I get network error, connection refused???
Check that ssh daemon is enabled in tomato

Also when you upload the file to tomato, should I upload it in gz format or extract it first and upload the tar file?
Unzip and untar it before uploading to tomato
thanks for quick reply

by this statement
/jffs/mjproxy 0.0.0.0 5070 <yourmjproxy> 5070 <yourpassword>

it appears that mjproxy should be in the jffs directory
yes

(that dir is read only)- i have it in the root directory - is that correct?
jffs shouldn't be r/o. login with root. in any case, you can put mjproxy anywhere and update the command line accordingly

also do i need to change the proxy in my ata to point to my router?
yes

thanks again
jeffnyc
Dan isn't smart enough to hire me
Posts: 336
Joined: Sat Nov 17, 2007 10:28 am

Post by jeffnyc »

I got the jffs folder to be accessible by formating it clicking the button from the tomato web interface.

Update: It works. I also put a sleep command in the init tab window - just to make sure all router services are started before trying to exectute the script

Code: Select all

sleep 5
/jffs/mjproxy 0.0.0.0 5070 proxy01.newyork.talk4free.com 5070 mypassword
Praetorian
magicJack Apprentice
Posts: 23
Joined: Sat Mar 14, 2009 6:23 pm

Sveasoft firmware V2

Post by Praetorian »

Hello All,

Does anyone know if you can use JFFS2 or simulate dd-wrt on the new Sveasoft V2.0? I use it as of today on my router but not familiar with it to see if I can simulate Tomato?

Tnx
Praetorian
cooldude929
MagicJack User
Posts: 37
Joined: Thu Jun 11, 2009 8:47 pm

Post by cooldude929 »

Finally got it working. Registration goes okay.

Both incoming and outgoing work, but outgoing calls get dropped after around 3min 25seconds..

Haven't test incoming calls yet.

Do we need to open any firewall ports for MJProxy to work well ?

Thanks
oldtimercurt
Dan isn't smart enough to hire me
Posts: 281
Joined: Sat Feb 07, 2009 11:45 am
Location: Pensacola

Post by oldtimercurt »

cooldude929,
Supposedly, you should never have to open ports to have MJ work.

We're happy you've got it working (sort of) but why the multiple posts?

OTC
cooldude929
MagicJack User
Posts: 37
Joined: Thu Jun 11, 2009 8:47 pm

Post by cooldude929 »

All right.. Sorry about multiple posts.. No one was answering my questions.. thought multiple posts would get more audience..

Thanks
cooldude929
MagicJack User
Posts: 37
Joined: Thu Jun 11, 2009 8:47 pm

Post by cooldude929 »

By the way, connection isn't dropping for you guys?
gnimsh
Dan isn't smart enough to hire me
Posts: 165
Joined: Sun Nov 25, 2007 11:00 am
Location: Minneapolis, MN

Post by gnimsh »

Hey I just wanted to say thanks for the proxy script. I'm running it on Ubuntu 9.04 right now, connected via twinkle. Its been running for 33 minutes with no problems. This has been a godsend, as without it I was going to switch to another voip provider, or even worse, run a VM whenever I wanted to use the phone!

Thanks!
RonV
magicJack Apprentice
Posts: 14
Joined: Mon Dec 08, 2008 2:13 pm

Post by RonV »

Is there any way the moderator of this site could make this thread "sticky" or consolidate the information of this thead with the ATA thread? I hate to see this information roll off the first page since it contains the information on the proxy and how to use it in routers, pbx's, etc.
noetic1
MagicJack Contributor
Posts: 65
Joined: Tue Oct 14, 2008 10:18 pm

Post by noetic1 »

Can someone send me with the commands I need to type once I'm connected to my Tomato flashed router using putty to get the following information-

(1) I want to verify that that I uploaded mjproxy to the correct location in my router.
(2) How do I run the the following command "chmod 755 mjproxy" if the chmod command is not available

I connected to my router using putty by entering my router IP-
Image

Commands available once I successfully connected to my router via putty-
Image
admin
MagicJack Contributor
Posts: 61
Joined: Mon Nov 12, 2007 10:35 am

Post by admin »

RonV wrote:Is there any way the moderator of this site could make this thread "sticky" or consolidate the information of this thead with the ATA thread? I hate to see this information roll off the first page since it contains the information on the proxy and how to use it in routers, pbx's, etc.
If someone wants to volunteer to create a summary of this topic and an appropriate title we can either replace this thread with a new one or rename this one and fix up the first post then make it a sticky.
craigm1
MagicJack User
Posts: 43
Joined: Wed Jun 18, 2008 11:39 pm

PLEASE SOMEONE MAKE A HOW TO FOR USING MJMD5 ON TOMATO

Post by craigm1 »

Just turned a fon router into a tomato router would love a how to on how to install MJMD5 and is there a way of running multiple pap2 lines on one router any help, or screen shots would eb a appeciated.

craigm
noetic1
MagicJack Contributor
Posts: 65
Joined: Tue Oct 14, 2008 10:18 pm

Post by noetic1 »

Guys, I still need help. I did the steps below and I'm getting the dreaded 'Can't connect to login server' registration state on my PAP2 NA. Any suggestions on where I could have gone wrong?

Sorry if the screenshots bother some folks but I want to be clear on what I've done and hopefully it might help other folks with the same problem.

Well, I just took a crash course in putty and Linux and was able to upload mjproxy to my WRT54GL flashed with Tomato.

As you can tell from the screenshot, it took me a while to find the jffs folder and mjproxy file. I noticed that after I executed the chmod command and typed 'ls' again the mjproxy file was displayed in a green color.

Image

I also added the following code in my router's Administration/Scripts/Init tab that I got from jeffnyc's post.

sleep 5
/jffs/mjproxy 0.0.0.0 5070 proxy01.chicago.talk4free.com 5070 mypassword

Image

So, I thought all I had to do was change my PAP2 NA's proxy setting to point to my router. Unfortunately, this didn't work.

Image


UPDATE: I had to manually start mjproxy since I didn't see the process running after I entered the 'top' command. Once manually started it took a couple minutes before my ATA registration changed to 'Online' but all has been good since mjproxy started running on my router.
Last edited by noetic1 on Fri Jul 17, 2009 1:52 pm, edited 2 times in total.
Poo619
MagicJack Expert
Posts: 96
Joined: Tue Nov 20, 2007 9:27 am

Post by Poo619 »

i had to sleep 30 before mine worked on tomato. not sure if it was coincidence or not. i also have the outbound proxy set to the router as well as my mj user/pass still set in the ata
noetic1
MagicJack Contributor
Posts: 65
Joined: Tue Oct 14, 2008 10:18 pm

Post by noetic1 »

Can someone more savvy in Linux confirm if my command below has the correct syntax based on where I uploaded the mjproxy file.

/jffs/mjproxy 0.0.0.0 5070 proxy01.chicago.talk4free.com 5070 mypassword

Image
noetic1
MagicJack Contributor
Posts: 65
Joined: Tue Oct 14, 2008 10:18 pm

Post by noetic1 »

For Tomato users-

I just created a post earlier today which details how to setup a Tomato flashed router to run mjproxy.

http://www.phoneservicesupport.com/toma ... t7055.html
desidude2000
MagicJack User
Posts: 36
Joined: Mon Sep 22, 2008 4:16 pm

Post by desidude2000 »

are any of you getting a fast busy signal on incoming calls? i have to dial a couple of times before MJ rings. occasionally on the first attempt (while using the proxy), i get a fast busy signal when calling MJ.
cd550
MagicJack Newbie
Posts: 5
Joined: Wed Jun 17, 2009 3:40 pm

Post by cd550 »

Do you have "Register Expires" set to 120?
steve_togo
MagicJack Expert
Posts: 84
Joined: Tue Dec 09, 2008 5:32 pm

Post by steve_togo »

Can someone please tell me is it ever possible to open port 5070 on the wan side so we can use our ATA outside the home. I am using DDWRT and i tried so many different commands with iptables but it is not working.
wondabwoy
magicJack Apprentice
Posts: 16
Joined: Fri May 08, 2009 9:48 pm

MJMD5 Help still not working linksys ata

Post by wondabwoy »

If someone would be so kind to help out a distraught and sufferring MJ user. I've looked at all the post mentioning the MJMD5 proxy, and I cannot get mine to register, keeps saying can't connect to login server. My MJ password is correct, and verified. I plug dongle back in to my pc, and incoming and outgoing works, and password is the same, not changed. I am running the proxy on the same pc mj was installed, and then another machine still no dice. I REALLY REALLY NEED to get this working to stop the freaking bleeps during a call. I also have the proxy from philadelphia like MJUser403. I've spent weeks on this, since this fix first came, and it seem so easy. MY last resort is to wipe out all the info and start over again, and maybe use line 2 instead of one, if that makes any difference. Could someone please answer this question for me, since I"m tell the ata to look for the proxy on my pc, do I still need to have the dongle plugged with magicjack still running? Also do I need to change the user id, and password in the ATA, leave blank or what? Do I still need to leave my user id Exxxxxxxxx01 in the auth field, and select yes to authenticate? Thx for any insight or help!
MJuser403
magicJack Apprentice
Posts: 26
Joined: Sat Jan 24, 2009 5:16 pm

Re: MJMD5 Help still not working linksys ata

Post by MJuser403 »

You don't have to leave the MJ in the dongle. It probably is a bad idea to have it in the dongle. If you can take a screenshot of your LINE 1 page in your router and post it here, we can all look at it to see if you have it set right. It shouldn't matter if your user id is visible, just as long as the password is not (it probably will show up as asterisks, which is good).
wondabwoy
magicJack Apprentice
Posts: 16
Joined: Fri May 08, 2009 9:48 pm

Re: MJMD5 Help still not working linksys ata

Post by wondabwoy »

MJuser403 wrote:You don't have to leave the MJ in the dongle. It probably is a bad idea to have it in the dongle. If you can take a screenshot of your LINE 1 page in your router and post it here, we can all look at it to see if you have it set right. It shouldn't matter if your user id is visible, just as long as the password is not (it probably will show up as asterisks, which is good).
Sure, definitely no problem, and I might mention that when sipsorcery was up, I was able to use that with the same password, and it worked till MJ caught on, and blocked sipsorcery.
Here is my info page:
Image

Image

And here is how I have my MJMD5 proxy server setup:
Image
blueadept
magicJack Apprentice
Posts: 12
Joined: Sun Apr 27, 2008 5:32 pm

Re: MJMD5 Help still not working linksys ata

Post by blueadept »

wondabwoy wrote: And here is how I have my MJMD5 proxy server setup:
Image
I am having a similar problem using the same proxy as this user. I get the same error message. I use the command line version for linux and also tried the windows one. I get the same cannot connect to the login server message. I have not verified that all my settings are exactly the same as this user, but I know mine had worked before they changed stuff and cant seem to get it to work with the philly proxy.

Is it possible to use a different proxy? If so, is there a list somewhere?
dtm
MagicJack Expert
Posts: 95
Joined: Sun Jul 27, 2008 10:22 pm
Location: In the hardware.

Post by dtm »

Yes you can use any proxy. It is wise to use one close to you to reduce the delay.

I also suggest that all use the actual IP address instead of the name. You and find this address by using tracert or nslookup in a command window. This eliminates a lot of issues with DNS.

xxx.xxx.xxx.xxx:5070

Here is a link to an old list. There may be a better one somewhere.

http://www.dslreports.com/forum/r209511 ... -are-using
nulland
magicJack Apprentice
Posts: 18
Joined: Mon Nov 03, 2008 12:25 am
Location: Torrance, CA US

Post by nulland »

@wondabwoy

From the SIP Page of the your post, it says your ATA has sent 20 messages but has received none. This could mean your Windows firewall of your PC is blocking mjmd5 (mjproxy). Try allowing mjmd5 through the firewall. Also, set NAT mapping enable to: No. Hope this helps.
kp
magicJack Apprentice
Posts: 19
Joined: Wed Jun 10, 2009 9:00 am

Post by kp »

I am having the same problem as wondabwoy and blueadept. I have a fairly new magicjack (bought in july) that is being problematic. I am using the linux mjproxy, and it is working fine with my older magicjacks. I was able to pull the sip info and i have verified that is it correct. But yet i am still unable to register.
blueadept
magicJack Apprentice
Posts: 12
Joined: Sun Apr 27, 2008 5:32 pm

Post by blueadept »

I reset my pap2-na back to factory and started over. It worked this time and I am up and running.

It must have been an incorrect pw or setting somewhere.
kp
magicJack Apprentice
Posts: 19
Joined: Wed Jun 10, 2009 9:00 am

Post by kp »

I tried that. If i try connecting via twinkle or some other softphone it still does not work.
i3igmind
MagicJack Newbie
Posts: 8
Joined: Sat Aug 08, 2009 8:38 pm

i am lost

Post by i3igmind »

Hi every one,
please excuse my ignorance, but i am lost i don't know where to start! i got my Username Exxxxxxxx01 "which i think a 2 yrs old could do that" :)
for the password i used AutoMagic and i am not sure is this is the right password!

For now i am trying to setup x-lite just to test it, after that i will use it my Asterisk box.
but how can i use a proxy? which one do i use? MJproxy where can i get it? i saw guys here talking about flashing a linksys router ... well like i said i am in a complete lost ...please help.

thank you in advance!
It is always layer 8 problem!
dbean
magicJack Apprentice
Posts: 22
Joined: Sat Mar 27, 2010 6:28 pm

Post by dbean »

teddy_b wrote:Ok, here's the plain C version of the simple MJ proxy:
http://www.mediafire.com/file/yzwmjzotm ... y.c.tar.gz.
It works exactly the same as the az1324's app - the only difference is that it doesn't need mono to run on Linux - can be compiled for [almost] any linux distribution, including embedded systems like OpenWRT.

Of course, you need to know how to compile applications from sources for your linux system. You can create a Makefile, or just run gcc to compile it, somethig like:
gcc -o mjproxy md5.c mjproxy.c

Run it using the following command:
mjproxy listen-ip(can use 0.0.0.0) listen-port your-preferred-mj-proxy-server-addr mj-proxy-port(should be 5070) your-mj-password
The listen port should also be 5070 for incoming calls to work, however outgoing should work with any listen port.

Then configure your client the same way as you did for az1324's proxy - specify the listening IP and port of the proxy as the outbound proxy on your ATA or * trunc. Just remember not to expose this proxy to the Internet without additional protection, as anybody who can connect to it will only need to know your MJ phone number to be able to register and make calls using your MJ account.

You can modify the app as you wish - clean up the mess in my code (I've been doing .NET stuff for too long), add more console output or logging, add support for config file, make it to replace user-agent, etc etc... But I suggest you don't spend too much time on it - MJ seems to be determined to screw up any attempts to use MJ service without the dongle, so I bet it's not going to last long... And the next time dtm may not be around to discover the changed algorithm, or it will take someone too long to figure it out...
compiled this using ubuntu.

Ordered pap2t-na. Once I get that setup, want to run mjproxy on ubuntu PC.

From ubuntu terminal I run the following cmd line:

Code: Select all

./mjproxy 0.0.0.0 5070 proxy01.mycity.talk4free.com 5070 xxxxxxxxxxxxxxxxxxxx
but get "can't bind listen address 0.0.0.0:5070.

What should the listen-ip be? the ip of ATA, router or ubuntu pc running mjproxy?

TIA
richitza
MagicJack Newbie
Posts: 1
Joined: Mon Apr 26, 2010 5:33 pm

what about DD-WRT instead using Tomato ...

Post by richitza »

what about DD-WRT instead using Tomato ... will work with DD-WRT or not?
I have one Linksys WRT-54GS but is version 5.1 and Tomato isn't working with my router. If I will put DD-WRT v24 firmware will work with this proxy. I found DD-WRT have SSH acces ( http://www.dd-wrt.com/wiki/index.php/Script_Examples ). How can I compile c source of mjproxy for WRT-54GS?
Post Reply