Asterisk fax

We need to receive incoming faxes with Asterisk.
It seems to answer but nothing is saved or sent by mail. No errors nothing. OS = Gentoo, Asterisk 1.2.9.1

-- Accepting call from '8632939421' to '9430' on channel 0/1, span 1
-- Executing Set("Zap/1-1", "FROM_DID=9430") in new stack
-- Executing Answer("Zap/1-1", "") in new stack
-- Executing Wait("Zap/1-1", "10") in new stack
-- Redirecting Zap/1-1 to fax extension

== Spawn extension (from-pstn, fax, 0) exited non-zero on ‘Zap/1-1’
– Executing Goto(“Zap/1-1”, “ext-fax|in_fax|1”) in new stack
– Goto (ext-fax,in_fax,1)
– Executing StopPlayTones(“Zap/1-1”, “”) in new stack
– Executing GotoIf(“Zap/1-1”, “1?3:analog_fax|1”) in new stack
– Goto (ext-fax,in_fax,3)
– Executing Macro(“Zap/1-1”, “faxreceive”) in new stack
– Executing Set(“Zap/1-1”, “FAXFILE=/var/spool/asterisk/fax/1158813104.12.tif”) in new stack
– Executing Set(“Zap/1-1”, "EMAILADDR=admin@amstec.net") in new stack
– Executing RxFAX(“Zap/1-1”, “/var/spool/asterisk/fax/1158813104.12.tif”) in new stack
– Channel 0/1, span 1 got hangup request
– Executing Hangup(“Zap/1-1”, “”) in new stack
== Spawn extension (ext-fax, h, 1) exited non-zero on ‘Zap/1-1’
– Hungup ‘Zap/1-1’