I have been successful at using an SPA 2002 and an SPA 3102 to access MJ directly. I don't seem to need any additional software and no unusual configuration to do that however when I try to use the same credentials on my Asterisk box I get the apparently well known "gateway error" which I can see at the CLI prompt.
My question is why would a simple device like the SPA's work without issue and Asterisk have a problem? Whats the history on that?
In my searching I see some people are using a patched chan_sip.c file but I'd like to know why that's needed?
Thanks
Brian
SPA type ATA's vs. Asterisk and chan_sip.c
Moderators: Bill Smith, Pilot
-
briankelly63
- MagicJack Newbie
- Posts: 2
- Joined: Sat May 29, 2010 7:17 am
- Location: NY
Re: SPA type ATA's vs. Asterisk and chan_sip.c
If the SPA-2002 and the SPA-3102 works without the need for MJproxy, the your Asterisk server should also work. Check your MJ trunk to see if there are anything amiss. Maybe you should post your MJ trunk setup. Also, make sure that your ATA is not connected to your network when your Asterisk MJ trunk is trying to register. I don't think you can have both registered at the same time.briankelly63 wrote:I have been successful at using an SPA 2002 and an SPA 3102 to access MJ directly. I don't seem to need any additional software and no unusual configuration to do that however when I try to use the same credentials on my Asterisk box I get the apparently well known "gateway error" which I can see at the CLI prompt.
My question is why would a simple device like the SPA's work without issue and Asterisk have a problem? Whats the history on that?
In my searching I see some people are using a patched chan_sip.c file but I'd like to know why that's needed?
Thanks
Brian
-
briankelly63
- MagicJack Newbie
- Posts: 2
- Joined: Sat May 29, 2010 7:17 am
- Location: NY
Will do some more checking testing and post if I can't get it going.
With all the people using the mjproxy stuff why do you think my barebones ATA work at all? Incoming and outgoing are fine...
Did a little more research on that chan_sip.c patch, apparently its just a piece of code that addresses some non standard "nonce" calculation that is used by MJ
Brian
With all the people using the mjproxy stuff why do you think my barebones ATA work at all? Incoming and outgoing are fine...
Did a little more research on that chan_sip.c patch, apparently its just a piece of code that addresses some non standard "nonce" calculation that is used by MJ
Brian
-
outofthesnow
- magicJack Apprentice
- Posts: 12
- Joined: Wed Mar 24, 2010 8:01 am
So, PLEASE, tell us how you did that with out the mjproxy?
I have a pap2 running with a wrt54gl & dd-wrt [DD-WRT v24-sp1 (07/27/08) mini] that hosts the mjproxy.
see: http://www.phoneservicesupport.com/ddwr ... t6913.html
be sure to read the whole thing.
biggest hint is: sip proxy = 192.168.x.x:5070 <-- what ever your router / computer is running the mjproxy -- MUST HAVE THE :5070
I am looking at setting a few more of these for family & friends.
So the lowest cost method would be best.
I have a pap2 running with a wrt54gl & dd-wrt [DD-WRT v24-sp1 (07/27/08) mini] that hosts the mjproxy.
see: http://www.phoneservicesupport.com/ddwr ... t6913.html
be sure to read the whole thing.
biggest hint is: sip proxy = 192.168.x.x:5070 <-- what ever your router / computer is running the mjproxy -- MUST HAVE THE :5070
I am looking at setting a few more of these for family & friends.
So the lowest cost method would be best.
-
crackerjack
- Dan Should Pay Me
- Posts: 784
- Joined: Fri Nov 16, 2007 9:32 pm
Some earlier vintage MJ accts do not require the added authentication step that is performed by the various methods using mjproxy fix.outofthesnow wrote:So, PLEASE, tell us how you did that with out the mjproxy?
.
There is no way other than trial-and-error to determine if you need the proxy fix
The assumption should be that it is required unless proven otherwise, especially if you are a new adopter.
Last edited by crackerjack on Thu Jun 03, 2010 11:44 am, edited 1 time in total.
Good Luck
CrackerJack
MagicJack Customer #73
MagicJack user since May 2007
MagicJack abuser since June 2007
"I gots mo' numbers than a Lotto machine!!!"
CrackerJack
MagicJack Customer #73
MagicJack user since May 2007
MagicJack abuser since June 2007
"I gots mo' numbers than a Lotto machine!!!"
-
crackerjack
- Dan Should Pay Me
- Posts: 784
- Joined: Fri Nov 16, 2007 9:32 pm
Seeing that you do not need the proxy fix, avoid any suggestion to patch your Asterisk box, which is just one of the many ways to calculate the added checksum values to allow proper authentication.briankelly63 wrote:Will do some more checking testing and post if I can't get it going.
With all the people using the mjproxy stuff why do you think my barebones ATA work at all? Incoming and outgoing are fine...
Did a little more research on that chan_sip.c patch, apparently its just a piece of code that addresses some non standard "nonce" calculation that is used by MJ
Brian
BTW, is your MJ dongle a recent purchase?
Good Luck
CrackerJack
MagicJack Customer #73
MagicJack user since May 2007
MagicJack abuser since June 2007
"I gots mo' numbers than a Lotto machine!!!"
CrackerJack
MagicJack Customer #73
MagicJack user since May 2007
MagicJack abuser since June 2007
"I gots mo' numbers than a Lotto machine!!!"