HylaFAX The world's most advanced open source fax server

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

Re: SEND FAILED: Unknown problem (check modem power)



Gernot Kerschbaumer wrote:
    
    well, i checked my modem's power, it's ok

Yes, it's ok.
    
    using:
    HylaFAX v4.0pl122
    SunOS 5.5
    modem: Elink EF, Revision Version 1.01
    
    here is the session log of a failed attempt to send a fax:
    
    Dec 10 13:32:25.75: [ 1952]: SESSION BEGIN 00000651 4314156
    Dec 10 13:32:25.76: [ 1952]: SEND FAX: JOB 470 DEST 4156 COMMID 00000651
    Dec 10 13:32:25.76: [ 1952]: MODEM set DTR OFF
    Dec 10 13:32:25.76: [ 1952]: DELAY 2600 ms
    Dec 10 13:32:28.36: [ 1952]: MODEM set DTR ON
    Dec 10 13:32:28.36: [ 1952]: MODEM set baud rate: 38400 baud, input flow XON/XOF
    F, output flow XON/XOFF
    Dec 10 13:32:28.36: [ 1952]: MODEM flush i/o
    Dec 10 13:32:28.36: [ 1952]: <-- [14:ATE0V1Q0S0=0H\r]
    Dec 10 13:32:28.58: [ 1952]: --> [13:ATE0V1Q0S0=0H]
                                           ^^
You switch the modem's echo off -- fine ....

    Dec 10 13:32:28.58: [ 1952]: --> [2:OK]
    Dec 10 13:32:28.58: [ 1952]: <-- [21:ATS8=2S7=60\Q3&D2&C1\r]
    Dec 10 13:32:28.80: [ 1952]: --> [2:OK]

...it's really switched off (as you can see) ....

    Dec 10 13:32:28.80: [ 1952]: <-- [19:AT&F &B0 +FCLASS=2\r]
                                           ^^
...and now you load factory defaults (&F) and ....

    Dec 10 13:32:29.03: [ 1952]: --> [2:OK]
    Dec 10 13:32:29.03: [ 1952]: <-- [10:AT+FTBC=0\r]
    Dec 10 13:32:29.25: [ 1952]: --> [9:AT+FTBC=0]

... modem's echo is turned on again and ....

    Dec 10 13:32:29.25: [ 1952]: --> [2:OK]
    Dec 10 13:32:29.25: [ 1952]: <-- [10:AT+FBOR=0\r]
    Dec 10 13:32:29.47: [ 1952]: --> [9:AT+FBOR=0]
    Dec 10 13:32:29.47: [ 1952]: --> [2:OK]
    Dec 10 13:32:29.47: [ 1952]: <-- [13:AT+FPHCTO=30\r]
    Dec 10 13:32:29.69: [ 1952]: --> [12:AT+FPHCTO=30]              
    Dec 10 13:32:29.69: [ 1952]: --> [2:OK]
    Dec 10 13:32:29.69: [ 1952]: <-- [23:AT+FCC=0,5,0,0,0,0,0,1\r]
    Dec 10 13:32:29.92: [ 1952]: --> [22:AT+FCC=0,5,0,0,0,0,0,1]
    Dec 10 13:32:29.92: [ 1952]: --> [2:OK]
    Dec 10 13:32:29.92: [ 1952]: <-- [5:ATM0\r]
    Dec 10 13:32:30.13: [ 1952]: --> [4:ATM0]
    Dec 10 13:32:30.13: [ 1952]: --> [2:OK]
    Dec 10 13:32:30.13: [ 1952]: STATE CHANGE: RUNNING -> SENDING
    Dec 10 13:32:30.13: [ 1952]: MODEM input buffering enabled
    Dec 10 13:32:30.17: [ 1952]: <-- [19:AT&F &B0 +FCLASS=2\r]
    Dec 10 13:32:30.49: [ 1952]: --> [18:AT&F &B0 +FCLASS=2]
    Dec 10 13:32:30.49: [ 1952]: --> [2:OK]
    Dec 10 13:32:30.49: [ 1952]: <-- [10:AT+FTBC=0\r]
    Dec 10 13:32:30.81: [ 1952]: --> [9:AT+FTBC=0]
    Dec 10 13:32:30.81: [ 1952]: --> [2:OK]
    Dec 10 13:32:30.81: [ 1952]: <-- [10:AT+FBOR=0\r]
    Dec 10 13:32:31.13: [ 1952]: --> [9:AT+FBOR=0]
    Dec 10 13:32:31.13: [ 1952]: --> [2:OK]
    Dec 10 13:32:31.13: [ 1952]: <-- [13:AT+FPHCTO=30\r]
    Dec 10 13:32:31.45: [ 1952]: --> [12:AT+FPHCTO=30]
    Dec 10 13:32:31.45: [ 1952]: --> [2:OK]
    Dec 10 13:32:31.45: [ 1952]: <-- [23:AT+FCC=0,5,0,0,0,0,0,1\r]
    Dec 10 13:32:31.77: [ 1952]: --> [22:AT+FCC=0,5,0,0,0,0,0,1]       
    Dec 10 13:32:31.77: [ 1952]: --> [2:OK]
    Dec 10 13:32:31.77: [ 1952]: <-- [31:AT+FLID="FaxServer@harare.kap"\r]
    Dec 10 13:32:32.09: [ 1952]: --> [30:AT+FLID="FaxServer@harare.kap"]
    Dec 10 13:32:32.09: [ 1952]: --> [2:OK]
    Dec 10 13:32:32.09: [ 1952]: DIAL 4156
    Dec 10 13:32:32.09: [ 1952]: <-- [9:ATD4156@\r]
    Dec 10 13:32:32.41: [ 1952]: --> [8:ATD4156@]

... the modem echos the dial string and HylaFAX is thinking
that this is a "Unknown problem" because it's awaiting things
like "BUSY" or "CONNECT" ....
How do you added the "&F" command? Please show your modem
config-file.

	matthias

    Dec 10 13:32:32.41: [ 1952]: SEND FAILED: Unknown problem (check modem power)
    Dec 10 13:32:32.41: [ 1952]: <-- [4:ATH\r]
    Dec 10 13:32:32.41: [ 1952]: --> [5:ERROR]
    Dec 10 13:32:32.41: [ 1952]: MODEM Command error
    Dec 10 13:32:32.41: [ 1952]: MODEM set DTR OFF
    Dec 10 13:32:32.41: [ 1952]: STATE CHANGE: SENDING -> MODEMWAIT (timeout 5)
    Dec 10 13:32:32.41: [ 1952]: SESSION END      
    
    
    i would be very grateful if you can give me a hint where the problem resides.
    
    btw, sending and receiving faxes with another modem is working fine.
    
    gernot
    
    -- 
    gernot kerschbaumer 
    student of computer science at the technical university of vienna, austria
    email: e9018967@stud2.tuwien.ac.at
    homepage: http://stud2.tuwien.ac.at/~e9018967/




Project hosted by iFAX Solutions