asterisk curiousity

magicJack Tips and Tricks

Moderators: Bill Smith, Pilot

Post Reply
desidude2000
MagicJack User
Posts: 36
Joined: Mon Sep 22, 2008 4:16 pm

asterisk curiousity

Post by desidude2000 »

i have an ATA working properly. (pap2 original version). i've also played around with the dlink vta-vr, and as someone posted, it refuses to authenticate due to it's inability to pass alphabets in authentication.

i'm a hacker at heart, and love to tinker with things. i have a hacked buffalo linkstation which has a full blown debian distro on it. on this box, asterisk is just an apt-get away.

question is: what do i gain by using asterisk over connecting directly via the ATA?
mberlant
Dan Should Pay Me
Posts: 829
Joined: Sun Feb 01, 2009 7:47 pm
Location: Japan

Post by mberlant »

You gain all of the flexibility of having a PABX under your control. You can mix other services, both paid and free. You can set yourself up with multiple extensions and have each inbound call go in a different direction or all at once. For example, you can have two extensions on your PAP2 at home, one for you and one for your child. You can have another extension on your WiSIP phone or your WiFi enabled (or true 3G) cell phone.

You will find that Asterisk works very well on an embedded system like the Buffalo LinkStation or the Linksys WRT-54GS router. The limited horsepower of the processor, though, means that you cannot do any true voice processing. This means no CODEC transcoding (your cell phone with GSM CODEC talking through Asterisk to MJ's G.711 DID gateway), no voice mail, no Music on Hold, no IVR, etc. The reduced CPU power will make a choppy mess of any voice that actually needs to be processed.

Even with this limitation, if you permit only G.711 and don't use the other features, your LinkStation should be able to handle multiple simultaneous calls (limited only by your available bandwidth) and to manage as many service accounts (trunks) and client devices (extensions) as you desire.

I have implemented Asterisk on both LinkStations and WRTs and have found them to be excellent low power, portable tools. In fact, when I travel one of the tools I carry is a Buffalo router with 2GB SD, DD-WRT, and Asterisk. It affords me everything I need to set up a new customer who doesn't yet have all of his permanent infrastructure in place.
desidude2000
MagicJack User
Posts: 36
Joined: Mon Sep 22, 2008 4:16 pm

Post by desidude2000 »

thanks for the reply. i'm trying to get started with asterisk.
correct me if i'm wrong. at first, i just want to learn. baby steps first and then bigger things.

here's what i imagine:

1. i'll install asterisk on the linkstation (done)

Code: Select all

linky:/etc/asterisk# asterisk -V   
Asterisk 1.4.21.2~dfsg-3
2. i'll configure the linkstation and modify the sip.conf to authenticate against the MJ SIP servers (will search and try to do this on my own). i'll keep in mind to disable my MJ line on PAP2 when attempting to connect using asterisk.

3. once I have my linkstation connect to MJ servers, i'll reconfigure my PAP2 to connect to the linkstation's asterisk server instead.

(just to get started)

do i have the correct thought process? also, any getting started threads (specifically with MJ + asterisk) that you can link me to?
mberlant
Dan Should Pay Me
Posts: 829
Joined: Sun Feb 01, 2009 7:47 pm
Location: Japan

Post by mberlant »

You seem to be on the right track. This thread should give you some hints as to what to put into sip.conf to get connected to MJ.
reelbigfish
MagicJack Newbie
Posts: 6
Joined: Tue Aug 11, 2009 11:16 am

Magic Jack as my PSTN for an Asterisk test server

Post by reelbigfish »

I have a MJ and a working Astrisk server with some sip phones. I'd like to use the MJ account as PSTN provider for my Asterisk test box.

I've captured a Sniff of MJ but I'm not sure what I need and how to find it.

Any help will be greatly appreciated. Thanks
pagemen
Dan isn't smart enough to hire me
Posts: 128
Joined: Mon Dec 15, 2008 6:36 am

Post by pagemen »

That's confusing, do you want the MJ as SIP or PSTN trunk? for SIP, you need to get MJ credentials then couple it with MJProxy/MJMD5 or have your Asterisk patched since MJ now uses non-standard SIP auth. process. For PSTN, run MJ dongle in another Windows PC then connect to the Asterisk server via a FXO card, there is no need to sniff anything, just configure it as a regular PSTN line.
MST
magicJack Apprentice
Posts: 28
Joined: Mon Nov 02, 2009 11:35 pm

Post by MST »

Did you get your Asterisks SIP trunks working?????????????

i have bought new MJ from RADIOSHACK a week ago and no luck with SIP trunk.

As good example I have used my 1st MJ from 2007 that is used as SIP trunk and it still working !!!!!!!!!

Any advice?

thanks
MST
Post Reply