Incoming NV faxes crash asterisk

I am running freepbx 2.2.3 on a trixbox 2.2 installation

I have setup an incoming SIP trunk to detect faxes using NVfax.
NVfax is running, so is faxdetect when I test from the asterisk console.
I have also checked that mime-construct is present with the correct permissions

When I send a fax to it, the fax gets picked up.
The console shows its an incoming fax, but before the tif file is created and written, asterisk crashes out and a brand new asterisk process is started.

No matter what I do, I cant get incoming faxes to be created! Ive checked the permissions in the fax spool directory, everything seems ok.

any ideas anyone???

Here’s the log, as you can see, nothing is shown, apart from asterisk bombing out and restarting at the end!

Jul 31 15:16:26 DEBUG[29577] app_nv_faxdetect.c: Fax detected on SIP/83.245.6.81-08d674b0
Jul 31 15:16:26 NOTICE[29577] app_nv_faxdetect.c: Redirecting SIP/83.245.6.81-08d674b0 to fax extension
Jul 31 15:16:26 VERBOSE[29577] logger.c: – Executing Goto(“SIP/83.245.6.81-08d674b0”, “ext-fax|in_fax|1”) in new stack
Jul 31 15:16:26 VERBOSE[29577] logger.c: – Goto (ext-fax,in_fax,1)
Jul 31 15:16:26 VERBOSE[29577] logger.c: – Executing StopPlayTones(“SIP/83.245.6.81-08d674b0”, “”) in new stack
Jul 31 15:16:26 DEBUG[29577] channel.c: Scheduling timer at 0 sample intervals
Jul 31 15:16:26 DEBUG[29577] pbx.c: Expression result is '1’
Jul 31 15:16:26 VERBOSE[29577] logger.c: – Executing GotoIf(“SIP/83.245.6.81-08d674b0”, “1?3:analog_fax|1”) in new stack
Jul 31 15:16:26 VERBOSE[29577] logger.c: – Goto (ext-fax,in_fax,3)
Jul 31 15:16:26 VERBOSE[29577] logger.c: – Executing Macro(“SIP/83.245.6.81-08d674b0”, “faxreceive”) in new stack
Jul 31 15:16:26 VERBOSE[29577] logger.c: – Executing Set(“SIP/83.245.6.81-08d674b0”, “FAXFILE=/var/spool/asterisk/fax/1185891384.2.tif”) in new stack
Jul 31 15:16:26 DEBUG[29577] app_macro.c: Executed application: Set
Jul 31 15:16:26 VERBOSE[29577] logger.c: – Executing Set(“SIP/83.245.6.81-08d674b0”, "[email protected]") in new stack
Jul 31 15:16:26 DEBUG[29577] app_macro.c: Executed application: Set
Jul 31 15:16:26 VERBOSE[29577] logger.c: – Executing RxFAX(“SIP/83.245.6.81-08d674b0”, “/var/spool/asterisk/fax/1185891384.2.tif”) in new stack
Jul 31 15:16:30 VERBOSE[29589] logger.c: Asterisk Event Logger Started /var/log/asterisk/event_log