18
AsteriskNow 1.5 Installation Procedure AsteriskNow 1.5 Installation Procedure

Asterisk Now 1.5 Installation Procedure

Embed Size (px)

Citation preview

Page 1: Asterisk Now 1.5 Installation Procedure

AsteriskNow 1.5 Installation Procedure

AsteriskNow 1.5 Installation Procedure

Page 2: Asterisk Now 1.5 Installation Procedure

AsteriskNow 1.5 Installation Procedure

Required Software Before starting with this project you will require at least the following software. 1/. A copy of the AsteriskNow Installation CD 2/. Firefox Web Browser 3/. Putty http://www.putty.org/ 4/. WinSCP http://winscp.net/eng/index.php

Page 3: Asterisk Now 1.5 Installation Procedure

Installation Procedure 1/. Insert CD 2/. Reboot Machine 3/. Answer wizard questions 4/. Remove CD 5/. Reboot Machine 6/. At this point you can browse to the IP Address of the AsteriskNow Server

(http://192.168.10.210 – in this example) You will get the 'Freepbx' GUI User name: freepbx

Password: fpbx Note: It is best to configure your DHCP server to allocate a static address to this machine.

7/. Use Putty to access the server (User = root Password = set during installation)

AsteriskNow 1.5 Installation Procedure

Page 4: Asterisk Now 1.5 Installation Procedure

8/. Update the operating system; Log onto the system Username root Password from the installation wizard Then enter; yum update

This can take some time and the screen will look at lot different to the above example the first time you update. Answer ‘Y’ where appropriate and just let everything run……

AsteriskNow 1.5 Installation Procedure

Page 5: Asterisk Now 1.5 Installation Procedure

9/. If you are staying with the 'Freepbx' GUI;

9a/. Login to FreePBX with user: freepbx pass:fpbx 9b/. Click on modules button under either Setup or Tools tab 9c/. Click on "Check for updates online"

9d/. Click a module name to see the option to download and update. Also see "Download All" and "Update All"

9e/. Complete the download and installation of desired modules 9f/. Click on Process to complete NOTE

You may need to do this more than once if you have interdependencies.

AsteriskNow 1.5 Installation Procedure

Page 6: Asterisk Now 1.5 Installation Procedure

10/. If you are replacing the 'Freepbx' GUI with the 'AsteriskNow' GUI; 10a/. Log On to you server via Putty 10b/. Enter yum remove freepbx

10c/. Answer ‘Y’ where appropriate

AsteriskNow 1.5 Installation Procedure

Page 7: Asterisk Now 1.5 Installation Procedure

10d/. Install the Asterisk GUI software

The above commands are; svn co http://svn.digium.com/svn/asterisk-gui/branches/2.0 asterisk-gui This will create a directory asterisk-gui This will result in a number of command lines scrolling up your screen (see picture on the next page).

AsteriskNow 1.5 Installation Procedure

Page 8: Asterisk Now 1.5 Installation Procedure

AsteriskNow 1.5 Installation Procedure

Page 9: Asterisk Now 1.5 Installation Procedure

10e/. When completed enter; cd asterisk-gui

10f/. Then enter; sh configure && make && make install This will result in even more lines scrolling up your screen

AsteriskNow 1.5 Installation Procedure

Page 10: Asterisk Now 1.5 Installation Procedure

10g/. Navigate back to the root directory cd /root

Then enter the command; yum install asterisk-gui

And wait for it to finish

AsteriskNow 1.5 Installation Procedure

Page 11: Asterisk Now 1.5 Installation Procedure

10h/. Now you will need to change to WinSCP;

AsteriskNow 1.5 Installation Procedure

Page 12: Asterisk Now 1.5 Installation Procedure

10i/. In the Right hand pane navigate to /etc/asterisk

You should now be able to see all of the Astrerisk ‘conf’ files.

Find and double click on ‘http.conf’

This should then open in a text editor;

AsteriskNow 1.5 Installation Procedure

Page 13: Asterisk Now 1.5 Installation Procedure

AsteriskNow 1.5 Installation Procedure

You will need to modify the file so that it reads as follows; ;! ;! Automatically generated configuration file ;! Filename: http.conf (/etc/asterisk/http.conf) ;! Generator: Manager ;! Creation Date: Mon May 10 23:29:10 2010 ;! [general] enabled = yes enablestatic = yes bindaddr = [IP Address of Your Asterisk Now Server] bindport = 8088

Page 14: Asterisk Now 1.5 Installation Procedure

10j/. Again, in the Right hand pane find ‘manager.conf’ and double click on it

AsteriskNow 1.5 Installation Procedure

Page 15: Asterisk Now 1.5 Installation Procedure

AsteriskNow 1.5 Installation Procedure

You will need to modify the file so that it reads as follows; [general] enabled = yes webenabled = yes port = 5038 bindaddr = 0.0.0.0 [admin] secret = [Your Password] read = system,call,log,verbose,command,agent,user,config write = system,call,log,verbose,command,agent,user,config NOTE 1/. ‘admin’ can be any logon name that you wish – it does not have to be ‘admin’ 2/. I usually keep a copy of these files and just copy them across from my PC to the AsteriskNow Server

Page 16: Asterisk Now 1.5 Installation Procedure

10k/. Enter the commands; cd asterisk-gui make checkconfig

And, hopefully everything should be OK!!!!!

REBOOT THE SYSTEM

AsteriskNow 1.5 Installation Procedure

Page 17: Asterisk Now 1.5 Installation Procedure

10l/. Open Firefox and browse to your server.

http://192.168.10.210:8088/asterisk/static/config/index.html

The user name is admin (or whatever you set in your manager.conf)

The password is whatever you typed in ‘manager.conf’ next to secret=

AsteriskNow 1.5 Installation Procedure

Page 18: Asterisk Now 1.5 Installation Procedure

10m/. Once you pass this screen the will be a short delay as Asterisk builds its menu system – then you

should see;

AsteriskNow 1.5 Installation Procedure