![]() |
Hi, I ask you for help with "5:ERROR" mesage. I try to reconfig our modem to be a Class 2.0, and in log file appears: Mar 25 12:36:56.54: [ 1178]: <-- data [1034] Mar 25 12:36:57.48: [ 1178]: <-- data [326] Mar 25 12:36:58.91: [ 1178]: SENT 26950 bytes of data Mar 25 12:36:58.91: [ 1178]: <-- data [2] Mar 25 12:37:00.36: [ 1178]: SEND end page Mar 25 12:37:12.35: [ 1178]: --> [64:^S^Q^S^Q^S^Q^S^Q^S^Q^S^Q^S^Q^S^Q^S^Q^S^Q^S^Q^S^Q^S^Q^S^Q^S^Q^S^Q^S^Q^S^Q^S^Q^S^Q^S^Q^S^Q^S^Q^S^Q^S^Q^S^Q^S^Q^S^Q^S^Q^S^Q^S^Q^S^Q] Mar 25 12:37:12.35: [ 1178]: --> [2:OK] Mar 25 12:37:12.35: [ 1178]: SEND send MPS (more pages, same document) Mar 25 12:37:12.35: [ 1178]: <-- [9:AT+FET=0\r] Mar 25 12:37:15.60: [ 1178]: --> [7:+FPTS:2] Mar 25 12:37:15.60: [ 1178]: --> [2:OK] Mar 25 12:37:15.60: [ 1178]: SEND recv RTN (retrain negative) Mar 25 12:37:15.60: [ 1178]: <-- [7:AT+FDT\r] The "^S^Q" line look like a try of xonxoff mesage, isn't it? I configure ttyf2 on my SGI IRIX 6.2, the /var/spool/fax/etc/config: CountryCode: 420 AreaCode: 5 FAXNumber: +420.5.41245982 LongDistancePrefix: 0 InternationalPrefix: 00 DialStringRules: etc/dialrules ServerTracing: 1 SessionTracing: 11 RecvFileMode: 0600 LogFileMode: 0600 DeviceMode: 0600 RingsBeforeAnswer: 1 SpeakerVolume: low GettyArgs: "-h %l dx_%s" LocalIdentifier: "SkyNet, s.r.o." TagLineFont: etc/lutRS18.pcf TagLineFormat: "From %%l|%c|Page %%p of %%t" NoCarrierRetrys: 3 MaxRecvPages: 25 # # # Modem-related stuff: should reflect modem command interface # and hardware connection/cabling (e.g. flow control). # ModemType: Class2 # use class 2 interface ModemRate: 38400 # 38.4 works fine ModemFlowControl: rtscts # default # ModemNoFlowCmd: AT&H0 # disable flow control ModemHardFlowCmd: AT&H3 # hardware flow control ModemSoftFlowCmd: AT&H4 # software flow control ModemSetupDTRCmd: AT&D2 # DTR off causes modem to hang up ModemSetupDCDCmd: AT&C1 # DCD tracks carrier ModemSetupAACmd: AT+FAA=1 # enable in current class # ModemSendFillOrder: LSB2MSB # as expected ModemRecvFillOrder: MSB2LSB # opposite of what makes sense Class2RecvDataTrigger: "\022" # a la 2388-B # # Additional reset commands: # # &B1 DTE-DCE rate is fixed at DTE setting # &N0 Auto-negotiate highest possible DCE-DCE link rate # &S0 DSR always on # *F0 Deny remote configuration # S18=2 Receive at 38400 # S38.3=1 DCD on/off sequence follows UNIX standard; also # fix receiving baud rate at S18 value # S39=0 (avoid Class 2 compatibility hacks) # ModemResetCmds: AT&B1&N0&S0*F0S18=2S38.3=1S39=0 # # We normally append the "@" symbol to the dial string so that # the modem will wait 5 seconds before attempting to connect # and return result codes that distinguish between no carrier # and no answer. This makes it possible to avoid problems with # repeatedly dialing a number that doesn't have a fax machine # (kudos to Stuart Lynne for this trick.) # # Unfortunately, ZyXEL's don't seem to detect a busy signal when # the @ symbol is used to terminate the dialing string. Instead # calls to a busy line come back with a NO CARRIER status which # causes us to toss the job. Consequently we fall back to the # normal method and raise the number of retries on a no carrier # status. ZyXEL claims that this behaviour is not a bug, but # rather that we are requesting ``an enhancement'' (never mind # that their manual says that it should work). # ModemDialCmd: ATDP%s # no '@' 'cuz then busy not recognized NoCarrierRetrys: 3 # retry 3 times on no carrier # ModemSetVolumeCmd: "ATM0 ATM1L1 ATM1L3 ATM1L5 ATM1L7" # # Caller ID configuration setup. # #QualifyCID: etc/cid # CID access control list file #CIDNumber: "CALLER NUMBER: " # pattern string for phone number info#CIDName: "CALLER NAME: " # pattern string for identity info # PagerSetupCmds: AT&K0&N15 # use V.22 at 1200 bps (PageNet) # # Rev 6.1x firmware have a bug in the ECM support so # explicitly disable it's use. To re-enable its use just # comment out the following line. # Class2DCCQueryCmd: "!(0,1),(0-5),(0-4),(0-2),(0,1),(0),(0),(0-7)" Thank you for your help. -- Roman Pavlik e-mail:Roman.Pavlik@www.cz http://www.cz SkyNet, s.r.o. TIS Authorized Security Partner Kabatnikova 5 tel: +420 5 41 24 59 79 602 00 Brno fax: +420 5 41 24 59 82 Czech Republic