Friday, November 5, 2010

Build A Pbx System

You can set up a private line for multiple phones on a PBX system.


To make a Private Branch Exchange system or PBX, you will need to install an Ubuntu server on your computer. The Ubuntu server is a command line program. A PBX system is a system for telephones that allows for certain calls to be re-routed to another telephone. Systems like this are useful in business settings and other professional settings where multiple private phone lines need to be installed and used.


Instructions


1. Log into the Ubuntu system as the root user and open the command prompt. Type the text "sudo password root" into the command line and enter your regular password for the user password when prompted. Press "Enter."


2. Enter the password that you would like to have for the system and press "Enter." You will be asked to reconfirm the password change by the system prompting you to enter the new password two more times.


3. Copy the following text into a terminal window to prepare a build environment: "apt-get install build-essential speex libspeex-dev gsm-utils" and press "Enter." Afterwards, type "libgsm1-dev libgsmme-dev libgsm1 libgsm-tools" and press "Enter." Afterwards, type "libncurses5-dev ncurses-term linux-headers-2.6.24-19-generic" and press "Enter." Finally enter "libncurses5-dbg doxygen subversion" and press "Enter."


4. Download the Digium asterisk source packages.


5. Extract the packages by typing in the code "tar -zxvf asterisk-1.4.21.2.tar.gz && tar -zxvf zaptel-1.4.11.tar.gz" and pressing "Enter." Afterwards, type in "&& tar -zxvf asterisk-addons-1.4.7.tar.gz && tar -zxvf libpri-1.4.5.tar.gz" and press "Enter."


6. Build and install the source packages by typing "cd libpri-1.4.5" and pressing "Enter." Press "Enter" after you type in each code to go the next line. Type "make," "make install" and press "Enter." Type "cd ../zaptel-1.4.11," "make clean" and press "Enter." Type "./configure" and press "Enter." Type "make menuselect," "make install," "make config," "cd../asterisk-1.4.21.2," "make clean" and press "Enter." Type "./configure," "make menuselect," "make install," "make samples," "make progdocs," "cd ../asterisk-addons-1.4.7," "make clean," "./configure," "make menuselect," "make install, "make samples" and press "Enter." Type "cd ../asterisk-gui," "./configure," "make," "make install," "make samples," "cd /root," "mkdir packages" and type "mv *.gz /root/packages/" and press "Enter." You will get the message "echo INSTALLATION COMPLETE PLEASE CONFIGURE WEB GUI."


7. Save the file as "atsetup.sh" once you have copied the text into the terminal window. To run the file as an executable, you will run the file in the command as "chmod+x astsetup.sh."


8. Finish the installation so that the user interface will run. Edit the files "/etc/asterisk/http.conf" and "etc/asterisk/manager.conf."


9. Change the settings for "/etc/asterisk/http.conf" by setting "Enabled" to "yes" and set "Enable Static" to "yes." Set the asterisk HTTP so that it can respond by entering in "0.0.0.0" into "binaddr." Set "bindport" to "9000" and set prefix to "asterisk."


10. Change the settings for "/etc/asterisk/manager.conf" by setting "Enabled to "yes" and change "webenabled" to yes." Set "Admin" to whatever you would like for the username. Set read to "system,call,log,verbose,command,agent,user,config" and set write to "system,call,log,verbose,command,agent,user,config." The IP address is the IP address of the PBX box.


11. Restart your computer and go to "http://IP-of-pbx:9000/asterisk/static/config/cfgbasic.html," where "IP-of-pbx" is the IP address of the PBX box, and you will see the Internet interface where you can log in to create and set up the extensions for the private phone lines. The setup on the computer is now complete and it is time to connect the PBX phones to the computer so that they may be routed correctly. There are three different methods for setting up the phones.


12. Set up your PBX system using a professional telephony card by connecting each phone to a double adapter and plugging the other end of the double adapter into the telephony card. Split and connect the end of the adapter into the PBX unit. After you have connected the PBX unit, connect the different phones to the unit. Connect the remaining phone lines into the telephony card on the back of the computer.


13. Set up up your PBX system using a multi-channel sound card by using a double adapter to split the phone lines so that one part of the line goes to the PBX unit and connect the PBX unit to the specific telephones. Plug a line from the PBX unit into the multi-channel sound card. Install the hardware of the multi-channel sound card and connect any remaining phone lines into the multi-channel adapter.


14. Set up your PBX system using splitting the lines using a splitter adapter and connecting one end of the line to the PBX unit and the other end of the lines to the telephones. Plug the line into the sound card of the computer. If you have more than one phone line to connect, connect the lines to a USB adapter that is connected to your computer.







Tags: press Enter, Enter Type, make install, phone lines, press Enter, press Enter Type