Freepbx 13 Fax not working

Hi, with Freepbx 13 & ASterisk 13, when I call 666 -> fax system, I got a busy signal. Here are the logs :slight_smile:

== Using SIP RTP TOS bits 184
  == Using SIP RTP CoS mark 5
    -- Executing [666@from-internal:1] Set("SIP/999-00000024", "FAX_RX_EMAIL=") in new stack
    -- Executing [666@from-internal:2] Goto("SIP/999-00000024", "ext-fax,s,1") in new stack
    -- Goto (ext-fax,s,1)
    -- Executing [s@ext-fax:1] Macro("SIP/999-00000024", "user-callerid,") in new stack
    -- Executing [s@macro-user-callerid:1] Set("SIP/999-00000024", "TOUCH_MONITOR=1499960409.36") in new stack
    -- Executing [s@macro-user-callerid:2] Set("SIP/999-00000024", "AMPUSER=999") in new stack
    -- Executing [s@macro-user-callerid:3] GotoIf("SIP/999-00000024", "0?report") in new stack
    -- Executing [s@macro-user-callerid:4] ExecIf("SIP/999-00000024", "1?Set(REALCALLERIDNUM=999)") in new stack
    -- Executing [s@macro-user-callerid:5] Set("SIP/999-00000024", "AMPUSER=999") in new stack
    -- Executing [s@macro-user-callerid:6] GotoIf("SIP/999-00000024", "0?limit") in new stack
    -- Executing [s@macro-user-callerid:7] Set("SIP/999-00000024", "AMPUSERCIDNAME=Ara Tech") in new stack
    -- Executing [s@macro-user-callerid:8] GotoIf("SIP/999-00000024", "0?report") in new stack
    -- Executing [s@macro-user-callerid:9] Set("SIP/999-00000024", "AMPUSERCID=999") in new stack
    -- Executing [s@macro-user-callerid:10] Set("SIP/999-00000024", "__DIAL_OPTIONS=Ttr") in new stack
    -- Executing [s@macro-user-callerid:11] Set("SIP/999-00000024", "CALLERID(all)="Ara Tech" <999>") in new stack
    -- Executing [s@macro-user-callerid:12] GotoIf("SIP/999-00000024", "0?limit") in new stack
    -- Executing [s@macro-user-callerid:13] ExecIf("SIP/999-00000024", "0?Set(GROUP(concurrency_limit)=999)") in new stack
    -- Executing [s@macro-user-callerid:14] ExecIf("SIP/999-00000024", "0?Set(CHANNEL(language)=)") in new stack
    -- Executing [s@macro-user-callerid:15] GotoIf("SIP/999-00000024", "0?continue") in new stack
    -- Executing [s@macro-user-callerid:16] Set("SIP/999-00000024", "__TTL=64") in new stack
    -- Executing [s@macro-user-callerid:17] GotoIf("SIP/999-00000024", "1?continue") in new stack
    -- Goto (macro-user-callerid,s,28)
    -- Executing [s@macro-user-callerid:28] Set("SIP/999-00000024", "CALLERID(number)=999") in new stack
    -- Executing [s@macro-user-callerid:29] Set("SIP/999-00000024", "CALLERID(name)=Ara Tech") in new stack
    -- Executing [s@macro-user-callerid:30] GotoIf("SIP/999-00000024", "0?cnum") in new stack
    -- Executing [s@macro-user-callerid:31] Set("SIP/999-00000024", "CDR(cnam)=Ara Tech") in new stack
    -- Executing [s@macro-user-callerid:32] Set("SIP/999-00000024", "CDR(cnum)=999") in new stack
    -- Executing [s@macro-user-callerid:33] Set("SIP/999-00000024", "CHANNEL(language)=fr") in new stack
    -- Executing [s@ext-fax:2] NoOp("SIP/999-00000024", "Receiving Fax for:  , From: "Ara Tech" <999>") in new stack
    -- Executing [s@ext-fax:3] StopPlayTones("SIP/999-00000024", "") in new stack
[2017-07-13 17:40:10] WARNING[7857][C-00000015]: pbx.c:2864 pbx_extension_helper: No application 'ReceiveFAX' for extension (ext-fax, s, 4)
  == Spawn extension (ext-fax, s, 4) exited non-zero on 'SIP/999-00000024'
    -- Executing [h@ext-fax:1] GotoIf("SIP/999-00000024", "1?failed") in new stack
    -- Goto (ext-fax,h,104)
    -- Executing [h@ext-fax:104] NoOp("SIP/999-00000024", "FAX  for:  , From: "Ara Tech" <999>") in new stack
    -- Executing [h@ext-fax:105] Macro("SIP/999-00000024", "hangupcall,") in new stack
    -- Executing [s@macro-hangupcall:1] GotoIf("SIP/999-00000024", "1?theend") in new stack
    -- Goto (macro-hangupcall,s,3)
    -- Executing [s@macro-hangupcall:3] ExecIf("SIP/999-00000024", "0?Set(CDR(recordingfile)=)") in new stack
    -- Executing [s@macro-hangupcall:4] Hangup("SIP/999-00000024", "") in new stack
  == Spawn extension (macro-hangupcall, s, 4) exited non-zero on 'SIP/999-00000024' in macro 'hangupcall'
  == Spawn extension (ext-fax, h, 105) exited non-zero on 'SIP/999-00000024'

Is this on a FreePBX distro system? Asterisk is missing the ReceiveFAX application.

It is debian 8 with fresh install of freepbx like explained in

https://wiki.freepbx.org/display/FOP/Installing+FreePBX+13+on+Debian+8.1

Here is the result of a “module show like fax”

Module                         Description                              Use Count  Status      Support Level
res_fax.so                     Generic FAX Applications                 1          Not Running          core
res_fax_spandsp.so             Spandsp G.711 and T.38 FAX Technologies  0          Running          extended
2 modules loaded

I would say that’s your problem, res_fax.so is not running.

*CLI> core show application ReceiveFAX

  -= Info about application 'ReceiveFAX' =-

[Synopsis]
Receive a FAX and save as a TIFF/F file.

I think so too but you know how to start it ? or why it isn’t started automatically ?

I found it in my res_fax.conf, minrate > maxrate :frowning:

[general]
#include res_fax_custom.conf
minrate=12000
maxrate=9600

thank you