Asterisk for Raspberry Pi Image: Difference between revisions

From KlavoWiki
Jump to navigationJump to search
No edit summary
Line 2: Line 2:


= Download Images =
= Download Images =
<pre>
http://www.klaverstyn.com.au/david/asterisk/rpi/
http://www.klaverstyn.com.au/david/asterisk/rpi/
</pre>


I would recommend [http://launchpad.net/win32-image-writer Win32DiskImager] for Windows to wite the image to the SD card.
I would recommend [http://launchpad.net/win32-image-writer Win32DiskImager] for Windows to wite the image to the SD card.
Line 31: Line 29:
reboot
reboot
</pre>
</pre>


= Image Details =
= Image Details =

Revision as of 21:16, 30 October 2012

I have installed vanilla Asterisk onto a Raspberry Pi and have created an image for all to use. The Asterisk install is not a bundalled install like raspbx which uses FreePBX. Asterisk is configured with all deafults straight from a new build/compile.

Download Images

http://www.klaverstyn.com.au/david/asterisk/rpi/

I would recommend Win32DiskImager for Windows to wite the image to the SD card.

Expand Partition

As everyone will have a different SD card size you will need to adjust the partition of the system to fully utilise you card.

Now that the device has booted log on and change the default partition from 2 GB to the maximum partition of your SD card.

fdisk /dev/mmcblk0
d (delete)
2 (partition 2)
n (new)
p (primary partition)
2 (partition 2 as previously deleted)
enter (accept default start sector)
enter (accept default end sector)
w (write changes)

reboot

Once the rPi has rebooted

resize2fs /dev/mmcblk0p2
reboot

Image Details

IP Address Information

 IP Address : 192.168.1.11
       Mask : 255.255.255.0
    Gateway : 192.168.1.254

Login Creditentals

   username : root
   password : root


Features

            OS : Arch Linux
        Apache : Installed
         mysql : Installed
      Asterisk : Installed (version depandant on image)
   CDR Logging : Enabled
      sendmail : Installed
mime-construct : Installed
    CDR Search : aCDR --> http://hostname/cdr 
      fax2mail : Installed --> /usr/sbin/fax2mail