Hylafax Mailing List Archives
|
[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
Getting 1200 bps for paging
I've had a shared fax/data modem environment for several years based
on FlexFAX and HylaFAX using a USR Courier V.everything modem. I
would like to add paging functionality to the mix; however, I can't
make it work without changing the global ModemRate parameter to 1200.
Unfortunately, setting ModemRate to 1200 renders the modem virtually
useless for anything but pages.
How can I add paging functions to my existing environment without
slowing everything down to 1200 bps?
[ FWIW, I seem to remember a capability (several years ago) to
change the DTE baudrate as part of a modem command string. I think
that might solve my problem. ]
Here's my current BSD/OS 3.0 config:
CountryCode: 1
AreaCode: 407
FAXNumber: +1.407.xxx.yyyy
LongDistancePrefix: 1
InternationalPrefix: 011
DialStringRules: etc/dialrules
ServerTracing: 1
#SessionTracing: 11
SessionTracing: 0x3fff
RecvFileMode: 0644
LogFileMode: 0644
DeviceMode: 0600
RingsBeforeAnswer: 1
SpeakerVolume: off
GettyArgs: "bidir.%s-hf"
LocalIdentifier: +1407xxxyyyy
LogFacility: local5
TagLineFont: etc/lutRS18.pcf
TagLineFormat: "From %%l|%c|Page %%p of %%t"
MaxRecvPages: 100
#
#
# Modem-related stuff: should reflect modem command interface
# and hardware connection/cabling (e.g. flow control).
#
ModemType: Class2.0 # use class 2.0 interface
ModemRate: 115200 # DCE-DTE communication rate
#ModemRate: 1200 # DCE-DTE communication rate
ModemFlowControl: rtscts # XON/XOFF flow control assumed
#
ModemNoFlowCmd: AT&H0&I0&R1 # setup modem for no flow control
ModemHardFlowCmd: AT&H1&I0&R2 # setup modem for hardware flow control
ModemSoftFlowCmd: AT&H2&I2&R1 # setup modem for software flow control
#
ModemSetupDTRCmd: ATS13=1&D2 # setup so DTR drop resets modem
ModemSetupDCDCmd: AT&C1 # setup so DCD reflects carrier (or not)
ModemResultCodesCmd: ATQ0X4 # enable extended result codes
#
# NB: adaptive answer only seems to work properly when
# the modem is left idling in Class 2.0
#
ModemSetupAACmd: AT+FAA=1
#
# Set modem speaker volume commands: OFF QUIET LOW MEDIUM HIGH.
# Note that we both turn the speaker on/off and set volume.
#
ModemSetVolumeCmd: "ATM0 ATM1 ATM1 ATM1 ATM1"
#
# Modem does not support HDLC frame tracing; we add this just
# to eliminate spurious ERROR results that confuse the naive.
#
Class2BUGCmd: AT+FBU=0
#
# The modem doesn't support copy quality checking, even though it
# returns (0-2,0-2) for AT+FCQ=?; therefore we override the query
# response so that the server will do copy quality checking.
#
Class2CQQueryCmd: !(0),(0) # override modem response
#
PagerSetupCmds: AT&N2&K0&M0 # 1200 baud.
And here's a trace of a failed session: (BTW, just changing
ModemRate to 1200 will work):
May 08 14:45:57.26: [ 2083]: SESSION BEGIN 00000417 18009464644
May 08 14:45:57.26: [ 2083]: SEND PAGE: JOB 30 DEST 1-800-946-4644 COMMID
00000417
May 08 14:45:57.26: [ 2083]: MODEM set DTR OFF
May 08 14:45:57.26: [ 2083]: DELAY 2600 ms
May 08 14:45:59.86: [ 2083]: MODEM set DTR ON
May 08 14:45:59.86: [ 2083]: MODEM set baud rate: 115200 baud, input flow
RTS/CTS, output flow RTS/CTS
May 08 14:45:59.86: [ 2083]: MODEM flush i/o
May 08 14:45:59.86: [ 2083]: <-- [17:ATE0V1Q0X4S0=0H0\r]
May 08 14:46:00.02: [ 2083]: --> [16:ATE0V1Q0X4S0=0H0]
May 08 14:46:00.02: [ 2083]: --> [2:OK]
May 08 14:46:00.02: [ 2083]: <-- [32:ATS8=2S7=60&H1&I0&R2S13=1&D2&C1\r]
May 08 14:46:00.18: [ 2083]: --> [2:OK]
May 08 14:46:00.18: [ 2083]: <-- [5:ATM0\r]
May 08 14:46:00.34: [ 2083]: --> [2:OK]
May 08 14:46:00.34: [ 2083]: MODEM set parity: 7 bits, even parity
May 08 14:46:00.34: [ 2083]: STATE CHANGE: RUNNING -> SENDING
May 08 14:46:00.34: [ 2083]: MODEM input buffering enabled
May 08 14:46:00.36: [ 2083]: <-- [12:AT+FCLASS=0\r]
May 08 14:46:00.50: [ 2083]: --> [2:OK]
May 08 14:46:00.50: [ 2083]: DIAL 18009464644
May 08 14:46:00.50: [ 2083]: <-- [16:ATDT18009464644\r]
May 08 14:46:25.64: [ 2083]: --> [12:CONNECT 1200]
May 08 14:46:25.64: [ 2083]: EXPECT ID (paging central identification)
May 08 14:46:25.64: [ 2083]: <-- <1:\015>
May 08 14:46:27.64: [ 2083]: MODEM TIMEOUT: reading line from modem
May 08 14:46:27.64: [ 2083]: <-- <1:\015>
May 08 14:46:29.64: [ 2083]: MODEM TIMEOUT: reading line from modem
May 08 14:46:29.64: [ 2083]: <-- <1:\015>
May 08 14:46:31.64: [ 2083]: MODEM TIMEOUT: reading line from modem
May 08 14:46:31.64: [ 2083]: <-- <1:\015>
May 08 14:46:33.64: [ 2083]: MODEM TIMEOUT: reading line from modem
May 08 14:46:33.64: [ 2083]: <-- <1:\015>
May 08 14:46:35.64: [ 2083]: MODEM TIMEOUT: reading line from modem
May 08 14:46:35.64: [ 2083]: <-- <1:\015>
May 08 14:46:37.64: [ 2083]: MODEM TIMEOUT: reading line from modem
May 08 14:46:37.64: [ 2083]: <-- <1:\015>
May 08 14:46:39.64: [ 2083]: MODEM TIMEOUT: reading line from modem
May 08 14:46:39.64: [ 2083]: <-- <1:\015>
May 08 14:46:41.64: [ 2083]: MODEM TIMEOUT: reading line from modem
May 08 14:46:41.64: [ 2083]: <-- <1:\015>
May 08 14:46:43.64: [ 2083]: MODEM TIMEOUT: reading line from modem
May 08 14:46:43.64: [ 2083]: <-- <1:\015>
May 08 14:46:45.64: [ 2083]: MODEM TIMEOUT: reading line from modem
May 08 14:46:45.64: [ 2083]: PAGE FAILED: No initial ID response from paging
central
May 08 14:46:45.64: [ 2083]: <-- [5:ATH0\r]
May 08 14:46:50.64: [ 2083]: MODEM TIMEOUT: reading line from modem
May 08 14:46:50.64: [ 2083]: MODEM <Timeout>
May 08 14:46:50.64: [ 2083]: STATE CHANGE: SENDING -> MODEMWAIT
May 08 14:46:50.64: [ 2083]: MODEM input buffering enabled
May 08 14:46:50.66: [ 2083]: MODEM set DTR OFF
May 08 14:46:50.66: [ 2083]: SESSION END