Last active 1746106637

Install IncrediblePBX on debian 11

jason's Avatar jason revised this gist 1736212701. Go to revision

1 file changed, 37 insertions

IncrediblePBX.md

@@ -26,7 +26,44 @@ chmod +x IncrediblePBX2027-D.sh
26 26
27 27 ## faxing
28 28 ```shell
29 + sed -i '/^\[custom-fax/,/^$/d' /etc/asterisk/extensions_custom.conf
30 + ```
31 +
32 + ```shell
33 + echo '
34 + [ext-group](+)
35 + exten => fax,1,Noop(Fax detected)
36 + exten => fax,2,Goto(custom-fax-iaxmodem,s,1)
37 +
38 + [custom-fax-iaxmodem]
39 + exten => s,1,Answer
40 + exten => s,n,Wait(1)
41 + exten => s,n,Verbose(3,Incoming Fax)
42 + exten => s,n,Set(FAXEMAIL=) ; fax email address of recipient
43 + exten => s,n,Set(FAXDEST=/tmp) ; folder where faxes will be stored
44 + exten => s,n,Set(tempfax=${STRFTIME(,,%C%y%m%d%H%M)})
45 + exten => s,n,ReceiveFax(${FAXDEST}/${tempfax}.tif)
46 + exten => s,n,System(/usr/bin/tiff2pdf -o "${FAXDEST}/${tempfax}.pdf" "${FAXDEST}/${tempfax}.tif")
47 + exten => s,n,System(/usr/bin/echo "Incoming fax is attached." | /usr/bin/mail -s "Incoming FAX Received" -A "${FAXDEST}/${tempfax}.pdf" "${FAXEMAIL}")
48 + exten => s,n,Hangup
49 +
50 + ' >> /etc/asterisk/extensions_custom.conf
51 + ```
52 +
53 + ```shell
54 + sed -i 's|FAXEMAIL=|FAXEMAIL=fax-admin@'$HOSTNAME'|' /etc/asterisk/extensions_custom.conf
55 + ```
56 +
57 + ```shell
58 + fwconsole ma downloadinstall fax
59 + ```
29 60
61 + ```shell
62 + rm /tmp/*
63 + ```
64 +
65 + ```shell
66 + fwconsole reload
30 67 ```
31 68
32 69 ## links

jason's Avatar jason revised this gist 1736212386. Go to revision

1 file changed, 36 insertions

IncrediblePBX.md(file created)

@@ -0,0 +1,36 @@
1 + ## Prerequisites
2 +
3 + ```shell
4 +
5 + ```
6 +
7 + ## install
8 +
9 + ```shell
10 + wget http://incrediblepbx.com/IncrediblePBX2027-D.sh
11 + chmod +x IncrediblePBX2027-D.sh
12 + ./IncrediblePBX2027-D.sh
13 + ```
14 +
15 + ## configure
16 +
17 + ```shell
18 + /root/timezone-setup
19 + ```
20 + ```shell
21 + /root/admin-pw-change
22 + ```
23 + ```shell
24 + /root/apache-pw-change
25 + ```
26 +
27 + ## faxing
28 + ```shell
29 +
30 + ```
31 +
32 + ## links
33 +
34 + <https://nerdvittles.com/1-a-month-buys-a-cloud-powerhouse-for-incredible-pbx-2027/>
35 + <https://nerdvittles.com/faxing-returns-for-incredible-pbx-2027-platform>
36 +
Newer Older