Having the exact same issue here. Something is telling the PBX to drop the call, though the fax is still transmitting. If I send a blank page, there’s so little to transmit that it will make it through before the disconnect. Anything with content on the paper doesn’t have enough time. In the PBX logs, here is the detail. This is coming into a Sangoma A101D. I tried sending it through our A600 backup analog card with POTS lines and received the same result:
[Apr 21 12:41:12] VERBOSE[12924] logger.c: == Manager ‘admin’ logged off from 127.0.0.1
[Apr 21 12:41:14] VERBOSE[3703] logger.c: – Accepting call from ‘8009806858’ to ‘2211’ on channel 0/1, span 1
[Apr 21 12:41:14] VERBOSE[12929] logger.c: – Executing [2211@from-zaptel:1] Set(“DAHDI/1-1”, “DID=2211”) in new stack
[Apr 21 12:41:14] VERBOSE[12929] logger.c: – Executing [2211@from-zaptel:2] Goto(“DAHDI/1-1”, “s,1”) in new stack
[Apr 21 12:41:14] VERBOSE[12929] logger.c: – Goto (from-zaptel,s,1)
[Apr 21 12:41:14] VERBOSE[12929] logger.c: – Executing [s@from-zaptel:1] NoOp(“DAHDI/1-1”, “Entering from-zaptel with DID == 2211”) in new stack
[Apr 21 12:41:14] VERBOSE[12929] logger.c: – Executing [s@from-zaptel:2] Ringing(“DAHDI/1-1”, “”) in new stack
[Apr 21 12:41:14] VERBOSE[12929] logger.c: – Executing [s@from-zaptel:3] Set(“DAHDI/1-1”, “DID=2211”) in new stack
[Apr 21 12:41:14] VERBOSE[12929] logger.c: – Executing [s@from-zaptel:4] NoOp(“DAHDI/1-1”, “DID is now 2211”) in new stack
[Apr 21 12:41:14] VERBOSE[12929] logger.c: – Executing [s@from-zaptel:5] GotoIf(“DAHDI/1-1”, “1?zapok:notzap”) in new stack
[Apr 21 12:41:14] VERBOSE[12929] logger.c: – Goto (from-zaptel,s,8)
[Apr 21 12:41:14] VERBOSE[12929] logger.c: – Executing [s@from-zaptel:8] NoOp(“DAHDI/1-1”, “Is a Zaptel Channel”) in new stack
[Apr 21 12:41:14] VERBOSE[12929] logger.c: – Executing [s@from-zaptel:9] Set(“DAHDI/1-1”, “CHAN=1-1”) in new stack
[Apr 21 12:41:14] VERBOSE[12929] logger.c: – Executing [s@from-zaptel:10] Set(“DAHDI/1-1”, “CHAN=1”) in new stack
[Apr 21 12:41:14] VERBOSE[12929] logger.c: – Executing [s@from-zaptel:11] Macro(“DAHDI/1-1”, “from-zaptel-1,2211,1”) in new stack
[Apr 21 12:41:14] WARNING[12929] app_macro.c: No such context ‘macro-from-zaptel-1’ for macro ‘from-zaptel-1’
[Apr 21 12:41:14] VERBOSE[12929] logger.c: – Executing [s@from-zaptel:12] NoOp(“DAHDI/1-1”, “Returned from Macro from-zaptel-1”) in new stack
[Apr 21 12:41:14] VERBOSE[12929] logger.c: – Executing [s@from-zaptel:13] Goto(“DAHDI/1-1”, “from-pstn,2211,1”) in new stack
[Apr 21 12:41:14] VERBOSE[12929] logger.c: – Goto (from-pstn,2211,1)
[Apr 21 12:41:14] VERBOSE[12929] logger.c: – Executing [2211@from-pstn:1] Set(“DAHDI/1-1”, “__FROM_DID=2211”) in new stack
[Apr 21 12:41:14] VERBOSE[12929] logger.c: – Executing [2211@from-pstn:2] NoOp(“DAHDI/1-1”, “Received an unknown call with DID set to 2211”) in new stack
[Apr 21 12:41:14] VERBOSE[12929] logger.c: – Executing [2211@from-pstn:3] Goto(“DAHDI/1-1”, “s,a2”) in new stack
[Apr 21 12:41:14] VERBOSE[12929] logger.c: – Goto (from-pstn,s,2)
[Apr 21 12:41:14] VERBOSE[12929] logger.c: – Executing [s@from-pstn:2] Answer(“DAHDI/1-1”, “”) in new stack
[Apr 21 12:41:14] VERBOSE[12929] logger.c: – Executing [s@from-pstn:3] Wait(“DAHDI/1-1”, “2”) in new stack
[Apr 21 12:41:16] VERBOSE[12929] logger.c: – Redirecting DAHDI/1-1 to fax extension
[Apr 21 12:41:16] VERBOSE[12929] logger.c: == Spawn extension (from-pstn, fax, 1) exited non-zero on ‘DAHDI/1-1’
[Apr 21 12:41:16] VERBOSE[12929] logger.c: – Executing [fax@from-pstn:1] Goto(“DAHDI/1-1”, “ext-fax,in_fax,1”) in new stack
[Apr 21 12:41:16] VERBOSE[12929] logger.c: – Goto (ext-fax,in_fax,1)
[Apr 21 12:41:16] VERBOSE[12929] logger.c: – Executing [in_fax@ext-fax:1] StopPlayTones(“DAHDI/1-1”, “”) in new stack
[Apr 21 12:41:16] VERBOSE[12929] logger.c: – Executing [in_fax@ext-fax:2] GotoIf(“DAHDI/1-1”, “1?3:analog_fax,1”) in new stack
[Apr 21 12:41:16] VERBOSE[12929] logger.c: – Goto (ext-fax,in_fax,3)
[Apr 21 12:41:16] VERBOSE[12929] logger.c: – Executing [in_fax@ext-fax:3] Macro(“DAHDI/1-1”, “faxreceive”) in new stack
[Apr 21 12:41:16] VERBOSE[12929] logger.c: – Executing [s@macro-faxreceive:1] Set(“DAHDI/1-1”, “FAXFILE=/var/spool/asterisk/fax/1303407674.437.tif”) in new stack
[Apr 21 12:41:16] VERBOSE[12929] logger.c: – Executing [s@macro-faxreceive:2] Set(“DAHDI/1-1”, "[email protected]") in new stack
[Apr 21 12:41:16] VERBOSE[12929] logger.c: – Executing [s@macro-faxreceive:3] Set(“DAHDI/1-1”, “FAX_FORCE_V17=1”) in new stack
[Apr 21 12:41:16] VERBOSE[12929] logger.c: – Executing [s@macro-faxreceive:4] ReceiveFAX(“DAHDI/1-1”, “/var/spool/asterisk/fax/1303407674.437.tif”) in new stack
[Apr 21 12:41:44] VERBOSE[3703] logger.c: – Channel 0/1, span 1 got hangup request, cause 16
[Apr 21 12:41:44] WARNING[12929] app_fax.c: Error transmitting fax. result=49: The call dropped prematurely.
[Apr 21 12:41:44] WARNING[12929] app_fax.c: Transmission error
[Apr 21 12:41:44] VERBOSE[12929] logger.c: == Spawn extension (macro-faxreceive, s, 4) exited non-zero on ‘DAHDI/1-1’ in macro ‘faxreceive’
[Apr 21 12:41:44] VERBOSE[12929] logger.c: == Spawn extension (ext-fax, in_fax, 3) exited non-zero on ‘DAHDI/1-1’
[Apr 21 12:41:44] VERBOSE[12929] logger.c: – Executing [h@ext-fax:1] System(“DAHDI/1-1”, “/var/lib/asterisk/bin/fax-process.pl --to [email protected] --from [email protected] --dest “2211” --subject “Fax from 8009806858 TOLL%20FREE%20CALL” --attachment fax_8009806858.pdf --type application/pdf --file /var/spool/asterisk/fax/1303407674.437.tif”) in new stack
[Apr 21 12:41:44] VERBOSE[12929] logger.c: – Executing [h@ext-fax:2] Hangup(“DAHDI/1-1”, “”) in new stack
[Apr 21 12:41:44] VERBOSE[12929] logger.c: == Spawn extension (ext-fax, h, 2) exited non-zero on ‘DAHDI/1-1’
[Apr 21 12:41:44] VERBOSE[12929] logger.c: – Hungup ‘DAHDI/1-1’