So I installed raspbx and followed the documentation at http://www.raspberry-asterisk.org/documentation/....