[asterisk-users] AGI script dies after receivefax

Steve Edwards asterisk.org at sedwards.com
Fri Feb 18 20:14:43 CST 2011


On Fri, 18 Feb 2011, Mike Diehl wrote:

> I've got a perl agi script that exec()'s the FFA version of receivefax to... receive a fax.
> 
> However, after the fax is received, the script seems to die.
> 
> This is what I have:
> 
> $main::agi->exec("receivefax","/tmp/${$}.tiff|fs");
> $main::agi->verbose("FAX COMPLETE",1);
> 
> I never see the "FAX COMPLETE" message on the console, I've set verbose to 25.  Any ideas?  I'd like to take the next few instructions to log
> success/failure.

What version of Asterisk?

Would enabling AGI debugging on the console shed any light?

Any chance receivefax is generating a signal you're not trapping?

-- 
Thanks in advance,
-------------------------------------------------------------------------
Steve Edwards       sedwards at sedwards.com      Voice: +1-760-468-3867 PST
Newline                                              Fax: +1-760-731-3000


More information about the asterisk-users mailing list