Fax error "FAXSTATUS="FAILED: error: Disconnected after permitted retries statusstr: Disconnected after permitted retries"

Asterisk 13.91.1
FreePBX 14.0.2.10

SIP Settings: T.38 Passthrough: No

Inbound Route:
Detect Faxes: Yes
Fax Detection Type: SIP
Fax Ring: No
Fax Detection Time: 5
Destination: Fax Recipient --> Ext 950 (Fax Line)

User Management (Username 950)
Fax (enabled)
Email Address: populated
Email sending capabilities tested

Issue: Some attempts for inbound faxes (specifically from an online test fax service called FaxZero, result in a disconnection, however the 2nd attempt is successful. The error which stands out is "FAXSTATUS=“FAILED: error: Disconnected after permitted retries statusstr: Disconnected after permitted retries”.

[2018-04-02 09:04:39] VERBOSE[29728][C-00001a6a] res_fax.c: Redirecting 'SIP/flowroute-00000208' to fax extension due to CNG detection
[2018-04-02 09:04:39] VERBOSE[29728][C-00001a6a] pbx.c: Spawn extension (from-trunk, fax, 1) exited non-zero on 'SIP/flowroute-00000208'
[2018-04-02 09:04:39] VERBOSE[29728][C-00001a6a] pbx.c: Executing [[email protected]:1] Set("SIP/flowroute-00000208", "__DIRECTION=INBOUND") in new stack
[2018-04-02 09:04:39] VERBOSE[29728][C-00001a6a] pbx.c: Executing [[email protected]:2] Goto("SIP/flowroute-00000208", "ext-fax,3,1") in new stack
[2018-04-02 09:04:39] VERBOSE[29728][C-00001a6a] pbx_builtins.c: Goto (ext-fax,3,1)
[2018-04-02 09:04:39] VERBOSE[29728][C-00001a6a] pbx.c: Executing [[email protected]:1] Set("SIP/flowroute-00000208", "FAX_FOR=Fax Line (3)") in new stack
[2018-04-02 09:04:39] VERBOSE[29728][C-00001a6a] pbx.c: Executing [[email protected]:2] NoOp("SIP/flowroute-00000208", "Receiving Fax for: Fax Line (3), From: "BLANK" <+17708240780>") in new stack
[2018-04-02 09:04:39] VERBOSE[29728][C-00001a6a] pbx.c: Executing [[email protected]:3] Set("SIP/flowroute-00000208", "FAX_RX_USER=3") in new stack
[2018-04-02 09:04:39] VERBOSE[29728][C-00001a6a] pbx.c: Executing [[email protected]:4] Set("SIP/flowroute-00000208", "FAX_RX_EMAIL_LEN=17") in new stack
[2018-04-02 09:04:39] VERBOSE[29728][C-00001a6a] pbx.c: Executing [[email protected]:5] Goto("SIP/flowroute-00000208", "s,receivefax") in new stack
[2018-04-02 09:04:39] VERBOSE[29728][C-00001a6a] pbx_builtins.c: Goto (ext-fax,s,3)
[2018-04-02 09:04:39] VERBOSE[29728][C-00001a6a] pbx.c: Executing [[email protected]:3] StopPlayTones("SIP/flowroute-00000208", "") in new stack
[2018-04-02 09:04:39] VERBOSE[29728][C-00001a6a] pbx.c: Executing [[email protected]:4] ReceiveFAX("SIP/flowroute-00000208", "/var/spool/asterisk/fax/1522674278.778.tif,f") in new stack
[2018-04-02 09:04:39] VERBOSE[29728][C-00001a6a] res_fax.c: Channel 'SIP/flowroute-00000208' receiving FAX '/var/spool/asterisk/fax/1522674278.778.tif'
[2018-04-02 09:05:01] VERBOSE[29728][C-00001a6a] pbx.c: Executing [[email protected]:5] ExecIf("SIP/flowroute-00000208", "1?Set(FAXSTATUS="FAILED: error: Disconnected after permitted retries statusstr: Disconnected after permitted retries")") in new stack
[2018-04-02 09:05:01] VERBOSE[29728][C-00001a6a] pbx.c: Executing [[email protected]:6] Hangup("SIP/flowroute-00000208", "") in new stack
[2018-04-02 09:05:01] VERBOSE[29728][C-00001a6a] pbx.c: Spawn extension (ext-fax, s, 6) exited non-zero on 'SIP/flowroute-00000208'
[2018-04-02 09:05:01] VERBOSE[29728][C-00001a6a] pbx.c: Executing [[email protected]:1] GotoIf("SIP/flowroute-00000208", "1?failed") in new stack
[2018-04-02 09:05:01] VERBOSE[29728][C-00001a6a] pbx_builtins.c: Goto (ext-fax,h,104)
[2018-04-02 09:05:01] VERBOSE[29728][C-00001a6a] pbx.c: Executing [[email protected]:104] NoOp("SIP/flowroute-00000208", "FAX "FAILED: error: Disconnected after permitted retries statusstr: Disconnected after permitted retries" for: Fax Line (3) , From: "BLANK" <+17708240780>") in new stack
[2018-04-02 09:05:01] VERBOSE[29728][C-00001a6a] pbx.c: Executing [[email protected]:105] Macro("SIP/flowroute-00000208", "hangupcall,") in new stack
[2018-04-02 09:05:01] VERBOSE[29728][C-00001a6a] pbx.c: Executing [[email protected]:1] GotoIf("SIP/flowroute-00000208", "1?theend") in new stack
[2018-04-02 09:05:01] VERBOSE[29728][C-00001a6a] pbx_builtins.c: Goto (macro-hangupcall,s,3)
[2018-04-02 09:05:01] VERBOSE[29728][C-00001a6a] pbx.c: Executing [[email protected]:3] ExecIf("SIP/flowroute-00000208", "0?Set(CDR(recordingfile)=)") in new stack
[2018-04-02 09:05:01] VERBOSE[29728][C-00001a6a] pbx.c: Executing [[email protected]:4] NoOp("SIP/flowroute-00000208", " monior file= ") in new stack
[2018-04-02 09:05:01] VERBOSE[29728][C-00001a6a] pbx.c: Executing [[email protected]:5] AGI("SIP/flowroute-00000208", "attendedtransfer-rec-restart.php,,") in new stack
[2018-04-02 09:05:01] VERBOSE[29728][C-00001a6a] res_agi.c: Launched AGI Script /var/lib/asterisk/agi-bin/attendedtransfer-rec-restart.php
[2018-04-02 09:05:01] VERBOSE[29728][C-00001a6a] res_agi.c: <SIP/flowroute-00000208>AGI Script attendedtransfer-rec-restart.php completed, returning 0
[2018-04-02 09:05:01] VERBOSE[29728][C-00001a6a] pbx.c: Executing [[email protected]:6] Hangup("SIP/flowroute-00000208", "") in new stack
[2018-04-02 09:05:01] VERBOSE[29728][C-00001a6a] app_macro.c: Spawn extension (macro-hangupcall, s, 6) exited non-zero on 'SIP/flowroute-00000208' in macro 'hangupcall'
[2018-04-02 09:05:01] VERBOSE[29728][C-00001a6a] pbx.c: Spawn extension (ext-fax, h, 105) exited non-zero on 'SIP/flowroute-00000208'

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.