Hylafax Mailing List Archives

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

controlling Long Distance access



Cant find match for LONG or DISTANCE in FAQ search.

Cant find match for same in mailing list archive search back to 3 years
ago.

(in fact, cant find more than one word at a time with either search tool,
  too bad)

So I post without guilt. ;)

------------------------------------------------------------------------------
At any rate - has anyone figured out a mechanism to control long distance
faxing? Allowing some users to fax long distance and others to not do so?

I can think of only one easy way to do this by IP: setup two hylafax
servers on the same modem, so that alternate lists of IPs can be allowed
to use different dial rules (ie one that mangles long distance#s and
doesnt it go through, and one that does it properly).

Doing it by username wouldnt work, as users could spoof another's username.
I didnt see anything to strongly tie a username to an IP and to reject
it as said user unless its on that IP.

Any other ideas?

/kc
-- 
Ken Chase, Velocet Communications Inc.	   math@velocet.ca	Toronto CANADA
--
"Sometimes two [harmless] words, when put together, strike fear in the
  hearts of men -- Microsoft Wallet." 				- Dave Gilbert

>Received: (from john@localhost) by johncon.johncon.com (8.6.12/8.6.12) with UUCP id SAA20222 for flexfax@sgi.com; Fri, 27 Feb 1998 18:18:44 -0800
Date: Fri, 27 Feb 1998 18:18:44 -0800
Subject: flexfax: REMOTE HANGUP: DCS sent 3 ...
From: John Conover <conover@netcom.com>
To: flexfax@sgi.com
Sender: owner-flexfax@celestial.com


I added Class2NRCmd: AT+FNR=1,1,1,0 to to the config file of my USR
33.6 Sporster, (which we all know and love,), and it stopped the
mystery PHASE B errors, but now I get the attached.

Any suggestions would be appreciated ...

        John

-- 

John Conover, 631 Lamont Ct., Campbell, CA., 95008, USA.
VOX 408.370.2688, FAX 408.379.9602
conover@netcom.com

---------------------------------------------------------------------------

ati7 gives:

Product type           US/Canada External
Options                V32bis,V.34+
Fax Options            Class 1/Class 2.0
Line Options           Caller ID, Distinctive Ring
Clock Freq             92.0Mhz
Eprom                  256k
Ram                    32k

FLASH date             3/8/97
FLASH rev              4.1.55

DSP date               3/8/97
DSP rev                10.3.55

---------------------------------------------------------------------------

Feb 27 17:41:55.38: [19869]: DELAY 2600 ms
Feb 27 17:41:57.99: [19869]: <-- [16:ATE0V1Q0X4S0=0H0]
Feb 27 17:41:58.23: [19869]: --> [16:ATE0V1Q0X4S0=0H0]
Feb 27 17:41:58.23: [19869]: --> [2:OK]
Feb 27 17:41:58.23: [19869]: <-- [31:ATS8=2S7=60&H1&I0&R2S13=1&D2&C1]
Feb 27 17:41:58.47: [19869]: --> [2:OK]
Feb 27 17:41:58.47: [19869]: <-- [13:AT+FCLASS=2.0]
Feb 27 17:41:58.71: [19869]: --> [2:OK]
Feb 27 17:41:58.71: [19869]: <-- [8:AT+FLO=2]
Feb 27 17:41:58.95: [19869]: --> [2:OK]
Feb 27 17:41:58.95: [19869]: <-- [8:AT+FPP=0]
Feb 27 17:41:59.19: [19869]: --> [2:OK]
Feb 27 17:41:59.19: [19869]: <-- [8:AT+FBO=0]
Feb 27 17:41:59.43: [19869]: --> [2:OK]
Feb 27 17:41:59.43: [19869]: <-- [9:AT+FCT=30]
Feb 27 17:41:59.67: [19869]: --> [2:OK]
Feb 27 17:41:59.67: [19869]: <-- [10:AT+FCQ=0,0]
Feb 27 17:41:59.91: [19869]: --> [2:OK]
Feb 27 17:41:59.91: [19869]: <-- [14:AT+FNR=1,1,1,0]
Feb 27 17:42:00.15: [19869]: --> [2:OK]
Feb 27 17:42:00.15: [19869]: <-- [8:AT+FIE=0]
Feb 27 17:42:00.39: [19869]: --> [2:OK]
Feb 27 17:42:00.39: [19869]: <-- [22:AT+FCC=1,5,2,2,0,0,0,0]
Feb 27 17:42:00.63: [19869]: --> [2:OK]
Feb 27 17:42:00.63: [19869]: <-- [4:ATM0]
Feb 27 17:42:00.86: [19869]: --> [2:OK]
Feb 27 17:42:00.89: [19869]: <-- [13:AT+FCLASS=2.0]
Feb 27 17:42:01.14: [19869]: --> [2:OK]
Feb 27 17:42:01.14: [19869]: <-- [8:AT+FLO=2]
Feb 27 17:42:01.38: [19869]: --> [2:OK]
Feb 27 17:42:01.38: [19869]: <-- [8:AT+FPP=0]
Feb 27 17:42:01.62: [19869]: --> [2:OK]
Feb 27 17:42:01.62: [19869]: <-- [8:AT+FBO=0]
Feb 27 17:42:01.86: [19869]: --> [2:OK]
Feb 27 17:42:01.86: [19869]: <-- [9:AT+FCT=30]
Feb 27 17:42:02.10: [19869]: --> [2:OK]
Feb 27 17:42:02.10: [19869]: <-- [10:AT+FCQ=0,0]
Feb 27 17:42:02.34: [19869]: --> [2:OK]
Feb 27 17:42:02.34: [19869]: <-- [14:AT+FNR=1,1,1,0]
Feb 27 17:42:02.58: [19869]: --> [2:OK]
Feb 27 17:42:02.58: [19869]: <-- [8:AT+FIE=0]
Feb 27 17:42:02.82: [19869]: --> [2:OK]
Feb 27 17:42:02.82: [19869]: <-- [22:AT+FCC=1,5,2,2,0,0,0,0]
Feb 27 17:42:03.06: [19869]: --> [2:OK]
Feb 27 17:42:03.06: [19869]: <-- [21:AT+FLI="+14083799602"]
Feb 27 17:42:03.30: [19869]: --> [2:OK]
Feb 27 17:42:03.30: [19869]: DIAL 3702688
Feb 27 17:42:03.30: [19869]: <-- [11:ATDT3702688]
Feb 27 17:42:14.68: [19869]: --> [4:+FCO]
Feb 27 17:42:17.46: [19869]: --> [27:+FCI:"(408) 379-9602      "]
Feb 27 17:42:17.46: [19869]: REMOTE CSI "(408) 379-9602"
Feb 27 17:42:17.46: [19869]: --> [20:+FIS:1,5,0,2,1,0,1,0]
Feb 27 17:42:17.46: [19869]: --> [2:OK]
Feb 27 17:42:17.46: [19869]: REMOTE best rate 14400 bit/s
Feb 27 17:42:17.46: [19869]: REMOTE max page width 1728 pixels in 215 mm
Feb 27 17:42:17.46: [19869]: REMOTE max unlimited page length 
Feb 27 17:42:17.46: [19869]: REMOTE best vres 7.7 line/mm
Feb 27 17:42:17.46: [19869]: REMOTE best format 2-D MR
Feb 27 17:42:17.46: [19869]: REMOTE best 0 ms/scanline
Feb 27 17:42:17.46: [19869]: REMOTE does not support PostScript transfer
Feb 27 17:42:17.46: [19869]: USE 14400 bit/s
Feb 27 17:42:17.46: [19869]: USE 0 ms/scanline
Feb 27 17:42:17.46: [19869]: SEND file "docq/doc1;31"
Feb 27 17:42:17.54: [19869]: USE page width 1728 pixels in 215 mm
Feb 27 17:42:17.54: [19869]: USE unlimited page length 
Feb 27 17:42:17.54: [19869]: USE 7.7 line/mm
Feb 27 17:42:17.54: [19869]: USE 1-D MR
Feb 27 17:42:17.56: [19869]: <-- [22:AT+FIS=1,5,0,2,0,0,0,0]
Feb 27 17:42:17.80: [19869]: --> [2:OK]
Feb 27 17:42:17.80: [19869]: <-- [6:AT+FDT]
Feb 27 17:42:18.07: [19869]: --> [20:+FCS:1,5,0,2,0,0,0,0]
Feb 27 17:42:25.70: [19869]: --> [20:+FCS:1,5,0,2,0,0,0,0]
Feb 27 17:42:33.35: [19869]: --> [20:+FCS:1,5,0,2,0,0,0,0]
Feb 27 17:42:42.35: [19869]: --> [7:+FHS:25]
Feb 27 17:42:42.37: [19869]: REMOTE HANGUP: DCS sent 3 times without response (code 25)
Feb 27 17:42:42.47: [19869]: --> [2:OK]
Feb 27 17:45:42.48: [19869]: MODEM <Timeout>
Feb 27 17:45:42.50: [19869]: <-- [4:ATH0]
Feb 27 17:45:47.51: [19869]: MODEM <Timeout>

---------------------------------------------------------------------------

config.cua1, the stuff at the end is for adaptive answer, uucp/ppp,
which works very reliably-/bin/stty crtscts < /dev/cua1 is used in
rc.serial

#
# 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:              38400           # DCE-DTE communication rate
ModemFlowControl:       rtscts          # hardware flow control
#
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 disable it to keep the
# fax software from complaining.
#
Class2CQCmd:            AT+FCQ=0,0      # disable copy quality checking
#
# USR Unspecified Phase B Transmit errors fix
#
Class2NRCmd:            AT+FNR=1,1,1,0  #setup status reporting command
#
# The remainder of this configuration is included so that the
# modem "idles" in Class 2.0 while not sending or receiving facsimile.
#
ModemSetupAACmd:        AT+FAA=1+FCLASS=2.0&H1&I0&R2&A0&S1      # leave modem in class 1
ModemAnswerCmd:         AT+FAA=1+FCLASS=2.0&H1&I0&R2&A0&S1A     # force RTS/CTS after change to fax mode
ModemAnswerDataCmd:     AT&F1S2=255S7=90S13=1S19=90&A0&D2&S1E1M0A       # force reset after change to data mode
ModemWaitForConnect:    yes     # wait for CONNECT on answer



Home
Report any problems to webmaster@hylafax.org

HylaFAX is a trademark of Silicon Graphics Corporation.
Internet connectivity for hylafax.org is provided by:
VirtuALL Private Host Services