MagicJack and Asterisk. Driving me bananas!

Having issues with your magicJack? Post here, and we'll try to help you out!

Moderators: Bill Smith, Pilot

Post Reply
rca420
MagicJack Newbie
Posts: 2
Joined: Mon May 31, 2010 11:45 pm

MagicJack and Asterisk. Driving me bananas!

Post by rca420 »


/etc/asterisk/sip.conf
[general]
disallow=all
allow=alaw
allow=ulaw
localnet=192.168.1.0/255.255.255.0
useragent=MagicJack/1.92.530e (SJ Labs)
nat=yes
canreinvite=nonat
register => [email protected]:YYYYYYYYYYYYYYYYYYYYYYY:[email protected]:5070/5165551234
qualify=yes

[8801]
type=friend
username=8801
secret=cisco123
host=dynamic
context=stations
nat=no

[E516555123401]
type=friend
context=users
username=E516555123401
fromuser=E516555123401
fromdomain=talk4free.com
host=proxy01.newyork.talk4free.com
secret=YYYYYYYYYYYYYYYYYYYYYYY
port=5070
nat=yes
useragent=MagicJack/1.92.530e (SJ Labs)
dtmfmode=inband



extensions.conf
[incoming]
exten => 5165551234,1,Dial(SIP/100,120,r)

[outgoing]
exten => _XXXXXXXXXX,1,Dial(SIP/${EXTEN}@E516555123401,30,r)

[stations]
exten => 100,1,Answer
exten => 100,2,Dial(SIP/100,25,r)

[users]
include => stations
include => incoming
include => outgoing
Above is a copy of my sip.conf and my extensions.conf and
For some reason I get 0 SIP registrations when I type SHOW SIP REGISTRY in Asterisk CLI. I know my username and password is all correct and nothing I've tried works.

Would you please share with me your sip.conf template if you have it working in Asterisk? This is driving me nuts~! Thanks! :)
crackerjack
Dan Should Pay Me
Posts: 784
Joined: Fri Nov 16, 2007 9:32 pm

??

Post by crackerjack »

Are you running some implementation of the mjmd5 proxy routine?

Have you tried with just a softphone?

If you have a relatively new vintage MJ you likely need the proxy routine running somewhere
Good Luck

CrackerJack

MagicJack Customer #73
MagicJack user since May 2007
MagicJack abuser since June 2007
"I gots mo' numbers than a Lotto machine!!!"
rca420
MagicJack Newbie
Posts: 2
Joined: Mon May 31, 2010 11:45 pm

Post by rca420 »

Hi there,

I have the mjmd5 rnning on my Tomato Firmware flashed router. Does my sip.info look okay? Thanks
crackerjack
Dan Should Pay Me
Posts: 784
Joined: Fri Nov 16, 2007 9:32 pm

Post by crackerjack »

rca420 wrote:Hi there,

I have the mjmd5 rnning on my Tomato Firmware flashed router. Does my sip.info look okay? Thanks
And.....what about softphone???

you need to point your mj proxy to the ip address of your router, the mdmj5 routine is a 'proxy', no?
Good Luck

CrackerJack

MagicJack Customer #73
MagicJack user since May 2007
MagicJack abuser since June 2007
"I gots mo' numbers than a Lotto machine!!!"
outofthesnow
magicJack Apprentice
Posts: 12
Joined: Wed Mar 24, 2010 8:01 am

Post by outofthesnow »

RCA:

Been there done that :) --- search is your friend, you just have to ask the correct question :lol:

1.
you must have the mjproxy.exe running on your PC
or
"a" mpjpoxy running on a linix /unix box [see pap2 or dd-wrt threads]

2. you then must "point" the Soft Phone {SP} [x-lite] to look at the unit with the proxy. [see x-lite threads]
i.e. on your PC = 192.168.1.101

You'd tell {SP} to look at 192.168.1.101:5070 as the actual place to call to.
mjpoxy.exe would have the proxy01.city.talk4free & 5070 as both in and out.

Hint: the mj passowrd is only numbers & cap letters.


any further questions you really should go visit his site like he suggested.
http://magicjackhacks.net/
It has nice pictures and charts and graphs, a great dog & pony show :lol:
genxweb
Dan isn't smart enough to hire me
Posts: 257
Joined: Thu Mar 11, 2010 4:32 pm
Contact:

Post by genxweb »

I suggest you patch your asterisk box with the file found here: http://www.phoneservicesupport.com/magi ... 43-15.html Go to page 1 of that article for the code to use.

Once you do that you will not need the proxy running.

Side note you can see my article here to show you how to use the mjproxy way with asterisk:

http://www.digitaloffensive.com/2010/03 ... ip-device/
MST
magicJack Apprentice
Posts: 28
Joined: Mon Nov 02, 2009 11:35 pm

Post by MST »

Was able to use MJ with Asteris for over 1 year and now bump

Updated dongle and get what I have to have but I have AUTH SENT and nothing works, reloading, restarting, .....

What coudl be? It is CHicago area.

Thank you
MST
Post Reply