My ITSP doesn’t support T.38, so I couldn’t work. I tried with T.30 over G.711 (alaw). Another problem:
WARNING[3160][C-00000001]: res_fax.c:4670 acf_faxopt_write: channel 'PJSIP/ENDPOINT-00000001' set FAXOPT(filename) to '/tmp/fax.tif' is unhandled!
WARNING[3160][C-00000001]: res_fax.c:2508 sendfax_t38_init: Audio FAX not allowed on channel 'PJSIP/ENDPOINT-00000001' and T.38 negotiation failed; aborting.
ERROR[3160][C-00000001]: res_fax.c:2784 sendfax_exec: error initializing channel 'PJSIP/ENDPOINT-00000001' in T.38 mode
NOTICE[3160][C-00000001]: pbx_spool.c:460 attempt_thread: Call completed to PJSIP/ENDPOINT/sip:CALLEDNUMBER
The tif file was generated by
gs -q -dNOPAUSE -dBATCH -sDEVICE=tiffg3 -sPAPERSIZE=a4 -g1680x2285 -sOutputFile=fax.tif fax.pdf
I executed before:
fax set debug on
This info I got from Wireshark:
Asterisk version 13.18.5 (yes, I changed)