Last active 1746106637

Install IncrediblePBX on debian 11

Revision 7645b3e8413761e8b7214fd2d61c310ff57b97db

IncrediblePBX.md Raw

Prerequisites

apt install -yy sudo bash bash-completion libtiff-tools ghostscript wget curl lame festival flite espeak-ng-espeak

install

sudo su - && cd /root && \
wget http://incrediblepbx.com/IncrediblePBX2027-D.sh && \
chmod +x IncrediblePBX2027-D.sh && \
./IncrediblePBX2027-D.sh

configure

/root/timezone-setup
/root/admin-pw-change
/root/apache-pw-change

faxing

sed -i '/^\[custom-fax/,/^$/d' /etc/asterisk/extensions_custom.conf
echo '
[ext-group](+)
exten => fax,1,Noop(Fax detected)
exten => fax,2,Goto(custom-fax-iaxmodem,s,1)

[custom-fax-iaxmodem]
exten => s,1,Answer
exten => s,n,Wait(1)
exten => s,n,Verbose(3,Incoming Fax)
exten => s,n,Set(FAXEMAIL=)     ; fax email address of recipient
exten => s,n,Set(FAXDEST=/tmp)  ; folder where faxes will be stored
exten => s,n,Set(tempfax=${STRFTIME(,,%C%y%m%d%H%M)})
exten => s,n,ReceiveFax(${FAXDEST}/${tempfax}.tif)
exten => s,n,System(/usr/bin/tiff2pdf -o "${FAXDEST}/${tempfax}.pdf" "${FAXDEST}/${tempfax}.tif")
exten => s,n,System(/usr/bin/echo "Incoming fax is attached." | /usr/bin/mail -s "Incoming FAX  Received" -A "${FAXDEST}/${tempfax}.pdf" "${FAXEMAIL}")
exten => s,n,Hangup

' >> /etc/asterisk/extensions_custom.conf
sed -i 's|FAXEMAIL=|FAXEMAIL=fax-admin@'$HOSTNAME'|' /etc/asterisk/extensions_custom.conf
fwconsole ma downloadinstall fax
rm /tmp/*
fwconsole reload

Get info

/root/show-passwords
/root/show-feature-codes

links

https://nerdvittles.com/1-a-month-buys-a-cloud-powerhouse-for-incredible-pbx-2027/
https://nerdvittles.com/faxing-returns-for-incredible-pbx-2027-platform