Callback Installation instructions

From voipsupport
Revision as of 14:36, 13 June 2016 by John (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

These instructions apply to Callback 0.5.2

1. cd /tmp or some other directory where you will download and unpack the code

2. Download the latest source code file from this page. The souce code is signed with my gpg key. Therefore you may optionally verify the file has not been altered since I signed it. After downloading the file signature and my gpg key (available here) at the command line:

gpg --import johnfawcett.gpg
gpg --verify callback-0.5.2.tgz.sig

The result should be something like this:

gpg: Good signature from "John Fawcett <[email protected]>"

3. Unpack the source code

tar -xvzf callback-0.5.2.tgz

4. Change directory

cd callback-0.5.2

5. Backup the existing script (the following assumes that you have it installed at the standard location, change as needed according to where the FreePBX script is located)

cp /var/www/html/admin/modules/callback/bin/callback /var/www/html/admin/modules/callback/bin/callback-original

6. Overwrite the FreePBX script

cp callback /var/www/html/admin/modules/callback/bin/callback

7. Change owner and group to ones used in FreePBX install

chown asterisk:asterisk /var/www/html/admin/modules/callback/bin/callback

9. Ensure that only asterisk user/group may call the script

chmod 770 /var/www/html/admin/modules/callback/bin/callback

10. If not using the default configurations, add required configurations to /etc/freepbx.conf.

See this page