PBX in a Flash SIP Trunk Configuration & Security

Start this tutorial after you have completed PBX in a Flash Setup. After Installation, you will need to obtain your IP Address. Once the IP Address has been typed in you will be able to see PBX in a Flash with the Icons: Voicemail & Recordings, Flash Operator Panel, and MeetMe Conference for users, and FreePBX® Administration, Linux Webmin, and Menu Configuration for the Admin user.

 

 

Configuration-FreePBX®

     

FreePBX® is a Registered Trademark of Schmooze Com, Inc.

Before you begin

  1. To begin you will need to enable PBX in a Flash for Admin this is done by clicking on the Users.
  2. Next click the FreePBX Administration this will take you into the GUI of the PBX. The username for a first-time login is maint and the password is what you have entered earlier in the command line of setup.
  3. On the left-hand side, you will see a list of options.
  4. In order to have a softphone registered you will need to setup Trunks, and enter your PEER Details from the email of your registration email. After you have entered the credentials from the email, you can check the registered channels by going to FreePBX System Status then look under Total active channels.
  5. To setup your phone system to make and receive calls, setup Inbound Routes you can create anything for the Description, then use one of your numbers for the DID Number then Set Destination this will be the destination where incoming calls will be routed then select Submit.
  6. Next, we will setup Outbound Routes here you can setup your dialing patterns. This will allow you to make calls to destinations based on rules.
  7. A trunk must be setup in order to make outbound calls. If you have made any changes select Apply Configuration Changes.
  8. If you would like to have all extensions call out as a specific number, that can be set by checking Override Extension this is a useful feature if you want people to call back to one specific number.
    • Any routes that have been created will show up on the right-hand side of the page.
  9. Next, we will setup a SIP Extension, to begin choose type. Next enter information that you would like to have for the desired extension.

This current build of FreePBX has a lot of fail-safe's built into the system, which may give you trouble in the initial setup but will pay off after you have more information in the system. Since we have created an extension, it is time to register the extension with a softphone. Since you have created an extension you can then route calls to that extension.

Queues can be used to help call routing.

If you would like to view more advanced setting to the Tools tab on the top of the control panel without having to go through the command line.

How to Install Asterisk PBX with Ubuntu/Debian (Linux OS)

Below are the steps to building Asterisk PBX on a Debian/Ubuntu Linux OS

The current build was done on Ubuntu 12.04.3 LTS. This should world on Debian Wheezy and Higher.
This is a vanilla install of Asterisk 13, with no Web Interface or extra features.

 

Let's start by running these commands:

root@asterisk-13-build-ubu~# sudo apt-get update
root@asterisk-13-build-ubu:~# sudo apt-get install build-essential

  

Build essentials will install the following Packages:

binutils
cpp
cpp-4.6
dpkg-dev
fakeroot
g++
g++-4.6
gcc gcc-4.6
libalgorithm-diff-perl
libalgorithm-diff-xs-perl
libalgorithm-merge-perl
libc-bin
libc-dev-bin
libc6
libc6-dev
libdpkg-perl
libgomp1
libmpc2
libmpfr4
libquadmath0
libstdc++6-4.6-dev
linux-libc-dev
make manpages-dev

 

You will then install these below packages:

root@asterisk-13-build-ubu:~#
apt-get install –y git-core subversion libjansson-dev sqlite autoconf automake libtools libxml2-dev libncurses5-dev

 

From here, you are able to download asterisk 13 and compile it.

root@asterisk-13-build-ubu:~# cd /usr/src/
root@asterisk-13-build-ubu:~# wget http://downloads.asterisk.org/pub/telephony/asterisk/asterisk-13-current.tar.gz
root@asterisk-13-build-ubu:~# tar –xzvf asterisk-13-current.tar.gz
root@asterisk-13-build-ubu:~# cd asterisk-13.0.0/
root@asterisk-13-build-ubu:~#./contrib/scripts/install_prereq install ( this will install more packages, a lot of them)
root@asterisk-13-build-ubu:~# ./bootstrap.sh
root@asterisk-13-build-ubu:~# ./configure
root@asterisk-13-build-ubu:~# make && make install
root@asterisk-13-build-ubu:~# make samples
root@asterisk-13-build-ubu:~# sudo make config
root@asterisk-13-build-ubu:~# asterisk

 

From here, asterisk should already be running and you can log in with this command:

root@asterisk-13-build-ubu:~# asterisk -r


Connected to Asterisk 13.0.0 currently running on asterisk-13-build-ubu (pid = 7459)
asterisk-13-build-ubu*CLI>

 

Asterisk is Ready.