I've got a new build of PiaF running Asterisk 1.6.1. I installed the Fax script, and was able to compile NVFax for use in Asterisk. It appears the line is being properly detected as a fax call, but it errors out when trying to receive the fax. Here is the log:
-- Accepting call from '**********' to '9485' on channel 0/1, span 1
-- Executing [9485@from-pstn:1] Set("DAHDI/1-1", "__FROM_DID=9485") in new stack
-- Executing [9485@from-pstn:2] ExecIf("DAHDI/1-1", "1 ?Set(CALLERID(name)=**********)") in new stack
-- Executing [9485@from-pstn:3] Set("DAHDI/1-1", "FAX_RX=system") in new stack
-- Executing [9485@from-pstn:4] Set("DAHDI/1-1", "[email protected]") in new stack
-- Executing [9485@from-pstn:5] Answer("DAHDI/1-1", "") in new stack
-- Executing [9485@from-pstn:6] Wait("DAHDI/1-1", "5") in new stack
-- Redirecting DAHDI/1-1 to fax extension
== Spawn extension (from-pstn, fax, 1) exited non-zero on 'DAHDI/1-1'
-- Executing [fax@from-pstn:1] Goto("DAHDI/1-1", "ext-fax,in_fax,1") in new stack
-- Goto (ext-fax,in_fax,1)
-- Executing [in_fax@ext-fax:1] StopPlayTones("DAHDI/1-1", "") in new stack
-- Executing [in_fax@ext-fax:2] GotoIf("DAHDI/1-1", "1?3:analog_fax,1") in new stack
-- Goto (ext-fax,in_fax,3)
-- Executing [in_fax@ext-fax:3] Macro("DAHDI/1-1", "faxreceive") in new stack
-- Executing [s@macro-faxreceive:1] Set("DAHDI/1-1", "FAXFILE=/var/spool/asterisk/fax/1248292227.192.tif") in new stack
-- Executing [s@macro-faxreceive:2] Set("DAHDI/1-1", "[email protected]") in new stack
== Spawn extension (macro-faxreceive, s, 3) exited non-zero on 'DAHDI/1-1' in macro 'faxreceive'
== Spawn extension (ext-fax, in_fax, 3) exited non-zero on 'DAHDI/1-1'
-- Executing [h@ext-fax:1] System("DAHDI/1-1", "/var/lib/asterisk/bin/fax-process.pl --to fax@whatever --from [email protected] --subject "Fax from ********** RAR%20INC%20%20%20%20%20" --attachment fax_**********.pdf --type application/pdf --file /var/spool/asterisk/fax/1248292227.192.tif") in new stack
-- Executing [h@ext-fax:2] System("DAHDI/1-1", "rm /var/spool/asterisk/fax/1248292227.192.tif") in new stack
-- Executing [h@ext-fax:3] Hangup("DAHDI/1-1", "") in new stack
== Spawn extension (ext-fax, h, 3) exited non-zero on 'DAHDI/1-1'
-- Hungup 'DAHDI/1-1'
Any ideas? THX in advance!
-- Accepting call from '**********' to '9485' on channel 0/1, span 1
-- Executing [9485@from-pstn:1] Set("DAHDI/1-1", "__FROM_DID=9485") in new stack
-- Executing [9485@from-pstn:2] ExecIf("DAHDI/1-1", "1 ?Set(CALLERID(name)=**********)") in new stack
-- Executing [9485@from-pstn:3] Set("DAHDI/1-1", "FAX_RX=system") in new stack
-- Executing [9485@from-pstn:4] Set("DAHDI/1-1", "[email protected]") in new stack
-- Executing [9485@from-pstn:5] Answer("DAHDI/1-1", "") in new stack
-- Executing [9485@from-pstn:6] Wait("DAHDI/1-1", "5") in new stack
-- Redirecting DAHDI/1-1 to fax extension
== Spawn extension (from-pstn, fax, 1) exited non-zero on 'DAHDI/1-1'
-- Executing [fax@from-pstn:1] Goto("DAHDI/1-1", "ext-fax,in_fax,1") in new stack
-- Goto (ext-fax,in_fax,1)
-- Executing [in_fax@ext-fax:1] StopPlayTones("DAHDI/1-1", "") in new stack
-- Executing [in_fax@ext-fax:2] GotoIf("DAHDI/1-1", "1?3:analog_fax,1") in new stack
-- Goto (ext-fax,in_fax,3)
-- Executing [in_fax@ext-fax:3] Macro("DAHDI/1-1", "faxreceive") in new stack
-- Executing [s@macro-faxreceive:1] Set("DAHDI/1-1", "FAXFILE=/var/spool/asterisk/fax/1248292227.192.tif") in new stack
-- Executing [s@macro-faxreceive:2] Set("DAHDI/1-1", "[email protected]") in new stack
== Spawn extension (macro-faxreceive, s, 3) exited non-zero on 'DAHDI/1-1' in macro 'faxreceive'
== Spawn extension (ext-fax, in_fax, 3) exited non-zero on 'DAHDI/1-1'
-- Executing [h@ext-fax:1] System("DAHDI/1-1", "/var/lib/asterisk/bin/fax-process.pl --to fax@whatever --from [email protected] --subject "Fax from ********** RAR%20INC%20%20%20%20%20" --attachment fax_**********.pdf --type application/pdf --file /var/spool/asterisk/fax/1248292227.192.tif") in new stack
-- Executing [h@ext-fax:2] System("DAHDI/1-1", "rm /var/spool/asterisk/fax/1248292227.192.tif") in new stack
-- Executing [h@ext-fax:3] Hangup("DAHDI/1-1", "") in new stack
== Spawn extension (ext-fax, h, 3) exited non-zero on 'DAHDI/1-1'
-- Hungup 'DAHDI/1-1'
Any ideas? THX in advance!