Fax For Asterisk


I use Asterisk 1.4.26 with Fax For Asterisk from Digium.
When my Asterisk is connected to pstn with Patton, send fax and received fax works fine.
(With G711 codec)

So, now I works without Patton but with trunk SIP.

Sendfax works fine…
Receivefax don’t work.

I use nvfaxdetect…

This is error in my asterisk logs:

[Nov 17 17:56:02] VERBOSE[26167] logger.c: – Executing [s@macro-faxreceive:3] ReceiveFAX(“SIP/OpenIP-09318d70”, “/var/spool/asterisk/fax/1258476957.3.t
if”) in new stack
[Nov 17 17:56:02] VERBOSE[26167] logger.c: – Channel ‘SIP/OpenIP-09318d70’ is receiving fax ‘/var/spool/asterisk/fax/1258476957.3.tif’
[Nov 17 17:56:02] VERBOSE[26167] logger.c: – Channel ‘SIP/OpenIP-09318d70’ fax session ‘1’ started
[Nov 17 17:56:02] NOTICE[26167] channel.c: Dropping incompatible voice frame on SIP/OpenIP-09318d70 of format slin since our native format has changed to 0x
4 (ulaw)
[Nov 17 17:56:45] VERBOSE[19256] logger.c: – Remote UNIX connection
[Nov 17 17:56:48] NOTICE[26167] res_fax.c: Channel ‘SIP/OpenIP-09318d70’ did not return a frame; probably hung up.
[Nov 17 17:56:57] VERBOSE[26221] logger.c: – Channel ‘SIP/OpenIP-09318d70’ fax session ‘1’ is complete, result: ‘FAILED’ (FAX_FAILURE_PROTOCOL_ERROR),
error: ‘CANCELED’, pages: 0, resolution: ‘unknown’, transfer rate: ‘2400’, remoteSID: ‘’
[Nov 17 17:56:58] VERBOSE[26167] logger.c: == Spawn extension (macro-faxreceive, s, 3) exited non-zero on ‘SIP/OpenIP-09318d70’ in macro ‘faxreceive’

Does anyone has any idea about this problem?
Thanks for your help