Starting to work on getting faxing to work now. I ran the incrediblefax13_ubuntu18.sh script but it looks like some things are never finished or are incorrect. I'm just starting to test and set this up right now.
Line 147:
# Set up FaxDispatch. Can't add to loop without convoluted sed awk crap that is over my head. No big deal.
echo "
case "$DEVICE" in
ttyIAX0) [email protected]; FILETYPE=pdf;; # all faxes received on ttyIAX0
ttyIAX1) [email protected]; FILETYPE=pdf;; # all faxes received on ttyIAX1
ttyIAX2) [email protected]; FILETYPE=pdf;; # all faxes received on ttyIAX2
ttyIAX3) [email protected]; FILETYPE=pdf;; # all faxes received on ttyIAX3
esac
" > /var/spool/hylafax/etc/FaxDispatch
File /var/spool/hylafax/etc/FaxDispatch had "$DEVICE" missing on line 149. It looked like this:
case in
I added the missing "$DEVICE".
Line 171:
# Set up custom destination for fax in Asterisk and reload
RESULT=`/usr/bin/mysql -uroot -ppassw0rd <<SQL
use asterisk
INSERT INTO custom_destinations
(custom_dest, description, notes)
VALUES ('custom-fax-iaxmodem,s,1', 'Fax (Hylafax)', '');
quit
SQL`
asterisk -rx "module reload"
There is no custom_destinations table in the mysql asterisk DB. Not sure if I need to create this table or not in order for this to work.
Line 147:
# Set up FaxDispatch. Can't add to loop without convoluted sed awk crap that is over my head. No big deal.
echo "
case "$DEVICE" in
ttyIAX0) [email protected]; FILETYPE=pdf;; # all faxes received on ttyIAX0
ttyIAX1) [email protected]; FILETYPE=pdf;; # all faxes received on ttyIAX1
ttyIAX2) [email protected]; FILETYPE=pdf;; # all faxes received on ttyIAX2
ttyIAX3) [email protected]; FILETYPE=pdf;; # all faxes received on ttyIAX3
esac
" > /var/spool/hylafax/etc/FaxDispatch
File /var/spool/hylafax/etc/FaxDispatch had "$DEVICE" missing on line 149. It looked like this:
case in
I added the missing "$DEVICE".
Line 171:
# Set up custom destination for fax in Asterisk and reload
RESULT=`/usr/bin/mysql -uroot -ppassw0rd <<SQL
use asterisk
INSERT INTO custom_destinations
(custom_dest, description, notes)
VALUES ('custom-fax-iaxmodem,s,1', 'Fax (Hylafax)', '');
quit
SQL`
asterisk -rx "module reload"
There is no custom_destinations table in the mysql asterisk DB. Not sure if I need to create this table or not in order for this to work.