Page 1 of 1

return values of FAXOPT(error)

PostPosted: Fri Feb 26, 2010 3:22 am
by francescos
Hello,
I'm using Free FFA 1.4_1.1.6 under Asterisk 1.4.24 (Asterisk NOW a.k.a. FreePBX). Basically everything works, but sometimes fax transmission fails and I get some error code from FAXOPT(error) variable like that:
    3RD_FRM_CHECK_ERROR,
    ECM_GET_BUFFER_ERROR,
    T1_TIMEOUT,
    3RD_T2_TIMEOUT,
    REMOTE_DISCONNECT.
Some are self-explaining but some are obscure, and I can't find them listed in the FFA Administrator Manual. Can somebody explain a bit what's happening in these case?

Thanks in advance
Francesco

Re: return values of FAXOPT(error)

PostPosted: Fri Feb 26, 2010 1:20 pm
by willemm
The fax transmission is done according to the T.30 fax protocol.
If something goes wrong (time-outs or something else), you get the errors you mention.

Some info I found:
  • The complete T.30 protocol can be found here.
  • A simple page explaining some timers and frame types.
A T1 timeout for instance means that the fax did not receive any identification from the other side, probably because there wasn't a fax on the other side.

Hopefully this will get you started in understanding the error return values.

Re: return values of FAXOPT(error)

PostPosted: Wed Mar 17, 2010 11:40 am
by nmazzon
There isn't any documentation about FAXOPT(error)... :shock:

Now I'm writing to digium!! :?