Asterisk for Raspberry Pi Image: Difference between revisions

From KlavoWiki
Jump to navigationJump to search
No edit summary
 
(7 intermediate revisions by the same user not shown)
Line 1: Line 1:
I have installed Asterisk onto a Raspberry Pi and have created an image for all to use.<br>
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 [http://www.raspberry-asterisk.org/?page_id=30 raspbx] which uses FreePBX. Asterisk is configured with all deafults straight from a new build/compile.
The images is currently located at http://www.klaverstyn.com.au/david/asterisk/rpi/


The image contains the following:
= Download Images =
http://www.klaverstyn.com.au/david/asterisk/rpi/
 
I would recommend [http://launchpad.net/win32-image-writer Win32DiskImager] for Windows to wite the image to the SD card.
 
= Raspbian Images =
 
== raspi-config ==
Run raspi-config and change the following settings.
* Expand filesystem
* Change User Password
* Internationalisation Options
** Locale
** Timezone
 
 
== IP Address Information ==
<pre>
IP Address : DHCP
      Mask :
    Gateway :
</pre>
 
== Login Creditentals ==
<pre>
  username : pi
  password : raspbian
</pre>
 
== Features ==
<pre>
            OS : Raspbian
        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
</pre>
 
 
= ArchLinux Images =
== 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.
<pre>
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
</pre>
 
Once the rPi has rebooted
<pre>
resize2fs /dev/mmcblk0p2
reboot
</pre>


== IP Address Information ==
== IP Address Information ==
<pre>
<pre>
Static Address
  IP Address : 192.168.1.11
  IP Address : 192.168.1.11
       Mask : 255.255.255.0
       Mask : 255.255.255.0
Line 20: Line 86:
== Features ==
== Features ==
<pre>
<pre>
    Apache : Installed
            OS : Arch Linux
      mysql : Installed
        Apache : Installed
  Asterisk : 1.8.17.0
        mysql : Installed
CDR Logging : Enabled
      Asterisk : Installed (version depandant on image)
CDR Search : aCDR --> http://hostname/cdr  
  CDR Logging : Enabled
  fax2mail : Installed --> /usr/sbin/fax2mail
      sendmail : Installed
mime-construct : Installed
    CDR Search : aCDR --> http://hostname/cdr  
      fax2mail : Installed --> /usr/sbin/fax2mail
</pre>
</pre>


[[Category : Asterisk]] [[Category : Raspberry Pi]]
[[Category : ArchLinux]] [[Category : Asterisk]] [[Category : Raspberry Pi]]

Latest revision as of 01:02, 10 January 2014

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.

Raspbian Images

raspi-config

Run raspi-config and change the following settings.

  • Expand filesystem
  • Change User Password
  • Internationalisation Options
    • Locale
    • Timezone


IP Address Information

 IP Address : DHCP
       Mask : 
    Gateway : 

Login Creditentals

   username : pi
   password : raspbian

Features

            OS : Raspbian
        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


ArchLinux Images

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

IP Address Information

Static Address
 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