Hylafax Mailing List Archives
|
[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
trouble answering data calls
hylafax 4.0p1; linux 2.0.28
i'm trying to configure our system to take data calls (for the occasional emergency, to do maintenance when the portmasters die). i can't get the modem answered; it just rings. faxgetty seems to notice a ring but something goes amiss; related to Caller ID perhaps (what's "ANSWER: CID REJECTED" mean?)?
here's a bit of the log (trace mask=265):
Oct 7 13:59:09 dess FaxGetty[12675]: MODEM MULTI-TECH SYSTEMS MT2834ZDX/0314C
Oct 7 13:59:09 dess FaxGetty[12675]: <-- [7:ATL0M1\r]
Oct 7 13:59:10 dess FaxGetty[12675]: --> [2:OK]
Oct 7 13:59:10 dess FaxGetty[12675]: <-- [9:AT+FCR=1\r]
Oct 7 13:59:10 dess FaxGetty[12675]: --> [2:OK]
Oct 7 13:59:10 dess FaxGetty[12675]: <-- [23:AT+FLID="tsistarfxsrv"\r]
Oct 7 13:59:10 dess FaxGetty[12675]: --> [2:OK]
Oct 7 13:59:10 dess FaxGetty[12675]: <-- [9:AT+FAA=1\r]
Oct 7 13:59:11 dess FaxGetty[12675]: --> [2:OK]
Oct 7 13:59:11 dess FaxGetty[12675]: STATE CHANGE: BASE -> RUNNING
Oct 7 14:01:51 dess FaxGetty[12675]: STATE CHANGE: RUNNING -> LISTENING
Oct 7 14:01:51 dess FaxGetty[12675]: --> [4:RING]
Oct 7 14:01:51 dess FaxGetty[12675]: STATE CHANGE: LISTENING -> ANSWERING
Oct 7 14:01:51 dess FaxGetty[12675]: ANSWER: CID REJECTED
Oct 7 14:01:51 dess FaxGetty[12675]: <-- [5:ATH0\r]
Oct 7 14:01:52 dess FaxGetty[12675]: --> [2:OK]
Oct 7 14:01:54 dess FaxGetty[12675]: <-- [30:AT&F&C1&D2X4S7=55E0V1Q0S0=0H0\r]
Oct 7 14:01:55 dess FaxGetty[12675]: --> [29:AT&F&C1&D2X4S7=55E0V1Q0S0=0H0]
Oct 7 14:01:55 dess FaxGetty[12675]: --> [2:OK]
Oct 7 14:01:55 dess FaxGetty[12675]: <-- [21:ATS8=2S7=60&E4&D3&C1\r]
Oct 7 14:01:55 dess FaxGetty[12675]: --> [2:OK]
Oct 7 14:01:55 dess FaxGetty[12675]: <-- [12:AT+FCLASS=?\r]
Oct 7 14:01:55 dess FaxGetty[12675]: /dev/modem: Can not initialize modem.
Oct 7 14:01:55 dess FaxGetty[12675]: STATE CHANGE: ANSWERING -> MODEMWAIT (timeout 30)
and part of spool/etc/config.modem:
RingsBeforeAnswer: 1
AdaptiveAnswer: yes
AnswerRotary: data
ModemAnswerCmd: AT+FCLASS=0;A
#ModemAnswerDataCmd: ATH+FCLASS=0;A
#
# Modem-related stuff: should reflect modem command interface
# and hardware connection/cabling (e.g. flow control).
#
ModemType: Class2 # use class 2 interface
ModemRate: 19200 # lock rate for DCE-DTE communication
ModemFlowControl: rtscts # default
#
ModemHardFlowCmd: AT&E4 # hardware flow control
ModemSoftFlowCmd: AT&E5 # software flow control
ModemSetupDTRCmd: AT&D3 # setup so DTR drop resets modem
ModemSetupDCDCmd: AT&C1 # setup so DCD reflects carrier (or not)
ModemSetupAACmd: AT+FAA=1 # enable adaptive-answer in class 2
#
# NB: some models get confused by the @
#
ModemDialCmd: ATDT%s@ # T for tone dialing, @ for silence
#
Class2RecvDataTrigger: "\022" # character sent to modem to start recv
#
ModemResetCmds: "AT&F&C1&D2X4S7=55"
please be sure to address to me; i unsubscribed this list some time ago.
--
Hume dot Smith at Dess dot Tallships dot IStar dot CA
<URL:http://dess.tallships.istar.ca/%7Ehclsmith/>