Fax reception stopped working

Using FreePBX 12.0.76.2

Yesterday, I did several modules update.
I mention this because I’m unsure if this would be the cause.

My incoming route is set to detect faxes / type SIP / time 10 / destination is a valid extension with fax options configured correctly.

It was working perfectly before, now it’s not.

In the CLI, this is what I get:

    -- Executing [s@from-trunk:9] GotoIf("SIP/ACC1329-00000003", "0?macro-hangupcall") in new stack
    -- Executing [s@from-trunk:10] Set("SIP/ACC1329-00000003", "__CALLINGPRES_SV=allowed_not_screened") in new stack
    -- Executing [s@from-trunk:11] Set("SIP/ACC1329-00000003", "CALLERPRES()=allowed_not_screened") in new stack
    -- Executing [s@from-trunk:12] Set("SIP/ACC1329-00000003", "FAX_DEST=ext-fax^220^1") in new stack
    -- Executing [s@from-trunk:13] Set("SIP/ACC1329-00000003", "FAXOPT(faxdetect)=yes") in new stack
    -- Executing [s@from-trunk:14] Answer("SIP/ACC1329-00000003", "") in new stack
    -- Executing [s@from-trunk:15] Wait("SIP/ACC1329-00000003", "10") in new stack
       > 0x7f521c03a490 -- Probation passed - setting RTP source address to XXX
  == Redirecting 'SIP/ACC1329-00000003' to fax extension due to CNG detection
  == Spawn extension (from-trunk, fax, 1) exited non-zero on 'SIP/ACC1329-00000003'
    -- Executing [fax@from-trunk:1] Goto("SIP/ACC1329-00000003", "ext-fax,220,1") in new stack
    -- Goto (ext-fax,220,1)
    -- Executing [220@ext-fax:1] Set("SIP/ACC1329-00000003", "FAX_FOR=Reception (220)") in new stack
    -- Executing [220@ext-fax:2] NoOp("SIP/ACC1329-00000003", "Receiving Fax for: Reception (220), From: "FAX" <X>") in new stack
    -- Executing [220@ext-fax:3] Set("SIP/ACC1329-00000003", "FAX_ATTACH_FORMAT=pdf") in new stack
    -- Executing [220@ext-fax:4] Set("SIP/ACC1329-00000003", "FAX_RX_EMAIL=info@XXX") in new stack
    -- Executing [220@ext-fax:5] Goto("SIP/ACC1329-00000003", "s,receivefax") in new stack
    -- Goto (ext-fax,s,3)
    -- Executing [s@ext-fax:3] StopPlayTones("SIP/ACC1329-00000003", "") in new stack
    -- Executing [s@ext-fax:4] ReceiveFAX("SIP/ACC1329-00000003", "/var/spool/asterisk/fax/1444332649.3.tif,f") in new stack
    -- Channel 'SIP/ACC1329-00000003' receiving FAX '/var/spool/asterisk/fax/1444332649.3.tif'
  == Spawn extension (ext-fax, s, 4) exited non-zero on 'SIP/ACC1329-00000003'
    -- Executing [h@ext-fax:1] GotoIf("SIP/ACC1329-00000003", "1?failed") in new stack
    -- Goto (ext-fax,h,103)
    -- Executing [h@ext-fax:103] NoOp("SIP/ACC1329-00000003", "FAX FAILED for: info@XXX , From: "FAX" <XXX>") in new stack
    -- Executing [h@ext-fax:104] Macro("SIP/ACC1329-00000003", "hangupcall,") in new stack
    -- Executing [s@macro-hangupcall:1] ExecIf("SIP/ACC1329-00000003", "0?Set(CDR(recordingfile)=.wav)") in new stack
    -- Executing [s@macro-hangupcall:2] GotoIf("SIP/ACC1329-00000003", "1?theend") in new stack
    -- Goto (macro-hangupcall,s,4)
    -- Executing [s@macro-hangupcall:4] Hangup("SIP/ACC1329-00000003", "") in new stack
  == Spawn extension (macro-hangupcall, s, 4) exited non-zero on 'SIP/ACC1329-00000003' in macro 'hangupcall'
  == Spawn extension (ext-fax, h, 104) exited non-zero on 'SIP/ACC1329-00000003'

When trying to send a fax from outside the office, to the office, this is what I notice :

After dialing, FreePBX responds with the “fax tone” very very shortly… too shortly it appears because the sending fax doesn’t understand it is now receiving, and thus never SENDS the fax… it seems it is only waiting for a confirmation tone and that this tone was too quick so therefore not received.

I think the fax on the “sending” side emits “CNG tones”… I do hear those… it’s the response from FreePBX that doesn’t seem to be understood by the sending fax.

I don’t know the name of that tone (the response to CNG tones) but I think that’s where the problem is.

Sorry for lack of correct terms

What could be the problem?