Trying to get fax going

Hi All,

I am trying to get fax going on a freepbx 12 machine. I have enabled fax on the incoming route to detect fax using sip. I have enabled an extension to detect fax and it appears as a fax recipient in the fax destination selection box.

When I make a fax call I see the following in the full log:

[2015-03-13 09:16:42] NOTICE[22690][C-00000012] res_fax.c: FAX T38 detected but no fax extension in context (from-did-direct)

I have looked in extensions_additional.conf and found the following:

[ext-did-0001]
include => ext-did-0001-custom
exten => fax,1,Goto(${CUT(FAX_DEST,^,1)},${CUT(FAX_DEST,^,2)},${CUT(FAX_DEST,^,3)})

exten => s,1,ExecIf($["${FROM_DID}" = “”]?Set(__FROM_DID=${EXTEN}))
exten => s,n,Gosub(sub-record-check,s,1(in,${EXTEN},dontcare))
exten => s,n,Set(CDR(did)=${FROM_DID})
exten => s,n,ExecIf($[ “${CALLERID(name)}” = “” ] ?Set(CALLERID(name)=${CALLERID(num)}))
exten => s,n,Set(CHANNEL(musicclass)=default)
exten => s,n,Set(__MOHCLASS=default)
exten => s,n,GotoIf($["${__REVERSAL_REJECT}"=“TRUE” & “${CHANNEL(reversecharge)}”=“1” ]?macro-hangupcall)
exten => s,n,Set(__CALLINGPRES_SV=${CALLERPRES()})
exten => s,n,Set(CALLERPRES()=allowed_not_screened)
exten => s,n,Set(FAX_DEST=ext-fax^2000^1)
exten => s,n,Set(FAXOPT(faxdetect)=yes)
exten => s,n,Answer
exten => s,n,Wait(4)
exten => s,n(dest-ext),Goto(from-did-direct,2000,1)

;–== end of [ext-did-0001] ==–;

the extension is defined in sip_additional.conf as:

[2000]
deny=0.0.0.0/0.0.0.0
secret=2000abc
dtmfmode=rfc2833
canreinvite=no
context=from-internal
host=dynamic
trustrpid=yes
sendrpid=no
type=friend
nat=no
port=5060
qualify=yes
qualifyfreq=60
transport=udp,tcp,tls
avpf=no
force_avp=no
icesupport=no
encryption=no
callgroup=
pickupgroup=
dial=SIP/2000
mailbox=2000@default
permit=0.0.0.0/0.0.0.0
callerid=2000 <2000>

Can anyone point me in correct direction to fix this.

TIA

Ian