HylaFAX The world's most advanced open source fax server

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

Re: [hylafax-users] How to get around "Stop and wait" failures



On 2005.02.16 07:22 Sebastian Birnbach wrote:
All,


it took me quite a while to figure this out, so I guess the best thing will be to post it to this list.
After setting up Hylafax 4.2.1 (own compilation) on Solaris8 and trying to make it work with a Robotics Sportster faxmodem, I kept getting errors like this in the logs (/var/spool/hylafax/log/c0000*):


[...]
Feb 16 15:20:06.14: [ 528]: SEND file "docq/doc29.ps;00"
Feb 16 15:20:06.14: [ 528]: USE A4 page width (215 mm)
Feb 16 15:20:06.14: [ 528]: USE A4 page length (297 mm)
Feb 16 15:20:06.15: [ 528]: USE 3.85 line/mm
Feb 16 15:20:06.15: [ 528]: USE 1-D MH
Feb 16 15:20:06.15: [ 528]: SEND training at v.29 9600 bit/s
Feb 16 15:20:06.15: [ 528]: <-- [9:AT+FTH=3\r]
Feb 16 15:20:06.29: [ 528]: --> [7:CONNECT]
Feb 16 15:20:06.29: [ 528]: <-- data [23]
Feb 16 15:20:06.29: [ 528]: <-- data [2]
Feb 16 15:20:08.03: [ 528]: --> [7:CONNECT]
Feb 16 15:20:08.03: [ 528]: <-- data [6]
Feb 16 15:20:08.03: [ 528]: <-- data [2]
Feb 16 15:20:08.73: [ 528]: --> [2:OK]
Feb 16 15:20:08.73: [ 528]: <-- [9:AT+FTS=7\r]
Feb 16 15:20:08.99: [ 528]: --> [5:ERROR]
Feb 16 15:20:08.99: [ 528]: MODEM Command error
Feb 16 15:20:08.99: [ 528]: Stop and wait failure (modem on hook)
Feb 16 15:20:08.99: [ 528]: The destination appears to have trouble with V.34-Fax.
[...]

Well, that V.34 error message is a bit loopy. I'll look into that.


Interestingly, the /usr/local/sbin/probemodem script had previously detected that the AT+FTS command could not be digested by my modem. You can run that script at any time to find out what AT capabilities your modem has.

I hope this helps other people, and if there is any HylaFAX developer reading this, you may want to check if this is not a bug during automatic modem configuration and setup.

The AT+FRS/FTS commands only work when the modem is off-hook. So it's not possible to detect whether or not they work on a modem during the probemodem/faxaddmodem period. Modems that *do* support those commands are supposed to report ERROR at those times, too.


Lee.

____________________ HylaFAX(tm) Users Mailing List _______________________
 To subscribe/unsubscribe, click http://lists.hylafax.org/cgi-bin/lsg2.cgi
On UNIX: mail -s unsubscribe hylafax-users-request@xxxxxxxxxxx < /dev/null
 *To learn about commercial HylaFAX(tm) support, mail sales@xxxxxxxxx*




Project hosted by iFAX Solutions