Callback Installation instructions
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
3. The souce code is signed with my gpg key (available here). Thefore you may optionaly verify the file has not been altered since I signed it. After downloading the file signature (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]>"
4. Unpack the source code
tar -xvzf callback-0.5.2.tgz
5. Change directory
cd callback-0.5.2
6. Backup the existing script
7. Overwrite the FreePBX 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 callback /var/www/html/admin/modules/callback/bin/callback
8. 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.