Aster-install: Difference between revisions

From KlavoWiki
Jump to navigationJump to search
No edit summary
Line 43: Line 43:


Once you open the file and look at its contents it becomes self explanatory.
Once you open the file and look at its contents it becomes self explanatory.
= Testing Installation =
== Asterisk Functional ==
From the CLI type in:
<pre>
asterisk -r
</pre>
If you are entered into the Asterisk CLI then you know Asterisk has been installed correctly.
== Faxing ==
<pre>
core show applications like fax
</pre>
should give you a result like
<pre>
    -= Matching Asterisk Applications =-
          NVFaxDetect: Detects fax sounds on all channel types (IAX and SIP too)
                RxFAX: Receive a FAX to a file
                TxFAX: Send a FAX file
    -= 3 Applications Matching =-
</pre>
== CDR ==
<pre>
cdr mysql status
</pre>
should give a result like
<pre>
Connected to asteriskcdr@127.0.0.1 using table cdr for 7 minutes, 26 seconds.
  Wrote 0 records since last restart.
</pre>
Using a WEB browser you should be able to conenct to the WEB CDR Analysier
<pre>
http://ipaddress/cdr
</pre>
== DAHDi ==
<pre>
dahdi show status
</pre>
should give a result like
<pre>
Description                              Alarms    IRQ        bpviol    CRC4
DAHDI_DUMMY/1 (source: RTC) 1            UNCONFIGUR 0          0          0
</pre>


[[Category : Linux]]
[[Category : Linux]]

Revision as of 02:18, 6 April 2009

What is aster-install

aster-install is a shell script for Linux that will install Asterisk with the necessary add-ons for Asterisk to function with dahdi, faxing and Asterisk Analyser.

What does aster-install install

aster-install will install the following components plus any dependencies:

  • Asterisk version 1.4.x or 1.6.x
  • MySQL
  • Apache
  • spanDSP
  • agx-ast-addons if selected Asterisk 1.4.x
  • CDR Analysier
  • phpSysinfo

What does not get installed

How do I install and activate the script

To install the script copy and past the following lines to your Linux CLI

wget http://www.klaverstyn.com.au/asterisk/script/aster-install.sh
wget http://www.klaverstyn.com.au/asterisk/script/aster-values
chmod +x aster-install.sh

Edit the file aster-values to suite your needs, then run aster-install.sh

./aster-install.sh

What is aster-values

aster-values is the data file that contains the version of the applications that you want to install.

Editing aster-values

The file has the following sections:

  • Asterisk version
  • MySQL user and database details
  • phpsysinfo
  • OS updates
  • Internode repository
  • email address for logwatch
  • spanDSP version

Once you open the file and look at its contents it becomes self explanatory.

Testing Installation

Asterisk Functional

From the CLI type in:

asterisk -r

If you are entered into the Asterisk CLI then you know Asterisk has been installed correctly.

Faxing

core show applications like fax

should give you a result like

    -= Matching Asterisk Applications =-
           NVFaxDetect: Detects fax sounds on all channel types (IAX and SIP too)
                 RxFAX: Receive a FAX to a file
                 TxFAX: Send a FAX file
    -= 3 Applications Matching =-

CDR

cdr mysql status

should give a result like

Connected to asteriskcdr@127.0.0.1 using table cdr for 7 minutes, 26 seconds.
  Wrote 0 records since last restart.

Using a WEB browser you should be able to conenct to the WEB CDR Analysier

http://ipaddress/cdr

DAHDi

dahdi show status

should give a result like

Description                              Alarms     IRQ        bpviol     CRC4
DAHDI_DUMMY/1 (source: RTC) 1            UNCONFIGUR 0          0          0