Callback Installation instructions: Difference between revisions
(Created page with "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 c...") |
No edit summary |
||
(One intermediate revision by the same user not shown) | |||
Line 3: | Line 3: | ||
1. cd /tmp or some other directory where you will download and unpack the code | 1. cd /tmp or some other directory where you will download and unpack the code | ||
2. Download the latest source code | 2. Download the latest source code file from [[Callback#How_do_I_get_it.3F|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 ([[Callback gpg signatures|available here]]) at the command line: | ||
<pre>gpg --import johnfawcett.gpg | <pre>gpg --import johnfawcett.gpg | ||
Line 14: | Line 12: | ||
<pre>gpg: Good signature from "John Fawcett <[email protected]>"</pre> | <pre>gpg: Good signature from "John Fawcett <[email protected]>"</pre> | ||
3. Unpack the source code | |||
<pre>tar -xvzf callback-0.5.2.tgz</pre> | <pre>tar -xvzf callback-0.5.2.tgz</pre> | ||
4. Change directory | |||
<pre>cd callback-0.5.2</pre> | <pre>cd callback-0.5.2</pre> | ||
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) | |||
<pre>cp /var/www/html/admin/modules/callback/bin/callback /var/www/html/admin/modules/callback/bin/callback-original</pre> | |||
6. Overwrite the FreePBX script | |||
<pre>cp callback /var/www/html/admin/modules/callback/bin/callback</pre> | <pre>cp callback /var/www/html/admin/modules/callback/bin/callback</pre> | ||
7. Change owner and group to ones used in FreePBX install | |||
<pre>chown asterisk:asterisk /var/www/html/admin/modules/callback/bin/callback</pre> | <pre>chown asterisk:asterisk /var/www/html/admin/modules/callback/bin/callback</pre> | ||
Line 36: | Line 36: | ||
10. If not using the default configurations, add required configurations to /etc/freepbx.conf. | 10. If not using the default configurations, add required configurations to /etc/freepbx.conf. | ||
See [[Callback Reference documentation|this page]] |
Latest revision as of 14:36, 13 June 2016
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