You are on page 1of 29

Nerd Vittles

Ward Mundy's Technobabblelog


Download Incredible PBX Virtual Machine for Windows, Mac, Linux , and Solaris desktops. It's FREE!

VoIP on Steroids: Introducing Incredible PBX 3.6 for the $35 Raspberry Pi
We feel like a kid in a candy store with our new $35 Raspberry Pi Model B. Imagine squeezing a 700 mHz ARM processor with 512MB of RAM, 2 USB ports, a 10/100 Ethernet port, an HDMI port, composite video, a separate audio jack, an SDHC card slot, and a micro USB port onto a motherboard the size of a credit card with a total weight of 1.6 ounces and a typical power draw of 3.5 watts. Thanks to Gernot and his Asterisk for Raspberry Pi project, a full LAMP stack with Asterisk and FreePBX gave us a head start on turning the Raspberry Pi into yet another Incredible PBX platform complete with free Google Voice

calling.1

Trust us when we say the performance of this $35 computer is nothing short of amazing. Can it do everything a $200 dual-core Atom PC can do? No. Can it do 90% of everything for someone whose requirements do not exceed a few simultaneous calls at a time but still wants a full-blown PBX for call routing, voicemail, IVRs, music on hold, and text-to-speech and speech-to-text apps for a home, a SOHO office, a Little League team, or a dorm room? Absolutely. Were now at the two-month mark with this project, and the Raspberry Pi Foundation already has released a 512MB version of the computer at the same price AND new firmware that autodetects the proper memory setup depending upon whether you have a 256MB or 512MB Pi. Version 3.5 and beyond incorporates the new firmware into Incredible PBX.

The honeymoon isnt over yet. Incredible Pi 3.5 featured the very latest Debian 7 firmware specifically tailored for the Raspberry Pi from its developers. You can read all about it here. Is it better? Can you spell ROCKET SHIP? With a reliable power supply, you now can overclock the Raspberry Pi and join the 1GHz Club. That represents a 50% performance improvement. And doubling the RAM to 512MB now makes the Raspberry Pi a near perfect VoIP platform. Better yet, the Raspbian kernel handles management of the overclocking so you never have to confront Fried Raspberry Pi. When the CPU temperature gets too high, the kernel will throttle things back to avoid a disaster. And version 3.6 adds Incredible Fax to the platform for those with a 512MB Raspberry Pi. The complete tutorial is available here. Eben Upton Visits Charleston. The developer of the Raspberry Pi, Eben Upton, and his lovely wife, Liz, made a brief appearance in Our Town last Thursday night. Makelab Charleston, in cooperation with the College of Charleston and the Lowcountry Graduate Center, hosted the event. With an SRO crowd, we all got to hear the Raspberry Pi story first hand. If you missed the presentation, you missed a real treat. Heres the Orlando Sentinels video with Eben when he visited FamiLAB the following day:

Whats New in Incredible PBX 3.x. For those of you already running a previous version, heres a quick thumbnail of the other new features in addition to overclocking. Weve tried to mimic as much of the previous builds as possible. But keep in mind that this is a new creation from the ground up because there was no migration path from Debian Squeeze and Wheezy to Raspbian. But we keep good notes, and Gernot did much of the heavy lifting. Incredible PBX 3.5 and beyond adds automatic detection and support of 512MB Raspberry Pi devices without touching anything. And the latest version 3.6 adds an awesome fax server to Incredible PBX for those with a 512MB board. The complete tutorial is available here. update-my-pi in the /root folder of your server helps to safeguard your system by bringing it up to date with the latest fixes and enhancements. After running it the first time, it gets run automatically whenever you log in as root. For the safety of your server, dont disable it! Its free for the first ten updates, and then its just $20 a year. We have to eat, too. If you are philosophically opposed to ever spending a dime to support the open source movement, then feel free to load the latest version of Incredible PBX at no cost whenever you like. It will always be free! Then you can restore your settings using the backup

and restore feature built into FreePBX. To enable overclocking at your own risk, run: raspi-config. Overclocking works for us. YMMV! The key is a good power supply. If youre using an SD card larger than 4GB, version 3.3 and beyond now can resize your partitions on the fly. Just choose the option in raspi-config and reboot. Even though the kernel now monitors CPU temperature and manages overclocking, its always nice to see for yourself. To monitor the CPU temperature, just run the status program which provides a current snapshot anytime. Temperature data now is provided on the FreePBX Dashboard as well.

Theres more good news. Networking is much more stable; however, weve dropped support for the TP-Link WiFi adapters. So youll need the recommended AirLink 101 N-150 if you want WiFi capability. In the 3.3 release and beyond, your server will automatically attempt to connect to any open WiFi network that it can find. Weve also added two scripts in /root to let you restart either your wired or wireless network and designate it as the primary network: restart-eth0 and restart-wlan0. Time zone management was also a bit of mess with multiple file settings required to support both Linux and PHP. In the 3.3 update and beyond, youll be prompted to select your timezone when you first log in as root. The setup script will automatically apply your entry in all the right places. Weve also replaced SendMail with Exim to simplify the process of using an SMTP mail gateway such as Gmail. Weve documented the procedure for making the change here. As part of the 3.x migration, weve also eliminated the pi user account. Everything you need to do to configure Incredible PBX requires root permission. So goodbye sudo. Only the root user account is included, and the default password is raspberry. Change the password when you first log in. New SSH and DUNDI keys now are automatically generated when you first boot your server. The FreePBX Backup and Restore Utility is included in this new build. AsteriDex SpeedDials have been fixed. Enter 3-digit Dial Codes in AsteriDex, and you can call by dialing 00nnn. In the latest update, Telephone Reminders again work.

X Windows is included in this build. This wont work with SSH. For a demo slideshow, plug in a real monitor and log in as root. In the /root folder, enter the command: startx. To end the slideshow, press ESCape. To disable the slideshow: mv .xinitrc xinitrc. To add photos, copy .jpg images into /root/slideshow. No mouse is required for the slideshow but, if you run X Windows natively, youll need a USB mouse. The SMS Blasting app in /root now supports phone numbers (which use SMS) and email addresses (which use SendMail). Last but not least, a sophisticated Conference Bridge has been added to Incredible PBX 3.x releases. If you route one of your inbound DIDs to the predefined IVR, users can press 0 and enter 1234 for the conference PIN to join the conference. Local extensions simply dial C-O-N-F. Weve already tested a 9-person conference call with excellent results. But dont take our word for it. Try it for yourself. Just call our demo Raspberry Pi AutoAttendant and take the Conference Bridge and a handful of other Incredible PBX apps for a test drive:

And heres what the conference call looked like in the FreePBX Dashboard:

So you dont have to jump around between articles, weve put together this Quick Start Guide that tells you everything you need to know to get up and running in about an hour. Most of that time will be consumed copying the Incredible Pi image to an SD card. So theres plenty of time for lunch during the hour. Once your system is running and youve completed the setup steps below, then jump over to the application tutorial which explains how to use every one of the 35 Incredible PBX Apps for the $35 Raspberry Pi.

What to Buy. Heres everything you need to get started.2 The case is optional. Yes, you can run the Raspberry Pi sitting on your desk with no case. Its only 5 volts. WiFi is also optional. Theres a 10/100 port on the Raspberry Pi that gives you all the networking you need. Here are the links to buy the pieces. You also need a CAT5 cable and either a spare PC or Mac with Putty or SSH and a pair of earbuds or an HDMI cable to connect to a TV or monitor and a USB keyboard. $35 512MB Raspberry Pi from MCM or Newark or Amazon $10 Power Adapter (this one is rock solid!) $10 SanDisk 16GB SDHC Type 4 card $15 Adafruit Acrylic Case $13 AirLink 101 N150 WiFi Adapter or Adafruit Mini WiFi Adapter

Setting Up Google Voice. If you want free calling in the U.S. and Canada, then youll need a Google Voice account, and youll need one dedicated to Incredible Pi, or it wont work. Log out after setting up the new Google Voice account! Register for Google Voice account (no funky characters in your password!) Enable Google Chat as Phone Destination Configure Google Voice Calls Settings:
Call Screening OFF Call Presentation OFF Caller ID (In) Display Callers Number Caller ID (Out) Dont Change Anything Do Not Disturb OFF Call Options (Enable Recording) OFF Global Spam Filtering ON

Place test call in and out using GMail Call Phone Baking Your Incredible Pi. The disk drive for the Raspberry Pi is an SD card. So what you need to do is download Incredible Pi and copy the image onto an SDHC card. Mac and Linux installers are included. For Windows, just use Win32 Disk Imager. Here are the steps: 1. 2. 3. 4. 5. Download the Incredible Pi package Decompress the tarball: tar zxvf incrediblepi-version.tar.gz Copy .img file to SDHC using image utility or script Insert SDHC card into Raspberry Pi Boot the Raspberry Pi from Incredible Pi SDHC card

Your First Bite of Incredible Pi. If youre not using a monitor and keyboard, you can use SSH to gain root access to Incredible Pi. And you can use any web browser on your private network to access your server. There are a couple of hurdles. First, you need the network address of your new server. And, second you need an SSH client. With Incredible PBX 3.3 and beyond, you neednt worry about the IP address. You now can access your server via SSH by logging in like this: root@incrediblepbx.local. And browser access to your server is available at the following address: http://incrediblepbx.local. You still can plug in some earbuds when the bootup process begins and listen for the Incredible Pi to tell you its IP address when the boot procedure completes (about 90 seconds). Then you can use that IP address instead of incrediblepbx.local. The latest releases of Incredible PBX also include a Java-based SSH client in the FreePBX web GUI: Admin -> Java SSH. Heres everything you need to know about security for Incredible Pi: 1. ALWAYS RUN INCREDIBLE PI BEHIND A SECURE HARDWARE-BASED FIREWALL/ROUTER 2. NEVER EXPOSE ANY INCREDIBLE PI PORTS DIRECTLY TO THE INTERNET 3. NEVER MAP INBOUND INTERNET PORTS FROM YOUR FIREWALL TO INCREDIBLE PI Initial Setup. There also are a few setup steps to complete once your Incredible Pi finishes the bootup process. When you first login (username: root password: raspberry), youll be prompted to change your root password and to set your default time zone. If youre using either a wired network or an open WiFi network, then everything just works. If youre using secured WiFi, then youll need to plug in your credentials in /etc/wpa.conf and reboot. The wired network always takes precedence so unplug the cable if you want WiFi to be your

primary network. Next, run /root/update-my-pi to bring your server up to current specs. Finally, nows the time to repartition your SD card if youre using a card larger than 4GB. While youre at it, bump up the performance of your Raspberry Pi by 50% by setting the overclocking to turbo mode. It works great for us. YMMV! The key is a rock-solid power adapter such as the one weve recommended. Just run raspi-config and follow your nose. Accessing Incredible Pi By GUI. You dont have to be a Linux guru to use Incredible Pi. In fact, were just about finished with the Linux command prompt, but stay logged in until we finish the steps below. Most of your configuration of the PBX will be performed using the FreePBX Web GUI. You also can access SSH through the FreePBX interface. If youre new to Asterisk and FreePBX, heres the one paragraph primer on what needs to happen before you can make free calls with Google Voice. Youll obviously need a free Google Voice account. This gets you a phone number for people to call you and a vehicle to place calls to plain old telephones throughout the U.S. and Canada at no cost. Youll also need a softphone or SIP phone to actually place and receive calls. YATE makes a free softphone for PCs, Macs, and Linux machines so download your favorite and install it on your desktop. Phones connect to extensions in FreePBX to work with Incredible Pi. Extensions talk to trunks (like Google Voice) to make and receive calls. FreePBX uses outbound routes to direct outgoing calls from extensions to trunks, and FreePBX uses inbound routes to route incoming calls from trunks to extensions to make your phones ring. In a nutshell, thats how a PBX works. There are lots of bells and whistles that you can explore down the road. Lets get started. Using a browser, enter the IP address of your server or just use incrediblepbx.local as the address. Choose FreePBX Administration. When prompted for a username and password, use admin for both. Here are the six steps you need to complete before making your first free call: 1. 2. 3. 4. 5. 6. Change FreePBX admin Password and Default Email Add Google Voice Account credentials Set Destination for Incoming Calls Change Extension 701 Passwords Eliminate Audio and DTMF Problems Install and Register a Softphone to Extension 701

1. Changing FreePBX admin Password and Default Email. From the main FreePBX GUI, click Admin => Administrators. Click on admin user in the far-right column. Enter a new Password and click Submit Changes button. Then click the Apply Config button. Next, set your default email address at the bottom of Settings -> General Settings. Repeat the procedure above to save your entry. 2. Activating a Google Voice Trunk. To create a Trunk in FreePBX to handle calls to and from Google Voice, youll need three pieces of information from the Google Voice account you set up above: the 10-digit Google Voice phone number, your Google Voice account name, and your Google Voice password. Choose Other -> Google Voice from the FreePBX GUI. The following blank form will appear:

Fill in the blanks with your information and check all 3 boxes. If your Google Voice account name ends in @gmail.com, you can leave that out. Otherwise, include the full email address. Then click Submit Changes and Apply Config. Theres one more step or your Google Voice account wont work reliably with Incredible Pi! From the Linux command prompt while logged into your server as root, restart Asterisk: amportal restart 3. Setting a Destination for Incoming Calls. Now that youve created your Google Voice Trunk, we need to tell FreePBX how to process inbound calls when someone dials your Google Voice number. There are any number of choices. You could simply ring an extension. Or you could ring multiple extensions by first creating a Ring Group which is just a list of extension numbers. Or you could direct incoming calls to an Interactive Voice Response (IVR) system (weve actually set one up for you to play with). By default, Incredible Pi is configured to route all incoming calls to a demo IVR that shows off some of the applications that come with Incredible Pi. You can change whenever you like by choosing Connectivity -> Inbound Routes -> Default. In the Set Destination section of the form, change the target to Extensions and then select 701 from the list. Then click Submit and Apply Config. 4. Changing Extension Passwords. From the main FreePBX GUI, choose Applications -> Extensions. Then click on 701 in the Extension List on the right side of your display. Youll see a form that looks like this:

For now, we only need to make a few changes. First, you need a very secure password for both the extension itself and your voicemail account for this extension. The extension secret needs to be a combination of letters and numbers. The Voicemail Password needs to be all numbers, preferably six or more. Replace the existing 1234secret and 1234 with your own (very secure) entries. You also need to lock down this extension so that it is only accessible from devices on your private LAN. You do that with the deny and permit entries which currently are filled with zeroes. Leave the deny entry the way it is which tells Incredible Pi to block everybody except those allowed in the permit entry below. For the permit, we need the first three octets of your private LAN address, e.g. if your LAN is 192.168.0.something then the permit entry will be 192.168.0.0/255.255.255.0. Finally, you need to plug in your actual email address in the Voicemail section so that voicemails can be delivered to you when someone leaves a message. You can also include a pager email address if you want a text message alert with incoming voicemails. If you want the voicemails to automatically be deleted from the server after they are emailed to you (a good idea considering the disk storage limitations of an SDHC card), change the Delete Voicemail option from No to Yes. Thats it. Now save your settings by clicking the Submit button. Then reload the dialplan by clicking on the red prompt when it appears. In case youre curious, unless youve chosen to automatically delete voicemails after emailing them, you can retrieve your voicemails by dialing *98701 from any extension on your phone system. Youll be prompted to enter the voicemail password you set up. In addition to managing your voicemails, youll also be given the opportunity to either return the call to the number of the person that called or to transfer the voicemail to another extensions voicemail box. And you can always leave a voicemail for someone by dialing their extension number preceded by an asterisk, e.g. *701 would let someone leave you a voicemail without actually calling you. 5. Eliminating Audio and DTMF Problems. You can avoid one-way audio on calls and touchtones that dont work with these simple settings in FreePBX: Settings -> Asterisk SIP Settings. Just plug in your public IP address and your private IP subnet. Then set ULAW as the only Audio Codec.

6. Setting Up a Desktop Softphone. Incredible Pi supports all kinds of telephones, but well start with the easy (free) one today. You can move on to real phones once youre smitten with the VoIP bug. For today, youll need to download a softphone to your desktop PC or Mac. As we mentioned, the easiest way to get started with Incredible Pi is to set up a YATE softphone on your Desktop computer. Versions are available at no cost for Macs, PCs, and Linux machines. Just download the appropriate one and install it from this link. Once installed, its a simple matter to plug in your extension 701 credentials and start making calls. Run the application and choose Settings -> Accounts and click the New button. Fill in the blanks using the IP address of Incredible Pi, 701 for your account name, and whatever password you created for the extension. Click OK.

Once you are registered to extension 701, close the Account window. Then click on YATEs Telephony Tab and place your first call. Its that easy!

Monitoring Call Progress with Asterisk. That about covers the basics. Well leave you with a tip on how to monitor whats happening with your PBX. There are several good tools within the FreePBX GUI. Youll find them under the Reports tab. In addition, Asterisk has its own Command Line Interface (CLI) that is accessible from the Linux command prompt. Just execute the following command while logged in as root: asterisk rvvvvvvvvvv. Activating SAMBA for Windows Networking. SAMBA is included for transparent access using the Windows Networking Protocol from PCs, Macs, and other Linux machines. As delivered, SAMBA is deactivated. For obvious reasons, we recommend you never activate root login access to SAMBA without a very secure password. If you wish to enable SAMBA on your server, here are the steps while logged in as root: 1. Set SAMBA password for user root: smbpasswd -a root 2. Change Windows workgroup from WORKGROUP, if needed: nano -w /etc/samba/smb.conf 3. Manually start SAMBA from command prompt: service samba start 4. If desired, set SAMBA to start on boot: rcconf and activate SAMBA option If youd like to update your status application to display SAMBA status instead of WLan1, here are the steps:
cd /usr/local/sbin wget http://incrediblepbx.com/sambastatus.tgz

tar zxvf sambastatus.tgz rm sambastatus.tgz

Activating the PPTP VPN Client. If youve followed the Nerd Vittles tutorial and previously set up a PPTP VPN Server for your devices, then its pretty simple to add Incredible Pi to the mix by activating its PPTP VPN client. Youll need the FQDN or public IP address of your VPN server as well as a username and password for VPN access to your VPN server. Once you have those in hand, log into Incredible Pi as root. Lest we forget to mention, you cannot log into your PPTP server from an IP address on the same private LAN so youd only use the PPTP VPN when your Incredible Pi is at a remote location. Edit the connection template: nano -w /etc/ppp/peers/my-pptp-server. Insert the following text and replace myfqdn.org with the FQDN of your PPTP server, replace myname with your PPTP username, and replace mypassword with your PPTP password. Then save the file: Ctrl-X, Y, then Enter. To test it, issue the following command: /etc/init.d/pptp start. When you run ifconfig, you should now see a ppp0 entry:
ppp0 Link encap:Point-to-Point Protocol UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1500 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:3 RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)

Remember, it wont show an IP address if the Raspberry Pi and your PPTP VPN Server are on the same subnet (like ours). Once you install your Raspberry Pi in a remote location, you now can access it at the first IP address in your reserved PPTP IP address pool. To permanently activate the PPTP VPN client on your Incredible Pi server, run rcconf. Scroll to the bottom of the list and highlight pptp. Press the space bar to select it for automatic startup when you boot your server. Then tab to OK and press Enter. Shutting Down Your Server. Last but not least, never just pull the plug when you want to shut down your server, or you may end up with corrupted MySQL databases. Then nothing will run. Instead, log into your server as root, and issue the following command: shutdown -h now. Enjoy! 3.6 Update: Activating Incredible Fax. With a 512MB Raspberry Pi, here are the 5 Simple Steps to activate Incredible Fax. The complete tutorial is available here. 1. 2. 3. 4. 5. Download and Install Incredible PBX 3.6 Run the /root/fax-enable Script to Automatically Configure HylaFax Using FreePBX, Add Additional, Dedicated DID and Inbound Route to Handle Incoming Faxes Install Any Desktop HylaFax Client to Send Faxes via Print-to-Fax using any PDF Reboot Your Server and Enjoy

Where To Go Next. Once youve done a little exploring, take a few minutes to read the complete tutorial on all 35 Incredible PBX applications for Raspberry Pi. A few require a bit of configuration before you start using them. And then youll want to explore Interconnecting Asterisk Servers with Incredible PBX and the Raspberry

Pi. Enjoy! Dont forget to List Yourself in Directory Assistance so everyone can find you by dialing 411. And add your new number to the Do Not Call Registry to block telemarketing calls. Or just call 888-382-1222 from your new number.
Tw eet

Originally published: Tuesday, September 25, 2012 Updated: Sunday, October 21, 2012 Updated: Tuesday, November 27, 2012 Support Issues. With any application as sophisticated as this one, youre bound to have questions. Blog comments are a terrible place to handle support issues although we welcome general comments about our articles and software. If you have particular support issues, we encourage you to get actively involved in the PBX in a Flash Forums. Its the best Asterisk tech support site in the business, and its all free! In fact, there is a thread dedicated to support of Incredible Pi. Please have a look and post your support questions there. Unlike some forums, ours is extremely friendly and is supported by literally hundreds of Asterisk gurus and thousands of ordinary users just like you. You wont have to wait long for an answer to your question. Bug Fixes. A few bugs are to be expected. If youre using Incredible Pi, please review these on the PIAF Forum.

Astricon 2012. Astricon 2012 will be in Atlanta at the Sheraton beginning October 23 through October 25. We hope to see many of you there. We called Atlanta home for over 25 years so wed love to show you around. Be sure to tug on my sleeve and mention youd like a free PIAF Thumb Drive. Well have a bunch of them to pass out to our loyal supporters. Nerd Vittles readers also can save 20% on your registration by using coupon code: AC12VIT.

Need help with Asterisk? Visit the PBX in a Flash Forum. whos.amung.us If youre wondering what your fellow man is reading on Nerd Vittles these days, wonder no more. Visit our new whos.amung.us statistical web site and check out whats happening. Its a terrific resource both for us and for you.

New Vitelity Special. Vitelity has generously offered a new discount for PBX in a Flash users. You now can get an almost halfprice DID from our special Vitelity sign-up link. If youre seeking the best flexibility in choosing an area code and phone number plus the lowest entry level pricing plus high quality calls, then Vitelity is the hands-down winner. Vitelity provides Tier A DID inbound service in over 3,000 rate centers throughout the US and Canada. And, when you use our special link to sign up, the Nerd Vittles and PBX in a Flash projects get a few shekels down the road while you get an incredible signup deal as well. The going rate for Vitelitys DID service is $7.95 a month which includes up to 4,000 incoming minutes on two simultaneous channels with terminations priced at 1.45 per minute. Not any more! For PBX in a Flash users, heres a deal you cant (and shouldnt) refuse! Sign up now, and you can purchase a Tier A DID with unlimited incoming calls for just $3.99 a month. To check availability of local numbers and tiers of service from Vitelity, click here. Do not use this link to order your DIDs, or you wont get the special pricing! Vitelitys rate is just 1.44 per minute for outbound calls in the U.S. There is a $35 prepay when you sign up. This covers future usage and any balance is fully refundable if you decide to discontinue service with Vitelity.

Some Recent Nerd Vittles Articles of Interest

PBX in a Flash 2: DIY Hardware Recommendations Free Worldwide Calling with iNum + VoIP.ms + Google Voice Thumbs Up: A New Flash Drive Installer for PIAF2 and CentOS 6.2 Virtual Utopia: 1-Minute Asterisk Installs with PIAF2-OpenVZ Bluetooth Proximity Detection for Automatic Call Forwarding Speech-to-Text Directory Assistance Comes to Asterisk Introducing Incredible PBX 3.0 and Incredible Fax 2.0 Siriously: It's Wolfram Alpha for Asterisk Patent Trolls: Coming Soon to a Home Near You Introducing PBX in a Flash 2 with CentOS 6.2 Introducing Incredible PBX 2.9 for PIAF2 and CentOS6 7 Steps to Skytopia: Pain-Free Calling with Skype and Asterisk The Googlifier: WordPress Content Generator for Google+ Definitive Guide: PBX in a Flash 1.7.5.7.1 with CentOS 5.7 Virtual Paradise: 1-Minute Asterisk Installs with PIAF-OpenVZ Thumbs Up: The Ultimate Flash Drive Installer for Asterisk PIAF 101: Taking Asterisk 10 for a Spin 3 Steps to VoIP Nirvana: It's Incredible PBX 2.0 Android 3 Deal of the Year: Acer Tab for Under $300 The Vizio Tablet: How Good Can a $298 Android Tablet Be? Introducing Asterisk 10: Welcome to Frontier Days Installing OS X Lion: The Short List of Gotcha's An Introduction to Google Plus: The Google Lion No Longer Sleeps Coming to a Cloud Near You: Incredible PBX in the Cloud An Epilogue on New Testing Methodologies for Asterisk A Postmortem on New Testing Methodologies for Asterisk

Be Sociable, Share!

Tw eet

29

Like

37

80

Share

StumbleUpon

1. Google Voice calling is free throughout the United States and Canada at least through the end 0f 2012. Extensions typically have been announced during the last week of December each year but nothing lasts forever. [] 2. Many of our purchase links refer users to Amazon when we find their prices are competitive for the recommended products. Nerd Vittles receives a small referral fee from Amazon to help cover the costs of our blog. We never recommend particular products solely to generate Amazon commissions. However, when pricing is comparable or availability is favorable, we support Amazon because Amazon supports us. []

Posted in Technology, Telephony by ward, Tuesday, November 6, 2012 3:00 am Tags: asterisk, freepbx, IncrediblePBX

25 Responses to VoIP on Steroids: Introducing Incredible PBX 3.6 for the $35 Raspberry Pi
1. Nerd Uno says: Tuesday, September 25, 2012 at 1:39 pm Use Bluetooth Proximity Detection with your Raspberry Pi to Forward Calls to Your Cell When Youre Away. Heres how: http://nerd.bz/PDUoGi 2. Bob says: Friday, September 28, 2012 at 11:36 pm Great work so far. 1 question though, with such limited resources, why are you using a heavy webserver like Apache? Why not Lighttpd or Nginx?

like Apache? Why not Lighttpd or Nginx? Also what about using Exim instead of sendmail? 3. David J Murray says: Saturday, September 29, 2012 at 10:46 am I used gparted to move the linux-swap (swapoff first) to the end of the device. Then the raspi-config expand_rootfs will work. So you might want to re-arrange the partitions to have / as the last partition in the image on your next release for expand_rootfs to work. [WM: Thanks. This has been resolved in Incredible PBX 3.3.] 4. Nerd Uno says: Monday, October 8, 2012 at 4:09 pm Incredible PBX 3.3 bug reports and fixes can be found at this link. 5. Nerd Uno says: Sunday, October 14, 2012 at 8:57 am If youre in the U.K., looks like you can already order a 512MB Raspberry Pi if you hurry. 6. Doug says: Monday, October 15, 2012 at 1:01 pm Hi, I have PIAF running on basic machine, I have MP118 for POTS lines and Intepeer for VOIP. I have two NICs 1 for internal network and 1 for external. I want to go with this hardware. Can I share the 1 NIC or should I use the WIFI as well? I have never been able to use NAT on my router/firewall successfully. I must be missing something. Ideas? Doug 7. Stuart says: Saturday, October 20, 2012 at 8:28 am I want to use the GPIO pins to trigger a phone ring so this acts as a doorbell. Someone has already posted scripts of how to do this on Asterisk at http://www.raspberrypi.org/phpBB3/viewtopic.php? t=15348&p=168350 how easy is it to set this up on Incredible PBX? [WM: Kinda depends on your skill level. The detailed instructions are here. Incredible PBX for the Raspberry Pi uses "pure Raspbian" so the process is fairly straight-forward. All the tools needed to

recompile Asterisk can be found in /usr/src/asterisk-1.8.16.0 on your SD card. If things go horribly wrong, just be sure you have a good backup of your SD card before you begin. Good luck!] 8. Randy says: Saturday, October 20, 2012 at 2:07 pm Can this also be used to setup regular (non google voice) sip trunks. I havent downloaded and read all of the docs yet, so apologies if it is clear. I like the polished look of your version, just would rather bring in my own SIP trunk. [WM: You can use both SIP and IAX2 trunks. Just add them within FreePBX, and away you go.] 9. Stuart says: Sunday, October 21, 2012 at 6:38 am Thinking about a really basic doorbell with no compiling etc., I found this script to make an extension ring if pin 17 is activated.
#!/bin/bash while true; do cmd=$(cat /sys/class/gpio/gpio17/value) if [ $cmd = '0' ]; then asterisk -rx 'originate local/s@fromdoor application Playback beep' fi sleep 1 done

Then edit extensions_custom.conf to include: [fromdoor] exten => s,1,SET(CALLERID(name)=From DOOR) same => n,Dial(SIP/nnnn,10) same => n,hangup() (Where nnnn is extension number). I understand I would need to take 3.3v with a 10k Ohm resistor, run this parallel with pin 17, then switch to ground to activate it. (Like this http://i.imgur.com/FqnNB.png) This is a really basic question I am not a programmer, how do I run the script? [WM: Log into your server as root. Create a file for the script, e.g. nano -w /root/doorbell.sh. Save the file: Ctrl-X, Y, then Enter. Run the script in the background after testing it without using the ampersand: /root/doorbell.sh & 10. Stuart says:

Monday, October 22, 2012 at 1:32 am Thanks, one more question once I have set the script all up properly, how can I get it to run automatically on boot? (Does this version have watchdog to reboot the device if it crashes too?) [WM: Crashes? We don't want no stinking crashes. But, yes, watchdog is included in the build. Once the script is running, you can add a line to /etc/init.d/freepbx just below ${AMPORTAL_BIN} start 11. HIMALA says: Tuesday, October 23, 2012 at 8:52 am ward what is the capacity for this pbx? how many simultaneous call can Handel ? thanks in advance 12. Nerd Uno says: Sunday, October 28, 2012 at 3:03 pm Just Released: Incredible PBX 3.5 Torrent for 256MB and 512MB Raspberry Pi. 2MB/sec downloads. http://nerd.bz/RnKASK 13. Joe says: Sunday, October 28, 2012 at 10:18 pm I followed the directions and went back and double checked to make sure everything was correct, but Im still unable to receive incoming calls from google voice, although outgoing calls work perfectly. I have asterisk -rvvvvvvvvvv running in an ssh session and I see lots of debugging info when I place an outgoing call, but when I try to make one incoming, nothing appears on the debugger. Im kinda stumped, anyone have an idea how to go about debugging this? Thanks 14. Joe says: Sunday, October 28, 2012 at 10:27 pm Argh, please disregard last message. I was logged in to google chat through my android phone.

15.

Nerd Uno says: Tuesday, October 30, 2012 at 2:50 pm CallCentric network outage may cause IPtables to fail with Incredible PBX for Raspberry Pi. Heres the fix: http://nerd.bz/Sc6FBw

16.

SAm says: Sunday, November 4, 2012 at 11:27 am I was thinking maybe this would be good for a sip door phone?

17.

ward says: Saturday, November 10, 2012 at 1:26 pm Incredible Faxing for the 512MB Raspberry Pi finally has arrived. Install instructions here: http://nerd.bz/TSbzqC

18.

Crusadio says: Saturday, November 10, 2012 at 4:31 pm Have you tried adding a heatsink to keep the CPU cooler when overclocking? There seem to be a bunch of different heatsink kits for the Raspberry Pi available. - Crusadio

19.

Bill says: Saturday, November 10, 2012 at 11:12 pm I have v3.5 on a 256K Pi running at home to help me learn Asterisk. I have 3 SPA942 phones with a trunk to the outside world. All is working great, but is there anyway to do paging to all the phones ? PiAF talks about a Paging module, but I cant see it as a built-in or an available module.

20.

ward says: Monday, November 19, 2012 at 8:10 am Incredible PBX 3.6 featuring Incredible Fax is now ready for testing. http://nerd.bz/UOOgL9

21.

Dawid says: Friday, November 23, 2012 at 8:48 am Is it possible to incorporate Skype gateway into this Rasspberry Pi distro?

[WM: Skype is proprietary, and M$FT has not chosen to release a version for this ARM processor. Sorry.] 22. Karl Miller says: Monday, November 26, 2012 at 10:36 pm Thanks sooo much for all this work. As a software engineer, I know all the work this took, and it is so nice to have everything working in one package. I have had several false starts with Freeswitch, Asterisk by itself, plugpbx, etc. I am waiting for my new model PI and will eagerly set this up and get it going with my Nexvortex.com account (these guys are great for a very cost-effective SIP account). My next effort will be creating a package for a SOHO SMB that can be easily turnkeyd SD card image that can be setup for multiple offices (one with a PI pbx, and the rest with just phones behind their router). Amazing coordination and thoughtfulness in putting this together. Thanks again, your place in heaven is preserved 23. Francis says: Friday, November 30, 2012 at 7:57 pm I havent been able to boot v3.6 successfully. It keeps getting stuck at the same spot: [ 17.450507] EXT4-fs (mmcblk0p2): re-mounted. Opts: (null) [ 17.955682] bcm2708 watchdog, heartbeat=10 sec (nowayout=0) [ 18.082264] bcm2835 ALSA card created! [ 18.088798] bcm2835 ALSA chip created! [ 18.108266] bcm2835 ALSA chip created! [ 18.119225] bcm2835 ALSA chip created! [ 18.127708] bcm2835 ALSA chip created! [ 18.136138] bcm2835 ALSA chip created! [ 18.144602] bcm2835 ALSA chip created! [ 18.152828] bcm2835 ALSA chip created! [ 25.949645] bcm2835-cpufreq: switching to governor ondemand [ 25.961321] bcm2835-cpufreq: switching to governor ondemand [ 28.339789] NET: Registered protocol family 10 [ 32.709849] Adding 897020k swap on /var/swap. Priority:-1 extents:27 acrossS [ 86.499399] ip_tables: (C) 2000-2006 Netfilter Core Team [ 89.714954] watchdog stopped Ive tried 2 different cards and 2 different Pis all with the same result. I created the cards using the make_sdhc script. This is the first version Ive tried. Im going to downgrade and try v3.5 and see if it works better. But, any idea what problem is here?

Thanks. 24. Francis says: Saturday, December 1, 2012 at 1:59 am Never mind. I didnt know Incredible PBX doesnt show a login prompt on the serial console which is why the system appears to be hung. (I dont have a graphical display.) I can log in through SSH now. Thanks. 25. DennisDunbar says: Tuesday, December 4, 2012 at 12:30 pm I have a static I/P address and a FQDN that I want to use with 3.6 on a Pi. I tried setting SIP from within FreePBx and set the changes to be accepted from my server and it doesnt work. I modify interfaces and I added dns-nameservers and it crashes. Any ideas? [WM: See this thread on the forum for some suggestions.]

Leave a Reply
Name (required) Mail (will not be published) (required) Web site

Add your Reply

Whats As Good As a $35 Raspberry Pi? How About 35 Free Incredible PBX Apps Black Friday Deals: Buyers Guide to VoIP and Mobile Stocking Stuffers for 2012 Entries RSS | Comments RSS

Now Visiting: Help the Nerdy

Links
About Nerd Uno Asterisk ListServ Best of Nerd Vittles Contact Us Google+ Blog Incredible PBX Nerd Vittles Daily Dump PBX in a Flash PBX in a Flash Forum PBX in a Flash Wiki See What Youre Missing Todays Demotivator Twitter: @NerdUno

Categories
General Photography Technology Apple Macs Audio Blogs Cellular Home Automation

Internet/Web Microsoft PCs MP3 Devices Networking Office Automation Smartphones Streaming Devices Telephony TiVo/ReplayTV Video Wi-Fi

Search
Search

Tagcloud
android appliance

asterisk backup best phone bootable flash Cellular centOS cepstral cloud computing email enum fax
freepbx gizmo google voice IncrediblePBX ipad iphone iptables music Networking openvz
virtualization vitelity vm

firewall flite freenum

orgasmatron pbx piaf proxmox security sip sip phone skype SM S Streaming Devices superfecta tts twitter

voip vpn Wi-Fi

Nerd Vittles Daily Curated by Nerd Uno Dump

Apple appeals ruling that shot down Samsung injunction

Nerds

Twitter

Tw eet

@NerdUno Nerdly News is out! http://t.co/LwdwJs0q Top stories today via @ostatic Mon Dec 24 11:15 GMT PIONEERS: Incredible PBX 11 Virtual Machine for VMware (Player, Workstation, and ESXi) is now available. http://t.co/2V5iOVAp #asterisk Sun Dec 23 18:27 GMT Nerdly News is out! http://t.co/LwdwJs0q Sun Dec 23 11:15 GMT Stocking Stuffer: 512MB Raspberry Pi back in stock at MCM for $35. xoxo Santa http://t.co/NG4KrjGV #raspberrypi #asterisk Sat Dec 22 21:24 GMT Just Released: Incredible PBX 11.1 Virtual Machine with #Asterisk 11.1.0 & latest #FreePBX 2.11 beta. http://t.co/NmKdOTf5 #fax #gvoice #sms Sat Dec 22 13:41 GMT Nerdly News is out! http://t.co/LwdwJs0q Sat Dec 22 11:15 GMT Nerd Vittles The 5-Minute PBX: Its Incredible PBX 11 Virtual Machine for VirtualBox #asterisk http://t.co/NmKdOTf5 Fri Dec 21 12:48 GMT Nerdly News is out! http://t.co/LwdwJs0q Top stories today via @BreakingWeb Fri Dec 21 11:15 GMT Note from Santa: MCM has 512MB Raspberry Pi in stock @ $35. Ships tomorrow. http://t.co/jGSbFMkf #asterisk #raspberrypi Thu Dec 20 11:47 GMT Nerdly News is out! http://t.co/LwdwJs0q Thu Dec 20 11:15 GMT PIONEERS: Incredible PBX 11 Virtual Machine with Incredible Fax, #Asterisk 11, and #FreePBX 2.11 awaits. http://t.co/G9fBM4Xd Wed Dec 19 20:53 GMT Nerdly News is out! http://t.co/LwdwJs0q Top stories today via @JimJachetta @Live5News Wed Dec 19 11:15 GMT Instagram Blames Silly Lawyers: "a business may pay us to display your... photos... without any compensation to you." http://t.co/ek3AbyBX Wed Dec 19 02:02 GMT @NerdUno: Reload our Feed.

Google Goodies

Click Here to Sign Up NOW!

Where in the World is NerdUno?

Mt Pleasant, SC, USA 51 minutes ago


google.com/latitude

Where in the World Are You?

Meta
Log in RSS Feed Comments RSS Atom Feed Comments Atom Twitter RSS Feed Best of NV WordPress PBX in a Flash PBX in a Flash Forums

Calendar
December 2012 S M T WT F S 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 Nov

Site Stats
What Other Folks Are Reading

Live Traffic Feed

A visitor from Philippines viewed "Nerd Vittles VoIP on Steroids: Introducing Incredible PBX 3.6 for the $35 Raspberry Pi" 0 secs ago A visitor from New Hampton, New Hampshire viewed "Nerd Vittles" 47 secs ago A visitor from Portugal viewed "Nerd Vittles ISP-In-A-Box: Remotely Managing Your Mac Using AFP and SSH Tunnels" 1 min ago A visitor from East Longmeadow, Massachusetts viewed "Nerd Vittles Incredible Fax: Free Faxing Returns to Incredible PBX 1.8" 1 min ago A visitor from Hyattsville, Maryland viewed "Nerd Vittles The Amazing $35 Raspberry Pi: And Now Its a Fax Machine" 3 mins ago A visitor from East Liverpool, Ohio viewed "Nerd Vittles backup" 3 mins ago A visitor from Sydney, New South Wales viewed "Nerd Vittles Travelin Man 3: Securing a PIAF2 or VoIP in the Cloud Server" 7 mins ago A visitor from Mexico viewed "Nerd Vittles Turbocharging Your Asterisk@Home PBX" 7 mins ago A visitor from Smithfield, Rhode

Nerd Vittles is powered by WordPress at WestNIC / My Google Profile+


Asterisk, Digium and Asterisk logo are registered trademarks of Digium, Inc. FreePBX is a registered trademark of Bandwidth.com. All other trademarks and logos are property of their respective owners and are used for identification purposes and trademark parody. Ringbinder theme by Themocracy

You might also like