I had a temporary need for a really simple SIP PBX, running on a Raspberry Pi 2.
I started with a fresh install of Raspbian Wheezy:
sudo raspi-config sudo apt-get update && sudo apt-get dist-upgrade sudo apt-get install asterisk sudo reboot
It installed Asterisk v1.8:
Asterisk 126.96.36.199~dfsg1-3+deb7u3, Copyright (C) 1999 - 2012 Digium, Inc. and others.
I then followed this tutorial, but remembering to use:
- sudo, where necessary (e.g. to copy and edit the config files); and
- service asterisk restart (rather than init.d).
Once I'd created my config files, I also needed to run:
sudo chown -R asterisk:asterisk /etc/asterisk/*
All working well. NAT traversal is still as painful as I remember!