jason revised this gist 9 months ago. Go to revision
1 file changed, 3 insertions, 5 deletions
IncrediblePBX.md
| @@ -16,11 +16,9 @@ chmod +x IncrediblePBX2027-D.sh && \ | |||
| 16 | 16 | ## switch to postfix | |
| 17 | 17 | ||
| 18 | 18 | ```shell | |
| 19 | - | systemctl stop sendmail | |
| 20 | - | systemctl disable sendmail | |
| 21 | - | systemctl start postfix | |
| 22 | - | systemctl enable postfix | |
| 23 | - | apt install -yy postfix && apt remove sendmail | |
| 19 | + | systemctl stop sendmail;systemctl disable --now sendmail | |
| 20 | + | systemctl start postfix;systemctl enable --now postfix | |
| 21 | + | apt install -yy postfix && apt remove sendmail --purge | |
| 24 | 22 | sed -i 's|-c sendmail|-c postfix|' /usr/local/sbin/pbxstatus | |
| 25 | 23 | sed -i 's|SendMail| Postfix|' /usr/local/sbin/pbxstatus | |
| 26 | 24 | systemctl status postfix | |
jason revised this gist 9 months ago. Go to revision
1 file changed, 1 insertion, 1 deletion
IncrediblePBX.md
| @@ -41,7 +41,7 @@ systemctl status postfix | |||
| 41 | 41 | ## Autoupdate modules | |
| 42 | 42 | ||
| 43 | 43 | ```shell | |
| 44 | - | cat <<<EOF >/etc/cron.d/asterisk_module_update | |
| 44 | + | cat <<EOF >/etc/cron.d/asterisk_module_update | |
| 45 | 45 | 0 4 1 * * root (rm -f /tmp/*;fwconsole ma upgradeall;fwconsole reload;/root/sig-fix;systemctl restart apache2;/root/sig-fix) >/dev/null 2>/dev/null | |
| 46 | 46 | EOF | |
| 47 | 47 | ``` | |
jason revised this gist 9 months ago. Go to revision
1 file changed, 2 insertions
IncrediblePBX.md
| @@ -41,7 +41,9 @@ systemctl status postfix | |||
| 41 | 41 | ## Autoupdate modules | |
| 42 | 42 | ||
| 43 | 43 | ```shell | |
| 44 | + | cat <<<EOF >/etc/cron.d/asterisk_module_update | |
| 44 | 45 | 0 4 1 * * root (rm -f /tmp/*;fwconsole ma upgradeall;fwconsole reload;/root/sig-fix;systemctl restart apache2;/root/sig-fix) >/dev/null 2>/dev/null | |
| 46 | + | EOF | |
| 45 | 47 | ``` | |
| 46 | 48 | ||
| 47 | 49 | ## faxing | |
jason revised this gist 9 months ago. Go to revision
1 file changed, 6 insertions
IncrediblePBX.md
| @@ -38,6 +38,12 @@ systemctl status postfix | |||
| 38 | 38 | /root/apache-pw-change | |
| 39 | 39 | ``` | |
| 40 | 40 | ||
| 41 | + | ## Autoupdate modules | |
| 42 | + | ||
| 43 | + | ```shell | |
| 44 | + | 0 4 1 * * root (rm -f /tmp/*;fwconsole ma upgradeall;fwconsole reload;/root/sig-fix;systemctl restart apache2;/root/sig-fix) >/dev/null 2>/dev/null | |
| 45 | + | ``` | |
| 46 | + | ||
| 41 | 47 | ## faxing | |
| 42 | 48 | ```shell | |
| 43 | 49 | sed -i '/^\[custom-fax/,/^$/d' /etc/asterisk/extensions_custom.conf | |
jason revised this gist 9 months ago. Go to revision
1 file changed, 13 insertions
IncrediblePBX.md
| @@ -13,6 +13,19 @@ chmod +x IncrediblePBX2027-D.sh && \ | |||
| 13 | 13 | ./IncrediblePBX2027-D.sh | |
| 14 | 14 | ``` | |
| 15 | 15 | ||
| 16 | + | ## switch to postfix | |
| 17 | + | ||
| 18 | + | ```shell | |
| 19 | + | systemctl stop sendmail | |
| 20 | + | systemctl disable sendmail | |
| 21 | + | systemctl start postfix | |
| 22 | + | systemctl enable postfix | |
| 23 | + | apt install -yy postfix && apt remove sendmail | |
| 24 | + | sed -i 's|-c sendmail|-c postfix|' /usr/local/sbin/pbxstatus | |
| 25 | + | sed -i 's|SendMail| Postfix|' /usr/local/sbin/pbxstatus | |
| 26 | + | systemctl status postfix | |
| 27 | + | ``` | |
| 28 | + | ||
| 16 | 29 | ## configure | |
| 17 | 30 | ||
| 18 | 31 | ```shell | |
jason revised this gist 1 year ago. Go to revision
No changes
jason revised this gist 1 year ago. Go to revision
1 file changed, 10 insertions
IncrediblePBX.md
| @@ -67,6 +67,16 @@ rm /tmp/* | |||
| 67 | 67 | fwconsole reload | |
| 68 | 68 | ``` | |
| 69 | 69 | ||
| 70 | + | ## Get info | |
| 71 | + | ||
| 72 | + | ```shell | |
| 73 | + | /root/show-passwords | |
| 74 | + | ``` | |
| 75 | + | ||
| 76 | + | ```shell | |
| 77 | + | /root/show-feature-codes | |
| 78 | + | ``` | |
| 79 | + | ||
| 70 | 80 | ## links | |
| 71 | 81 | ||
| 72 | 82 | <https://nerdvittles.com/1-a-month-buys-a-cloud-powerhouse-for-incredible-pbx-2027/> | |
jason revised this gist 1 year ago. Go to revision
1 file changed, 2 insertions, 2 deletions
IncrediblePBX.md
| @@ -1,13 +1,13 @@ | |||
| 1 | 1 | ## Prerequisites | |
| 2 | 2 | ||
| 3 | 3 | ```shell | |
| 4 | - | apt install - yy libtiff-tools ghostscript wget curl lame festival flite espeak-ng-espeak | |
| 4 | + | apt install -yy sudo bash bash-completion libtiff-tools ghostscript wget curl lame festival flite espeak-ng-espeak | |
| 5 | 5 | ``` | |
| 6 | 6 | ||
| 7 | 7 | ## install | |
| 8 | 8 | ||
| 9 | 9 | ```shell | |
| 10 | - | sudo sub - && cd /root && \ | |
| 10 | + | sudo su - && cd /root && \ | |
| 11 | 11 | wget http://incrediblepbx.com/IncrediblePBX2027-D.sh && \ | |
| 12 | 12 | chmod +x IncrediblePBX2027-D.sh && \ | |
| 13 | 13 | ./IncrediblePBX2027-D.sh | |
jason revised this gist 1 year ago. Go to revision
1 file changed, 3 insertions, 2 deletions
IncrediblePBX.md
| @@ -7,8 +7,9 @@ apt install - yy libtiff-tools ghostscript wget curl lame festival flite espeak- | |||
| 7 | 7 | ## install | |
| 8 | 8 | ||
| 9 | 9 | ```shell | |
| 10 | - | wget http://incrediblepbx.com/IncrediblePBX2027-D.sh | |
| 11 | - | chmod +x IncrediblePBX2027-D.sh | |
| 10 | + | sudo sub - && cd /root && \ | |
| 11 | + | wget http://incrediblepbx.com/IncrediblePBX2027-D.sh && \ | |
| 12 | + | chmod +x IncrediblePBX2027-D.sh && \ | |
| 12 | 13 | ./IncrediblePBX2027-D.sh | |
| 13 | 14 | ``` | |
| 14 | 15 | ||
jason revised this gist 1 year ago. Go to revision
1 file changed, 1 insertion, 1 deletion
IncrediblePBX.md
| @@ -1,7 +1,7 @@ | |||
| 1 | 1 | ## Prerequisites | |
| 2 | 2 | ||
| 3 | 3 | ```shell | |
| 4 | - | ||
| 4 | + | apt install - yy libtiff-tools ghostscript wget curl lame festival flite espeak-ng-espeak | |
| 5 | 5 | ``` | |
| 6 | 6 | ||
| 7 | 7 | ## install | |