vi /tmp/myfax.txt
Channel: SIP/anveo_out/+19734620990
Callerid: +19738889223
WaitTime: 30
Maxretries:3
RetryTime: 300
Extension: 1
Application: SendFax
Context: from-internal
Data: /tmp/fax.tif
chown asterisk.asterisk /tmp/myfax.txt
mv /tmp/myfax.txt /var/spool/asterisk/outgoing/
test:
https://www.faxtoy.net
/usr/local/bin/convert -define quantum:polarity=min-is-white -rotate '90>' -density 204×196 -resize 1728x -compress Group4 -type bilevel -monochrome ${input_file} ${output_file}
gs -q -dNOPAUSE -dBATCH -sDEVICE=tiffg4 -sPAPERSIZE=letter -sOutputFile=<dest> <src>
root@mc:~# which convert
/usr/bin/convert
root@mc:~#