Affordable Technical Help In The Home & Small Business 7 Days A Week 8am - 8pm
mini ippbx telephone system part 1
mini ippbx system

Please read The Ultimate DIY Telephone System For Home & Small Business Use to obtain more information about the items required to build a Raspberry Pi 3 telephone system.

Preparing The IncrediblePBX MicroSD Card
Having selected your microSD card type, size & brand you now need to download the Incredible PBX telephone system disk image.

  1. Download the Incredible PBX image from Sourceforge Incrediblepbx13
    After downloading the image you will need to extract / unzip the file, this process will create an .img or image file, this is the file that we need to transfer to the microSD card.

     
  2. Create the .img file by extracting the downloaded file, there are many methods and utilities for doing this, generally dependent on your computer operating system. The rest of this guide will focus on using a Redhat derived Linux based operating system, most of the Linux operating systems are readily available to download & use free of charge. Open a terminal window - Ctrl+Alt+t & navigate to the directory where you have saved the Incredible PBX. Type unzip followed by the name of the zip file you have downloaded (unzip incrediblepbx13-raspbian8-gvoauth.zip). Alternatively you can use the Graphical User Interface (ie use the mousse to navigate to where you have saved the file) to navigate to it in a window and double click on it to extract. If you are using a Mac OS or Windows please visit https://www.raspberrypi.org/documentation/installation/installing-images/ for further help on how to transfer the image.

    2.1    Run the following command to generate a list of devices df -h

    2.2    Insert your microSD card into your card reader and run df -h again from this you should be able to see a new device in the list representing your microSD card, you may need to scroll up the terminal screen to be sure about the difference in the results of the previous df -h command. Your microSD card should be listed in the following format /dev/mmcblk0p1 or /dev/sdd1, the p1 / 1 is representative of partition 1 this is an important point as we want to write the image file to whole of the microSD card,  so when referencing it for image writing we will need to drop the p0 / 1 accordingly.
    2.3    having identified the microSD card device name, we now need to unmount it so that files can be read/written to it in the image transfer process. Use the following command umount device name ie umount /dev/mmcblk0

    2.4    We are now ready to write the image to the microSD card using the dd command line utility. Please note that the dd command can be very very destructive when used incorrectly. Because of the  nature of the command, you will need super user administration rights to use it, type su and enter at which point you will be prompted for the administrators password, type it and hit enter. Your terminal line prompt should now end with the # symbol. The required dd command can be interpreted from the following example principles

    dd bs=4M if=the source image of =the destination (bs is the block size)

    dd bs=4m if=incrediblepbx13-raspbian8-gvoauth.img of=/dev/mmcblk0

    note you will need to write the full path of the (if) input file for example

    dd bs=4M if=/home/peter/Downloads/Raspberry_Pi_IP_PBX/incrediblepbx13-raspbian8-gvoauth.img of=/dev/mmcblk0

    As an alternative to dd you may wish to use its enhanced version dcfldd, this my require installation onto your system. This command will generate a running progress update line of the image writing process.


     
  3. When this process is complete, remove your microSD card and insert it into your Raspberry Pi 3, for now it will be best to connect your Raspberry Pi 3 telephone system to your external peripherals (mouse, keyboard and HDMI screen). When the system is fully booted log in as pi with password raspberry. Make a note of your telephone system IP address you will need this later. (you can also find this out by logging into your router & looking at the attached devices page)
     
  4. Complete the auto set up procedures inclusive of SD card re-sizing if required. - reboot
     
  5. Now log in with SSH  as user - root with password - password (investigate Putty if you are using Windows)
    ssh remote_username@remote_host
    ssh root@192.168.1.17
  6. You will now be required to reset your passwords. Take a note of all the updated information.

Your telephone system will now have to be configured to make it functional, for initial testing all you need to set up are an extension or two and a VOIP trunk. But first we will learn how to log in via a web browser to check on our telephone system status (part 2).

If you are in the Greater Manchester area and need some help setting up your Pi telephone system then contact Peter at Burytec Telephone Engineer Manchester service.

Add new comment

Plain text

  • No HTML tags allowed.
  • Lines and paragraphs break automatically.
  • Web page addresses and email addresses turn into links automatically.