FreePBX | Register | Issues | Wiki | Portal | Support

Fax Pro: TIFF/F file cannot be opened


(Trunk) #1

I’m using FreePBX 14.0.5.25 and Asterisk 15.5.0. I have licensed Fax Pro.
I filled out Settings - Fax configuration. Preview works. There are also users with fax activated and configured in user administration. Fax reception works fine, but sending out faxes is a problem. Users with fax activated can log in to UCP and click “send fax”. If Coversheet is turned on the fax always fails. In UCP “TIFF/F file cannot be opened” is displayed. It is possible to download a tif file from UCP, for example fax-1546887613188.tif. This file can not be opened and the size of the file is always 8 Bytes. Also in the log is a line “res_fax_spandsp.c: WARNING T.30 Cannot open source TIFF file ‘/var/spool/asterisk/tmp/fax-1546887613188.tif’”:

[2019-01-07 20:00:17] VERBOSE[99897] dial.c: Local/0YYYYYYYYY@from-internal-00000000;1 answered
[2019-01-07 20:00:17] VERBOSE[99897][C-00000051] pbx.c: Executing [s@send-fax:1] NoOp(“Local/0YYYYYYYYY@from-internal-00000000;1”, “Sending fax from 822 to 0YYYYYYYYY”) in new stack
[2019-01-07 20:00:17] VERBOSE[99897][C-00000051] pbx.c: Executing [s@send-fax:2] System(“Local/0YYYYYYYYY@from-internal-00000000;1”, “/var/lib/asterisk/bin/faxpro_helper.php --faxid=“1546887611559” --stationid=”+YY YYYY YYYYY" --status=“In Progress” --channel=“Local/0YYYYYYYYY@from-internal-00000000;1” ") in new stack
[2019-01-07 20:00:17] VERBOSE[99972][C-00000050] bridge_channel.c: Channel PJSIP/TrunkName-0000001a joined ‘simple_bridge’ basic-bridge <1ece84a2-99ca-403b-9d7b-5ec41da25a26>
[2019-01-07 20:00:17] VERBOSE[99898][C-00000050] bridge_channel.c: Channel Local/0YYYYYYYYY@from-internal-00000000;2 joined ‘simple_bridge’ basic-bridge <1ece84a2-99ca-403b-9d7b-5ec41da25a26>
[2019-01-07 20:00:17] VERBOSE[99897][C-00000051] pbx.c: Executing [s@send-fax:3] SendFAX(“Local/0YYYYYYYYY@from-internal-00000000;1”, “/var/spool/asterisk/tmp/fax-1546887613188.tif,zf”) in new stack
[2019-01-07 20:00:17] VERBOSE[99897][C-00000051] res_fax.c: Channel ‘Local/0YYYYYYYYY@from-internal-00000000;1’ sending FAX:
[2019-01-07 20:00:17] VERBOSE[99897][C-00000051] res_fax.c: /var/spool/asterisk/tmp/fax-1546887613188.tif
[2019-01-07 20:00:23] WARNING[99897][C-00000051] res_fax_spandsp.c: WARNING T.30 Cannot open source TIFF file ‘/var/spool/asterisk/tmp/fax-1546887613188.tif’
[2019-01-07 20:00:25] VERBOSE[99972][C-00000050] bridge_channel.c: Channel PJSIP/TrunkName-0000001a left ‘simple_bridge’ basic-bridge <1ece84a2-99ca-403b-9d7b-5ec41da25a26>
[2019-01-07 20:00:25] VERBOSE[99898][C-00000050] bridge_channel.c: Channel Local/0YYYYYYYYY@from-internal-00000000;2 left ‘simple_bridge’ basic-bridge <1ece84a2-99ca-403b-9d7b-5ec41da25a26>
[2019-01-07 20:00:25] VERBOSE[99898][C-00000050] app_macro.c: Spawn extension (macro-dialout-trunk, s, 32) exited non-zero on ‘Local/0YYYYYYYYY@from-internal-00000000;2’ in macro ‘dialout-trunk’
[2019-01-07 20:00:25] VERBOSE[99898][C-00000050] pbx.c: Spawn extension (from-internal, 0YYYYYYYYY, 8) exited non-zero on ‘Local/0YYYYYYYYY@from-internal-00000000;2’
[2019-01-07 20:00:25] VERBOSE[99898][C-00000050] pbx.c: Executing [h@from-internal:1] Macro(“Local/0YYYYYYYYY@from-internal-00000000;2”, “hangupcall”) in new stack
[2019-01-07 20:00:25] VERBOSE[99898][C-00000050] pbx.c: Executing [s@macro-hangupcall:1] GotoIf(“Local/0YYYYYYYYY@from-internal-00000000;2”, “1?theend”) in new stack
[2019-01-07 20:00:25] VERBOSE[99898][C-00000050] pbx_builtins.c: Goto (macro-hangupcall,s,3)

This problem always occurs, regardless of the user trying to send the fax, regardless of the values in the configuration fields and regardless of the destination.

If coversheet is turned off, the fax succeeds but the header line is missing on all pages, though it was configured.

All suggestions are appreciated.
Many thanks.