
===================================================
 Asterisk Manager Proxy Installation Instructions
===================================================

Prerequisites
-------------
  The AMP Daemon requires the following libraries to be installed:
  * pthreads
  * db4      (www.sleepycat.com)
  * libxml   (www.libxml.org)
  * libami

Installation
------------
  Run './configure --help' to see a list of configuration options. Most notable are the options to use specific
locations for the pthreads, db4 and libxml libraries.

  The package installs like any other GNU package.
    './configure'
    'make'
    'make install'

Post Installation
------------------
  The program configuration file is set with sane default options. You should check the config file
to see if anything needs tweeking.

  By default, the program uses the /tmp directory to store a .pid file, which you must make sure the user the
daemon runs as has permission to. The log file it uses by default is /var/log/ampd.log, which also requires
adequate permissions.

  If you choose to store statistics or AMA Call Center profiles you will need to create a
few directories with adequate permissions in order to do so. The default path to the daemon's data storage
is /var/lib/ampd. Statistics are stored under /var/lib/ampd/stats and profiles are stored under
/var/lib/ampd/profiles. The daemon will *not* create these directories for you.
  To be clear, it is not enough to simply create the /var/lib/ampd directory, you must also create
/var/lib/ampd/stats and /var/lib/ampd/profiles by hand as well.

  You must set up a username and password along with the appropriate event flags in the manager.conf file
for asterisk, and set ampd.conf to use that username/password. Make *sure* to give enough events, otherwise
nothing or not enough events will be sent to clients. Mine has been running with 
'system,call,log,verbose,command,agent,user' with no issues.

Questions, Bugs, Comments, Flames, or anything else can be directed to j@intuitivecreations.com
