Some fax machines work; ReceiveFax hanging up prematurely?

cluth
Posts: 25
Member Since:
2010-07-24

Trixbox 2.8.0.3 / Asterisk 1.6.0.10

Getting inbound faxing set up using DIDs on a PRI.

It works fine for some faxes, but not all. I've tested inbound faxes with two devices: an HP OfficeJet 6310xi and the American Association for Justice's Fax On Demand service (1-800-976-2190, document 1300--it's a one-page doc).

The AAJ's faxback service works perfectly. The HP OJ6310xi has issues.

Best as I can tell, it's because the HP tends to have a bit of a delay after negotiating/connecting but before it starts scanning and sending the fax. Listening to the fax machine and watching the Asterisk CLI output, it always hangs up after initial negotiation and right as the scanner starts to make its pass down the glass, which is a good 15 seconds after the initial negotiation tone. Adjusting speed or quality settings doesn't do anything.

However, it DOES work when I set the device to "Scan & Fax" mode, which scans the document first and then dials. In this instance, the fax presumably begins being transmitted immediately after the fax negotiation occurs. Without this delay, Asterisk seems quite happy to accept the fax.

Unfortunately, there are a LOT of HP multifunction devices out there (I hate them, but oh well), and we need to be guaranteed to be able to receive from them.

If it is indeed due to the ReceiveFax module not waiting long enough for the fax to begin transmitting, is there an easy way to set this parameter?

Here are a couple of Pastebin logs from a successful fax (first, sent from the HP with "Scan & Fax" mode) and an unsuccessful fax (second, from the HP as normal):



SkykingOH
Posts: 9677
Member Since:
2007-12-17
My wife hates it when I hang

My wife hates it when I hang up prematurely.

Major Kudos on using the patebin embedded scrolling window. I am going to update how to ask for help sticky post with instructions on how to do this.

Lastly - what fax module are you using? Fax for Asterisk? I would have to check however I think it has a timeout value that can be set after CD.

--

Scott

aka "Skyking"



cluth
Posts: 25
Member Since:
2010-07-24
OK, so a bad choice for a

OK, so a bad choice for a subject. ;) I'll blame it on the perennial excuse of lack of sleep.

I'm using whatever comes with a stock Trixbox install. I did have to put a few lines into my extensions_override to fix a bad reference (replacing rxfax with ReceiveFax—looks like that may be a bug). I'd copy and paste that, but I'm posting from my phone. Let me know if you need more detail.

Thanks!



SkykingOH
Posts: 9677
Member Since:
2007-12-17
No, that's my bad. I don't

No, that's my bad. I don't know if receivefax has any configurable options. Looks like they are compile time options.

--

Scott

aka "Skyking"



Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.