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