![]() |
Hello, i'v looked bit closer on the modem. I'd connect to modem via minicom a issued all AT command manually. in first test case i dialed a number without setting modem to fax mode ATS7=120 -> OK ATDT737309887 - modem called to my mobile, i accepted the call and modem hanged after about two minutes with "NO CARRIER" so this was working However in second test scenario, i set modem into FAX CLASS2 AT+FCLASS=2 -> OK ATS7=120 -> OK ATDT737309887 and modem responded +FHNG:11 (No Answer (T.30 T1 timeout)) after about 60 seconds. This mean, when modem is in fax mode, the T1 timeout has to be set by different command then ATS7 Does any of you know about such command? I've already asked ISDN card supplier, but so far with no luck. Thank you for any idea Tomas Novosad ------------ Původní zpráva ------------ Od: Tomas Novosad <kbbl@xxxxxxxx> Předmět: [hylafax-users] ModemWaitTimeCmd is not working Datum: 08.10.2008 14:43:55 ---------------------------------------- Hello everybody, I have EICON DIVA SERVER ISDN PRI card with Hylafax running. I need to rise "NO CARRIER" timeout up to smth like 120 secs (default is 60). I'm using "ModemWaitTimeCmd: ATS7=120" config command, but this does not help the thing. Does anyone have an idea how to rise time before modem quit faxing? This is because faxes on remotre side are handled manualy and it take some time - obviously a bit longet then the modem timeout is. Thank you for any advice. More details follows my modem config is -------------------------------- CountryCode: 420 AreaCode: "" FAXNumber: "" LongDistancePrefix: 0 InternationalPrefix: 00 DialStringRules: etc/dialrules ServerTracing: 1 SessionTracing: 11 RecvFileMode: 0600 LogFileMode: 0600 DeviceMode: 0600 RingsBeforeAnswer: 2 SpeakerVolume: off #GettyArgs: "-h %l dx_%s" GettyArgs: "-b -r -s %s %l" TagLineFont: etc/lutRS18.pcf TagLineFormat: "Od %%l|%c|Strana %%P z %%T" MaxRecvPages: 25 UseJobTSI: Yes ModemType: Class1 # use this to supply a hint PercentGoodLines: 87 MaxConsecutiveBadLines:13 ModemWaitTimeCmd: ATS7=120 ModemResetCmds: AT#CID=14 CallIDPattern: "CID: " CallIDPattern: "DAD: " ---------------------- however modem always return NO CARRIER after about a minute I also tried to forece the timeout command into ModemDialCmd - like this ModemDialCmd: "AT S7=120 S7? DT%s" but still no luck - see the session log at first set the timeout with ATS7=120 -> OK then verify timeout value ATS7? -> 78 (hex value) then dial with ATDT however modem quit with NO CARRIER after some 70 secs ----------------- Oct 08 14:34:12.11: [22427]: SESSION BEGIN 000010191 420737309887 Oct 08 14:34:12.11: [22427]: HylaFAX (tm) Version 4.4.4 Oct 08 14:34:12.11: [22427]: SEND FAX: JOB 1807 DEST 737309887 COMMID 000010191 DEVICE '/dev/ttyds30' FROM 'tomas <tomas@xxxxxxxxxxx>' USER root Oct 08 14:34:12.11: [22427]: <-- [12:AT+FCLASS=1\r] Oct 08 14:34:12.11: [22427]: --> [2:OK] Oct 08 14:34:12.11: [22427]: DIAL 737309887 Oct 08 14:34:12.11: [22427]: <-- [9:ATS7=120\r] Oct 08 14:34:12.11: [22427]: --> [2:OK] Oct 08 14:34:12.11: [22427]: <-- [6:ATS7?\r] Oct 08 14:34:12.11: [22427]: --> [6:R07=78] Oct 08 14:34:12.11: [22427]: --> [2:OK] Oct 08 14:34:12.11: [22427]: <-- [14:ATDT737309887\r] Oct 08 14:35:36.28: [22427]: --> [10:NO CARRIER] Oct 08 14:35:36.28: [22427]: SEND FAILED: JOB 1807 DEST 737309887 ERR [2] No carrier detected Oct 08 14:35:36.28: [22427]: SEND FAILED: JOB 1807 DEST 737309887 ERR [333] No carrier detected; too many attempts to dial Oct 08 14:35:37.29: [22427]: <-- [5:ATH0\r] Oct 08 14:35:37.29: [22427]: --> [2:OK] Oct 08 14:35:37.29: [22427]: SESSION END ------------------------------ Tomáš Novosad mailto:kbbl@xxxxxxxx jabber:kbbl@xxxxxxxxx icq:499392313 +420737309887 # rm -rf /* ____________________ 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* Tomáš Novosad mailto:kbbl@xxxxxxxx jabber:kbbl@xxxxxxxxx icq:499392313 +420737309887 # rm -rf /* ____________________ 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*