Received faxes being cut off

Community-based Support for users of Free Fax For Asterisk

Received faxes being cut off

Postby jasona.work » Wed Apr 14, 2010 11:00 am

I'm working on getting Asterisk Fax working. The issue we are running into is that sometimes, faxes that are being received are "cut off" as if the system hung up before the fax was completely received. We are not currently using Asterisk to try to send faxes.

There seems to be no consistency as to whether a fax will be cut off, or not. We are using a default config, and do not have res_fax.conf / res_fax_digium.conf files. The relevant portion of our dialplan is below:
Code: Select all
[Fax4801]
exten => s,1,NoOp(** Fax incoming on line 4801 **)
exten => s,n,Set(__FaxID=${CDR(uniqueid):0:10})
exten => s,n,Set(LOCALSTATIONID=our name)
exten => s,n,Answer()
exten => s,n,Wait(2)
exten => s,n,ReceiveFAX(/faxincoming/fax-4801-${FaxID}.tif)
exten => h,1,NoOp(** Fax received **)
exten => h,n,NoOp(** Fax results: FaxStatus ${FAXSTATUS} - FaxError ${FAXERROR} - FaxStatusString ${FAXSTATUSSTRING} **)
exten => h,n,System(cp /faxincoming/fax-4801-${FaxID}.tif /mnt/server/faxinbox/401cad${FaxID}.tif)


I put in the line to put the "Faxstatus" etc in the console display, to try to narrow down what may be happening. As you can see, once a fax is received, it gets copied to another server for people to be able to view them. We are using G.711 fax, not T.38, and a "fax show stats" does show several partial faxes.

Any suggestions on how we can improve our receive setup, to reduce / eliminate partial faxes would be appreciated.

Thank you,
Jason
jasona.work
Newsterisk
 
Posts: 9
Joined: Thu Jul 23, 2009 7:58 am

Re: Received faxes being cut off

Postby jasona.work » Wed Apr 14, 2010 3:13 pm

Some more information. The faxes that seem to get cut off, all have the following in the Asterisk CLI just before they end:
Code: Select all
[Apr 14 15:31:18] NOTICE[12622]: res_fax.c:906 generic_fax_exec: Channel 'DAHDI/32-1' did not return a frame; probably hung up.


Maybe the remote fax machine is pausing for a second for some reason? Is there a way to adjust how long recievefax will wait before timing out?

Thanks,
Jason
jasona.work
Newsterisk
 
Posts: 9
Joined: Thu Jul 23, 2009 7:58 am


Return to Fax For Asterisk

Who is online

Users browsing this forum: No registered users and 1 guest

cron