Hylafax Mailing List Archives

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: [hylafax-users] SendJob gets hung



Roper, Brent wrote:

Jul 21 07:30:59.04: [ 9329]: SEND send CRP (command repeat)

Jul 21 07:30:59.04: [ 9329]: <-- [9:AT+FRH=3\r]

Jul 21 08:54:07.34: [ 9329]: ABORT: job abort requested


Try the attached patch, and please report back. It should prevent the hanging from occurring.


Thanks,

Lee.
--- hylafax-4.2.2.orig/faxd/Class1.c++	Wed Jul 20 14:53:24 2005
+++ hylafax-4.2.2/faxd/Class1.c++	Thu Jul 21 13:35:45 2005
@@ -1321,7 +1321,9 @@
 	do {
 	    if (crpcnt) {
 		tracePPR(dir == FCF_SNDR ? "SEND send" : "RECV send", FCF_CRP);
+		startTimeout(ms);
 		if (!(atCmd(rhCmd, AT_NOTHING, 0) && waitFor(AT_CONNECT,0))) return (false);
+		stopTimeout("waiting for v.21 carrier");
 	    }
 	    frame.reset();
             gotframe = recvRawFrame(frame);


Home
Report any problems to webmaster@hylafax.org

HylaFAX is a trademark of Silicon Graphics Corporation.
Internet connectivity for hylafax.org is provided by:
VirtuALL Private Host Services