Upgraded to FPBX 2.10.1.2 from Trixbox, can't get faxes working

I’m having some trouble getting FreePBX 2.10.1.2 to receive incoming faxes.

With NVFax greyed out (I am reading that it isn’t supported anymore) I don’t know how I’m supposed to route the faxes.

We have a large block of public phone numbers that extensions are mapped to; how it used to work was that whatever number you dialed, if it was a fax it would accept it as such and deliver the fax to the user’s email box.

I am unsure what I am supposed to set the fax settings to now. I’ve tried setting an inbound route for the specific number and turning Fax Detect on, and tried setting the Detection Type to both SIP and DADHI. chan_dadhi.conf has “faxdetect=incoming” and the sip conf has “faxdetect=yes” The Fax Destination is set to Fax Recipient with the user’s extension, which has their email address in the Fax section of Extensions.

The line rings (instead of detecting it as a fax). Here is the log from asterisk:

– Executing [4158@from-zaptel:1] Set(“DAHDI/i1/8009806858-53”, “DID=4158”) in new stack
– Executing [4158@from-zaptel:2] Goto(“DAHDI/i1/8009806858-53”, “s,1”) in new stack
– Goto (from-zaptel,s,1)
– Executing [s@from-zaptel:1] NoOp(“DAHDI/i1/8009806858-53”, “Entering from-dahdi with DID == 4158”) in new stack
– Executing [s@from-zaptel:2] Ringing(“DAHDI/i1/8009806858-53”, “”) in new stack
– Executing [s@from-zaptel:3] Set(“DAHDI/i1/8009806858-53”, “DID=4158”) in new stack
– Executing [s@from-zaptel:4] NoOp(“DAHDI/i1/8009806858-53”, “DID is now 4158”) in new stack
– Executing [s@from-zaptel:5] GotoIf(“DAHDI/i1/8009806858-53”, “1?dahdiok:checkzap”) in new stack
– Goto (from-zaptel,s,9)
– Executing [s@from-zaptel:9] NoOp(“DAHDI/i1/8009806858-53”, “Is a DAHDi Channel”) in new stack
– Executing [s@from-zaptel:10] Set(“DAHDI/i1/8009806858-53”, “CHAN=i1/8009806858-53”) in new stack
– Executing [s@from-zaptel:11] Set(“DAHDI/i1/8009806858-53”, “CHAN=i1/8009806858”) in new stack
– Executing [s@from-zaptel:12] Macro(“DAHDI/i1/8009806858-53”, “from-dahdi-i1/8009806858,4158,1”) in new stack
[2012-10-15 16:15:39] WARNING[17218]: app_macro.c:309 _macro_exec: No such context ‘macro-from-dahdi-i1/8009806858’ for macro ‘from-dahdi-i1/8009806858’
– Executing [s@from-zaptel:13] NoOp(“DAHDI/i1/8009806858-53”, “Returned from Macro from-dahdi-i1/8009806858”) in new stack
– Executing [s@from-zaptel:14] Goto(“DAHDI/i1/8009806858-53”, “from-pstn,4158,1”) in new stack
– Goto (from-pstn,4158,1)
– Executing [4158@from-pstn:1] Set(“DAHDI/i1/8009806858-53”, “__RINGTIMER=15”) in new stack
– Executing [4158@from-pstn:2] Macro(“DAHDI/i1/8009806858-53”, “exten-vm,novm,4158,0,0,0”) in new stack
– Executing [s@macro-exten-vm:1] Macro(“DAHDI/i1/8009806858-53”, “user-callerid,”) in new stack
– Executing [s@macro-user-callerid:1] Set(“DAHDI/i1/8009806858-53”, “AMPUSER=8009806858”) in new stack
– Executing [s@macro-user-callerid:2] GotoIf(“DAHDI/i1/8009806858-53”, “0?report”) in new stack
– Executing [s@macro-user-callerid:3] ExecIf(“DAHDI/i1/8009806858-53”, “1?Set(REALCALLERIDNUM=8009806858)”) in new stack
– Executing [s@macro-user-callerid:4] Set(“DAHDI/i1/8009806858-53”, “AMPUSER=”) in new stack
– Executing [s@macro-user-callerid:5] Set(“DAHDI/i1/8009806858-53”, “AMPUSERCIDNAME=”) in new stack
– Executing [s@macro-user-callerid:6] GotoIf(“DAHDI/i1/8009806858-53”, “1?report”) in new stack
– Goto (macro-user-callerid,s,13)
– Executing [s@macro-user-callerid:13] GotoIf(“DAHDI/i1/8009806858-53”, “0?continue”) in new stack
– Executing [s@macro-user-callerid:14] Set(“DAHDI/i1/8009806858-53”, “__TTL=64”) in new stack
– Executing [s@macro-user-callerid:15] GotoIf(“DAHDI/i1/8009806858-53”, “1?continue”) in new stack
– Goto (macro-user-callerid,s,26)
– Executing [s@macro-user-callerid:26] Set(“DAHDI/i1/8009806858-53”, “CALLERID(number)=8009806858”) in new stack
– Executing [s@macro-user-callerid:27] Set(“DAHDI/i1/8009806858-53”, “CALLERID(name)=800 TF Service”) in new stack
– Executing [s@macro-user-callerid:28] Set(“DAHDI/i1/8009806858-53”, “CHANNEL(language)=en”) in new stack
– Executing [s@macro-exten-vm:2] Set(“DAHDI/i1/8009806858-53”, “RingGroupMethod=none”) in new stack
– Executing [s@macro-exten-vm:3] Set(“DAHDI/i1/8009806858-53”, “__EXTTOCALL=4158”) in new stack
– Executing [s@macro-exten-vm:4] Set(“DAHDI/i1/8009806858-53”, “__PICKUPMARK=4158”) in new stack
– Executing [s@macro-exten-vm:5] Set(“DAHDI/i1/8009806858-53”, “RT=”) in new stack
– Executing [s@macro-exten-vm:6] Gosub(“DAHDI/i1/8009806858-53”, “sub-record-check,s,1(exten,4158,)”) in new stack
– Executing [s@sub-record-check:1] GotoIf(“DAHDI/i1/8009806858-53”, “1?check”) in new stack
– Goto (sub-record-check,s,6)
– Executing [s@sub-record-check:6] Set(“DAHDI/i1/8009806858-53”, “__MON_FMT=wav”) in new stack
– Executing [s@sub-record-check:7] GotoIf(“DAHDI/i1/8009806858-53”, “1?next”) in new stack
– Goto (sub-record-check,s,10)
– Executing [s@sub-record-check:10] ExecIf(“DAHDI/i1/8009806858-53”, “0?Return()”) in new stack
– Executing [s@sub-record-check:11] GotoIf(“DAHDI/i1/8009806858-53”, “0?exten,1”) in new stack
– Executing [s@sub-record-check:12] Set(“DAHDI/i1/8009806858-53”, “__REC_STATUS=INITIALIZED”) in new stack
– Executing [s@sub-record-check:13] ExecIf(“DAHDI/i1/8009806858-53”, “0?Set(__REC_POLICY_MODE=)”) in new stack
– Executing [s@sub-record-check:14] Set(“DAHDI/i1/8009806858-53”, “NOW=1350332139”) in new stack
– Executing [s@sub-record-check:15] Set(“DAHDI/i1/8009806858-53”, “__DAY=15”) in new stack
– Executing [s@sub-record-check:16] Set(“DAHDI/i1/8009806858-53”, “__MONTH=10”) in new stack
– Executing [s@sub-record-check:17] Set(“DAHDI/i1/8009806858-53”, “__YEAR=2012”) in new stack
– Executing [s@sub-record-check:18] Set(“DAHDI/i1/8009806858-53”, “__TIMESTR=20121015-161539”) in new stack
– Executing [s@sub-record-check:19] Set(“DAHDI/i1/8009806858-53”, “__FROMEXTEN=8009806858”) in new stack
– Executing [s@sub-record-check:20] Set(“DAHDI/i1/8009806858-53”, “__CALLFILENAME=exten-4158-8009806858-20121015-161539-1350332139.212”) in new stack
– Executing [s@sub-record-check:21] Goto(“DAHDI/i1/8009806858-53”, “exten,1”) in new stack
– Goto (sub-record-check,exten,1)
– Executing [exten@sub-record-check:1] GotoIf(“DAHDI/i1/8009806858-53”, “0?callee”) in new stack
– Executing [exten@sub-record-check:2] Set(“DAHDI/i1/8009806858-53”, “__REC_POLICY_MODE=dontcare”) in new stack
– Executing [exten@sub-record-check:3] GotoIf(“DAHDI/i1/8009806858-53”, “1?caller”) in new stack
– Goto (sub-record-check,exten,10)
– Executing [exten@sub-record-check:10] Set(“DAHDI/i1/8009806858-53”, “REC_POLICY_MODE=”) in new stack
– Executing [exten@sub-record-check:11] GosubIf(“DAHDI/i1/8009806858-53”, “0?record,1(exten,4158,8009806858)”) in new stack
– Executing [exten@sub-record-check:12] Return(“DAHDI/i1/8009806858-53”, “”) in new stack
– Executing [s@macro-exten-vm:7] GotoIf(“DAHDI/i1/8009806858-53”, “1?macrodial”) in new stack
– Goto (macro-exten-vm,s,13)
– Executing [s@macro-exten-vm:13] GosubIf(“DAHDI/i1/8009806858-53”, “0?clrheader,1()”) in new stack
– Executing [s@macro-exten-vm:14] Macro(“DAHDI/i1/8009806858-53”, “dial-one,tr,4158”) in new stack
– Executing [s@macro-dial-one:1] Set(“DAHDI/i1/8009806858-53”, “DEXTEN=4158”) in new stack
– Executing [s@macro-dial-one:2] Set(“DAHDI/i1/8009806858-53”, “DIALSTATUS_CW=”) in new stack
– Executing [s@macro-dial-one:3] GosubIf(“DAHDI/i1/8009806858-53”, “0?screen,1()”) in new stack
– Executing [s@macro-dial-one:4] GosubIf(“DAHDI/i1/8009806858-53”, “0?cf,1()”) in new stack
– Executing [s@macro-dial-one:5] GotoIf(“DAHDI/i1/8009806858-53”, “1?skip1”) in new stack
– Goto (macro-dial-one,s,8)
– Executing [s@macro-dial-one:8] GotoIf(“DAHDI/i1/8009806858-53”, “0?nodial”) in new stack
– Executing [s@macro-dial-one:9] GotoIf(“DAHDI/i1/8009806858-53”, “0?continue”) in new stack
– Executing [s@macro-dial-one:10] Set(“DAHDI/i1/8009806858-53”, “EXTHASCW=ENABLED”) in new stack
– Executing [s@macro-dial-one:11] GotoIf(“DAHDI/i1/8009806858-53”, “0?next1:cwinusebusy”) in new stack
– Goto (macro-dial-one,s,23)
– Executing [s@macro-dial-one:23] GotoIf(“DAHDI/i1/8009806858-53”, “1?next3:continue”) in new stack
– Goto (macro-dial-one,s,24)
– Executing [s@macro-dial-one:24] ExecIf(“DAHDI/i1/8009806858-53”, “0?Set(DIALSTATUS_CW=BUSY)”) in new stack
– Executing [s@macro-dial-one:25] GotoIf(“DAHDI/i1/8009806858-53”, “0?nodial”) in new stack
– Executing [s@macro-dial-one:26] GosubIf(“DAHDI/i1/8009806858-53”, “1?dstring,1():dlocal,1()”) in new stack
– Executing [dstring@macro-dial-one:1] Set(“DAHDI/i1/8009806858-53”, “DSTRING=”) in new stack
– Executing [dstring@macro-dial-one:2] Set(“DAHDI/i1/8009806858-53”, “DEVICES=4158”) in new stack
– Executing [dstring@macro-dial-one:3] ExecIf(“DAHDI/i1/8009806858-53”, “0?Return()”) in new stack
– Executing [dstring@macro-dial-one:4] ExecIf(“DAHDI/i1/8009806858-53”, “0?Set(DEVICES=158)”) in new stack
– Executing [dstring@macro-dial-one:5] Set(“DAHDI/i1/8009806858-53”, “LOOPCNT=1”) in new stack
– Executing [dstring@macro-dial-one:6] Set(“DAHDI/i1/8009806858-53”, “ITER=1”) in new stack
– Executing [dstring@macro-dial-one:7] Set(“DAHDI/i1/8009806858-53”, “THISDIAL=SIP/4158”) in new stack
– Executing [dstring@macro-dial-one:8] GosubIf(“DAHDI/i1/8009806858-53”, “1?zap2dahdi,1()”) in new stack
– Executing [zap2dahdi@macro-dial-one:1] ExecIf(“DAHDI/i1/8009806858-53”, “0?Return()”) in new stack
– Executing [zap2dahdi@macro-dial-one:2] Set(“DAHDI/i1/8009806858-53”, “NEWDIAL=”) in new stack
– Executing [zap2dahdi@macro-dial-one:3] Set(“DAHDI/i1/8009806858-53”, “LOOPCNT2=1”) in new stack
– Executing [zap2dahdi@macro-dial-one:4] Set(“DAHDI/i1/8009806858-53”, “ITER2=1”) in new stack
– Executing [zap2dahdi@macro-dial-one:5] Set(“DAHDI/i1/8009806858-53”, “THISPART2=SIP/4158”) in new stack
– Executing [zap2dahdi@macro-dial-one:6] ExecIf(“DAHDI/i1/8009806858-53”, “0?Set(THISPART2=DAHDI/4158)”) in new stack
– Executing [zap2dahdi@macro-dial-one:7] Set(“DAHDI/i1/8009806858-53”, “NEWDIAL=SIP/4158&”) in new stack
– Executing [zap2dahdi@macro-dial-one:8] Set(“DAHDI/i1/8009806858-53”, “ITER2=2”) in new stack
– Executing [zap2dahdi@macro-dial-one:9] GotoIf(“DAHDI/i1/8009806858-53”, “0?begin2”) in new stack
– Executing [zap2dahdi@macro-dial-one:10] Set(“DAHDI/i1/8009806858-53”, “THISDIAL=SIP/4158”) in new stack
– Executing [zap2dahdi@macro-dial-one:11] Return(“DAHDI/i1/8009806858-53”, “”) in new stack
– Executing [dstring@macro-dial-one:9] Set(“DAHDI/i1/8009806858-53”, “DSTRING=SIP/4158&”) in new stack
– Executing [dstring@macro-dial-one:10] Set(“DAHDI/i1/8009806858-53”, “ITER=2”) in new stack
– Executing [dstring@macro-dial-one:11] GotoIf(“DAHDI/i1/8009806858-53”, “0?begin”) in new stack
– Executing [dstring@macro-dial-one:12] Set(“DAHDI/i1/8009806858-53”, “DSTRING=SIP/4158”) in new stack
– Executing [dstring@macro-dial-one:13] Return(“DAHDI/i1/8009806858-53”, “”) in new stack
– Executing [s@macro-dial-one:27] GotoIf(“DAHDI/i1/8009806858-53”, “0?nodial”) in new stack
– Executing [s@macro-dial-one:28] GotoIf(“DAHDI/i1/8009806858-53”, “0?skiptrace”) in new stack
– Executing [s@macro-dial-one:29] GosubIf(“DAHDI/i1/8009806858-53”, “1?ctset,1():ctclear,1()”) in new stack
– Executing [ctset@macro-dial-one:1] Set(“DAHDI/i1/8009806858-53”, “DB(CALLTRACE/4158)=8009806858”) in new stack
– Executing [ctset@macro-dial-one:2] Return(“DAHDI/i1/8009806858-53”, “”) in new stack
– Executing [s@macro-dial-one:30] Set(“DAHDI/i1/8009806858-53”, “D_OPTIONS=tr”) in new stack
– Executing [s@macro-dial-one:31] ExecIf(“DAHDI/i1/8009806858-53”, “0?SIPAddHeader(Alert-Info: )”) in new stack
– Executing [s@macro-dial-one:32] ExecIf(“DAHDI/i1/8009806858-53”, “0?SIPAddHeader()”) in new stack
– Executing [s@macro-dial-one:33] ExecIf(“DAHDI/i1/8009806858-53”, “0?Set(CHANNEL(musicclass)=)”) in new stack
– Executing [s@macro-dial-one:34] GosubIf(“DAHDI/i1/8009806858-53”, “0?qwait,1()”) in new stack
– Executing [s@macro-dial-one:35] Set(“DAHDI/i1/8009806858-53”, “__CWIGNORE=”) in new stack
– Executing [s@macro-dial-one:36] Set(“DAHDI/i1/8009806858-53”, “__KEEPCID=TRUE”) in new stack
– Executing [s@macro-dial-one:37] GotoIf(“DAHDI/i1/8009806858-53”, “0?usegoto,1”) in new stack
– Executing [s@macro-dial-one:38] GotoIf(“DAHDI/i1/8009806858-53”, “1?godial”) in new stack
– Goto (macro-dial-one,s,42)
– Executing [s@macro-dial-one:42] Dial(“DAHDI/i1/8009806858-53”, “SIP/4158,tr”) in new stack
== Using SIP RTP TOS bits 184
== Using SIP RTP CoS mark 5
– Called SIP/4158
– SIP/4158-0000004b is ringing
– Span 1: Channel 0/4 got hangup request, cause 16
== Spawn extension (macro-dial-one, s, 42) exited non-zero on ‘DAHDI/i1/8009806858-53’ in macro ‘dial-one’
== Spawn extension (macro-exten-vm, s, 14) exited non-zero on ‘DAHDI/i1/8009806858-53’ in macro ‘exten-vm’
== Spawn extension (from-pstn, 4158, 2) exited non-zero on ‘DAHDI/i1/8009806858-53’
– Executing [h@from-pstn:1] Macro(“DAHDI/i1/8009806858-53”, “hangupcall,”) in new stack
– Executing [s@macro-hangupcall:1] GotoIf(“DAHDI/i1/8009806858-53”, “1?theend”) in new stack
– Goto (macro-hangupcall,s,3)
– Executing [s@macro-hangupcall:3] ExecIf(“DAHDI/i1/8009806858-53”, “0?Set(CDR(recordingfile)=)”) in new stack
– Executing [s@macro-hangupcall:4] Hangup(“DAHDI/i1/8009806858-53”, “”) in new stack
== Spawn extension (macro-hangupcall, s, 4) exited non-zero on ‘DAHDI/i1/8009806858-53’ in macro ‘hangupcall’
== Spawn extension (from-pstn, h, 1) exited non-zero on ‘DAHDI/i1/8009806858-53’
– Hungup ‘DAHDI/i1/8009806858-53’