Slashdot Mirror


Asterisk 1.8 Released With Support For Google Voice

Thinkcloud writes with a note that long-standing open-source VoiP software Asterisk has just been updated, and it's packed with more than 200 enhancements, security updates, and new features — including calendar integration and support for Google Voice and Google Talk. Asterisk's fully-featured PBX includes call waiting, hold and transfer, caller ID, and other useful tools so it's a great option for small businesses that need to watch costs."

20 of 83 comments (clear)

  1. Small businesses that need to watch costs? by ickleberry · · Score: 2, Insightful

    I don't think any business can "spend like they just don't care" in these recessionary times. Except maybe Google themselves

    1. Re:Small businesses that need to watch costs? by mrsteveman1 · · Score: 3, Funny

      in these recessionary times

      *drink*

    2. Re:Small businesses that need to watch costs? by icebike · · Score: 4, Interesting

      Unfortunately, the small business is HIGHLY unlikely to have any of the skill set to get asterisk running, negotiate the Voip mine-field, and not lose calls and voice mail, and generate crippling telephone disruption for the entire business.

      The benefits it offers just start to make it worth while at about 25 users or so, due to the falling prices of cat5 phone systems which you can pick up for pretty cheap these days, especially on the used market.

      Asterisk is probably not really warranted until you have a hundred desks or so, and only then if you happen to have a fairly good geek on staff.

      It is scalable, but not for the entry level technician unless all you want it to do is handle voice mail.

      --
      Sig Battery depleted. Reverting to safe mode.
    3. Re:Small businesses that need to watch costs? by Low+Ranked+Craig · · Score: 4, Interesting

      There are a number of packaged implementations, like PBX in a Flash and Elsatix. If you have basic knowledge of TCP/IP networking you can work your way through it. There are lots of tutorials. I wrestled my way through it and found that it's not that hard unless you need copper lines. Just need to pay special attention to security so you din't end up with a $10,000 phone bill. We're getting ready to dump Vonage for straight VOIP by the minute. For what I'm paying Vonage every month I can have 3 numbers, each with 2 "lines" and 5 times the minutes. We went from PacBell, to Cox to Vonage and now to ala carte VOIP - our phone bill will have gone from $75 to $15 a month...

      --
      I still cannot find the droids I am looking for...
    4. Re:Small businesses that need to watch costs? by Albanach · · Score: 3, Interesting

      Crikey, I've run my house on asterisk with very little maintenance for the best part of a decade. I have multiple incoming numbers, least cost routing, Direct Inward System Access on a 1-800 number which I can use from hotels/airports etc, conference calling that gets used for family calls and work. An added bonus is the easy NAT traversal of the IAX protocol. It's easy to get a box up and running behind a domestic router.

      For anyone looking for a really easy set-up, there's things like Trixbox.

      Certainly it can seem daunting and there are pitfalls to beware of. However, small businesses are often spending a fortune on telephony that could be better placed, or they could be enjoying a feature set well beyond that currently available to them. As an example, we had a Nortel PBX with about 20 extensions and were looking for an extra two lines. Either we needed a card installed to provide the extra lines, or they could make a software change to enable VoIP and we could have added two SIP phones using our existing networking. The cost of either option was > $3,000.

    5. Re:Small businesses that need to watch costs? by icebike · · Score: 2, Insightful

      But you sir, are a geek. /tips hat/.

      And presumably no one paid for your time.

      --
      Sig Battery depleted. Reverting to safe mode.
    6. Re:Small businesses that need to watch costs? by adamstew · · Score: 3, Informative

      Asterisk has AGI. Think CGI, but through asterisk instead. You can hook asterisk in to PHP, Perl, Python, etc. You can use your scripts to create your own voice menus, and program your own functionality.

      It's fairly simple. I setup asterisk at my company, which is a fairly large health clinic. I wrote a script (executed by cron) that connects to our practice management software, pulls down a list of appointments for the next day, and makes an automated phone call to each patient reminding them of the appointment. It's fairly sophisticated: It detects answering machines and will wait until the "beep" before it leaves a message, tells the patient the date, time and the name of the clinician that they are seeing and asks them to "press 1 to confirm" or they can "press 2 to speak with a receptionist". It also manages the outbound bandwidth, it never has more than 5 calls going simultaneously. It will also try busy numbers and no answers 3 times, waiting 5 minutes between each try.

      After it finishes the calls, it e-mails the log of what happened to one of our receptionists who handles the exceptions...no answers, busy, disconnected numbers, etc. It also keeps a verbose record of exactly what happened throughout each call... time it dialed, when it was answered, if it left a message, what the user did, etc. Finally, it has a "do not call list" that the system won't call a patient if they've asked not to receive them.

      Overall, it's pretty limitless. If you have some API for your garage door, thermostat, etc. that you can interface with PHP, Perl, Python or a number of other languages, then you're good to go.

  2. Can I do this with Asterisk? by nikomo · · Score: 3, Interesting

    This is extremely off-topic, but this is a good place to ask this question. Could I host Asterisk on my VPS and then call other people through Asterisk with my Nokia phone that supports SIP (both through WiFi and 3G/3.5G). Basically, SIP-call to my friend's SIP-supporting phone who's connected to my Asterisk, from my SIP-supporting phone that's connected to the same Asterisk. Figure it would basically be free calling since we all have unlimited 3G plans.

    1. Re:Can I do this with Asterisk? by sslayer · · Score: 3, Insightful

      Yes, you'll be able to do that. That is, probably, the most basic functionality of Asterisk. You can, as well, make your Asterisk server connect to another SIP provider (like voipbuster and the like) and redirect your phone calls through the trunk it provides. And that's just the beginning...

    2. Re:Can I do this with Asterisk? by Bert64 · · Score: 2, Insightful

      You can, this is exactly what asterisk is for..
      Be careful about the ToS with your telco - they might explicitly forbid the use of voip over 3G, and might actually block it at a technical level. You might need to hide the traffic in a VPN, or one telco i'm aware of blocks SIP but doesn't block IAX.

      You can do a _LOT_ more with asterisk than just that tho, for instance you could sign up with sipbroker which would let people in many countries around the world call you for the price of a local rate call, you could sign up with a selection of providers to make cheap outbound calls and you can setup fancy menu systems and have hold music playing like large companies have been doing for years, you can even put telemarketers into a queueing system or have scripts to annoy unwanted callers based on callerid etc.

      --
      http://spamdecoy.net - free throwaway anonymous email - avoid spam!
    3. Re:Can I do this with Asterisk? by wolrahnaes · · Score: 2, Informative

      I've been intermittently experimenting with VoIP over mobile networks for the past few years, and it seems very carrier dependent. Myself and a coworker have both used softphone clients on jailbroken iPhones over the AT&T network, both EDGE and 3G, with decent success. EDGE was a bit flaky with G.711 and G.722, but G.729 was solid and 3G worked fine with all. Latency was a bit unpredictable on both, though much more stable on 3G (150-400ms vs. 200-900ms). On 3G it's never made a call intolerable.

      For the past few weeks I've been using Sipdroid on an HTC Evo on the Sprint network. I've had it on Sprint native 3G as well as roaming on Verizon 1xRTT and in both cases had usable G.722 and G.711 calls. I've never had to fail down to a sub-64k codec and I've even used it while in a moving vehicle (which tends to hurt mobile data performance).

      --
      I used to get high on life, but I developed a tolerance. Now I need something stronger.
    4. Re:Can I do this with Asterisk? by GNUALMAFUERTE · · Score: 2, Informative

      Agreed on the network-dependent part. Bandwidth is usually not the problem, with high-compression codecs and good silence detection you can squeeze voip on plain old GPRS (I've done it using GSM and g729). Latency is always your biggest enemy. Remember, you are measuring your latency up to your server, from there, you have to add termination latency, which of course varies according to your destination. Calling overseas becomes an issue, because you'll be dealing with at least 200ms from 3G latency + another 150-250ms to the destination. I guess it all comes down to your phone usage (that is, what kind of destinations you call) and what coverage you have on your area. In my case, I mostly deal with companies (that tend to use VoIP on their side, that means increased latency), and the coverage in my area isn't great sometimes (Buenos Aires, Argentina), so I have to deal with > 500ms overall (that is, phone to phone, counting 3G latency, termination, endpoint latency, etc). Unusable for ~50% of my calls. I just said fuck it, and went back to using my cellphone carrier.

      --
      WTF am I doing replying to an AC at 5 A.M on a Friday night?
  3. Don't use Google Voice for anything critical by Animats · · Score: 3, Informative

    Google Voice is useful and fun, but its interface with the telephone network remains flaky. See "Can't send text message from sprint phone to my Google voice number" and "Google number not callable from certain numbers" Google Voice seems to have an ongoing problem keeping their blocks of phone numbers properly visible to other carriers. Troubles have been reported with Sprint, Verizon, and T-Mobile numbers for over a year now. There are also some limitations on calling into and out of Google Voice from VoIP systems.

    The problems may stem from the fact that Google didn't implement Google Voice. It's just "Grand Central", acquired and re-branded. It's not a "telco quality" system. It's not ready for prime time as your main phone system for a business.

    1. Re:Don't use Google Voice for anything critical by Anonymous Coward · · Score: 2, Interesting

      These issues you name actually happen with all companies.

  4. Re:Vs Freeswitch by man_of_mr_e · · Score: 2, Insightful

    Yeah, I may be wrong, but I think Asterisk *Still* does not support SRTP after all these years.

    This leads me to wonder why so many protocols are unencrypted on the internet. most IM's, SIP, H.323, etc.. it's just ridiculous how much information people are giving away across unencrypted connections.

  5. Re:What can a home user do with askerisk? by Anonymous Coward · · Score: 2, Interesting

    You just need a SIP provider like Gizmo5. They are now owned by Google. This lets me make and receive unlimited free calls to anywhere in the US from any device that has a SIP client like my PC or my iPhone. As long as data is unlimited then calling is unlimited since its all VoIP on my end. Google Voice provides the link to PSTN.

    If I call out, Google voice calls my Gizmo5 SIP number and my other party. If someone calls my Google Voice number, Google calls my SIP and connects me with the caller.

  6. Re:What can a home user do with askerisk? by sampas · · Score: 3, Informative

    I replaced my home landline with an Asterisk box running on a Supermicro Atom D510 mboard, specifically PBX in a flash, which is the Cliffs' notes version of FreePBX. FreePBX is based on Asterisk, but provides a spiffy web interface for configuration that's more advanced and free-er than the others. That said, you'll still need to be comfortable at the command line on Linux and a text editor such as vi.

    With Asterisk, you can do voicemail, have your voicemail emailed to you, have multiple boxes, pay $1.50 per month for a phone number plus $.01/minute for calls with a SIP provider such as Vitelity. You can have conference calls (you'll need to pay $10/channel for g729 if you want to scale at all on home bandwidth, though.)
    You can have ring groups, different extensions, etc. I have one for emergency late-night network issues, which only those with the secret extension can access to wake me up.

    There's an unlimited number of stupid tricks you can do, but you'll need to learn the difference between trunks, routes, and dial plans. That said, it's pretty cool. But then you'll want to buy Aastra SIP phones, which come with open-source phone applications, so it will cost you more. If you want to light up your in-house phone lines, it's $200 for an FXS card. If you want to use an existing landline as a trunk, it's $200 for an FXO card. (Double check which is which before you buy because I can never remember which is which.)

    The best part about running your own PBX is that (1) you can send telemarketers to voicemail hell and (2) it's trivial to fake callerID, which helps with (1).

  7. Re:Vs Freeswitch by kasparov · · Score: 5, Informative

    You are wrong. Asterisk 1.8 supports SRTP. I know, because I merged it myself. :-p

    --
    There's no place I can be, since I found Serenity.
  8. Re:What can a home user do with askerisk? by kasparov · · Score: 2, Informative

    You get an inbound number with Google Voice. You can now have that routed to an Asterisk box. From there, you could do any kind of filtering of the call you want. You could have Asterisk check your calendar to see if you are currently in a meeting and handle the call differently from there. You could get a SIP client for your smartphone and register it to your Asterisk box at home and then make make free outbound calls with Google Voice w/o having to have any voice plan. Asterisk makes it possible to do just about anything you want with a call. If you want to set it up so you only receive calls from one group of numbers M-F 8-5, and want only certain contacts to be able to call you after midnight--no problem. If you are a control freak, you should love Asterisk.

    --
    There's no place I can be, since I found Serenity.
  9. Re:What can a home user do with askerisk? by wrook · · Score: 4, Informative

    As others have said, Asterisk becomes much more obvious if you have an ITSP (Internet Telephone Service Provider). Here's an example of what I have done with it. I moved to Japan 3 years ago, but I still wanted to keep in touch with my friends. Calling long distance to/from Japan is expensive, no matter what plan you have. So I bought a DID (Direct Inward Dial) for my old home town. This gives my friends a local number to call. It routes over the internet to my Asterisk box and rings a softphone on my computer in Japan. The DID costs me $5 a month. Of course, there is a huge time change between Canada (where I moved from) and Japan. Asterisk has voice mail. If my phone isn't running on my computer, Asterisk takes a message and emails me the contents. When I wake up in the morning, I can listen to the message from my email and call the person back. Outgoing calls cost me 2 cents a minutes to North America and there are unlimited plans with many ITSPs (I don't bother because I don't make many outgoing calls).

    Even without an ITSP Asterisk is useful. Perhaps you are used to using Skype or Google Talk to make computer to computer voice calls. Asterisk lets you talk to your friends using SIP (and now I guess Google Talk), but still have all the PBX features. So for instance, if your friend wants to send you a voice mail via SIP they can. You can set up conference calls fairly easily as well. You can buy very inexpensive USB handsets that look like telephones and hook them up to your computer. If you set your softphone's audio device to the handset, it ends up working pretty much like a normal phone. Or you can buy a SIP handset (a bit more expensive) and simply plug it in anywhere you have a network connection. This allows you to set up as many extensions controlled by your Asterisk PBX as you want. It's handy if you have kids, especially since DIDs are really, really, cheap.

    Finally, for some fun you can easily set up ring groups on Asterisk. Talking on a cell phone is generally expensive. Instead, you can set up a DID for your Asterisk box and everyone can call you there. If you have your softphone up, it will ring that first. If it isn't up (or you don't answer it) you can get it to call your cell phone with an outgoing call. You can even set up a voice mail menu that asks the calling person if they would rather leave a message or try your cell phone. And to be even fancier you can vary the response based on who's calling. If it's someone you don't know you can direct them to voice mail immediately, if it's someone you don't care about much you can just allow them to ring the softphone, if it's likely to be important than you can forward to your cell.

    This should give you a few ideas. There are really an endless number of options. Especially since you have source code with Asterisk you can make it do whatever you want.