Hi;

I have a problem enabling the 'RINGBACK' feature of uugetty on my LINUX
box.  I appreciate if you look at my 'conf.uugetty.ttyS2' to see if there
is any mistake.  Here it is:

# [ put this file in /etc/conf.uugetty.<line> ]
#
# sample uugetty configuration file for a Hayes compatible modem to allow
# incoming modem connections
# Debug level. Check for messages in /var/log/messages and /var/log/debug.
# D_OPT   001            option settings
# D_DEF   002            defaults file processing
# D_UTMP  004            utmp/wtmp processing
# D_INIT  010            line initialization (INIT)
# D_GTAB  020            gettytab file processing
# D_RUN   040            other runtime diagnostics
# D_RB    100            ringback debugging
# D_LOCK  200            uugetty lockfile processing
# D_SCH   400            schedule processing
# D_ALL   777            everything 
DEBUG=100
# this config file sets up uugetty to use the RINGBACK feature for
# answering calls.
HANGUP=YES
RINGBACK=YES
# ringback parameters.  The defaults are trusted here (and are pretty sane).
# first, one to three rings, then hangup and call back within 6 and 60
# seconds.
# MINRINGS=1
# MAXRINGS=3
# INTERRING=5
# MINRBTIME=6
# MAXRBTIME=60
# line to use to do initialization.  All INIT, OFF, and WAITFOR functions
# are handled on this line.  If this line is not specified, any other
# program that wants to share the line (like kermit, uucp, seyon) will 
# fail.  This line will also be checked for lockfiles.
# format: <line> (without the /dev/)
INITLINE=ttyS2
ALTLINE=cua2
ALTLOCK=cua2
# modem initialization string... Sets the modem not to auto-answer
# format: <expect> <send> ... (chat sequence)
# INIT="" \d+++\dAT\r OK\r\n ATH0\r OK\r\n AT\sM0\sE1\sQ0\sV1\sX4\sS0=0\r OK\r\n
# INIT="" \d+++\dAT\r OK\r\n AT\s&F\s&C0\s&D3\s&S0\r OK\r\n AT\sM0\sE1\sQ0\sV1\sS0=0\r 
OK\r\n
# INIT="" AT\r OK\r\n
INIT="" \d+++\dAT\r OK\r\n AT\s&F0\s&C1\s&K3\s&S0\r OK\r\n AT\sM0\sE1\sQ0\sV1\sS0=0\r 
OK\r\n
# INIT="" AT\r OK\r\n AT\s&F0\sM0\sS0=0\r OK\r\n
# waitfor string... if this sequence of characters is received over the line,
# a call is detected.
WAITFOR=RING
# this line is the connect chat sequence.  This chat sequence is performed
# after the WAITFOR string is found.  The \A character automatically sets
# the baudrate to the characters that are found, so if you get the message
# CONNECT 2400, the baud rate is set to 2400 baud.
# format: <expect> <send> ... (chat sequence)
CONNECT="" ATA\r CONNECT\s\A
# this line sets the time to delay before sending the login banner
# DELAY=1
# timeout to disconnect if idle...
TIMEOUT=60

Sincerely,

Hassan



----------------------
Hassan Monzavi

Faculty of Pharmacy and Pharmaceutical Sciences
University of Alberta      
Edmonton, Alberta        
Canada T6G 2N8           
Office  : C8 Pharmacy/Dentistry
Lab.    : 1104 Pharmacy/Dentistry
Phone   : (780)492-0305 Office
          (780)492-6719 Lab.
Fax     : (780)439-5857
E-mail  : [EMAIL PROTECTED]
WWW     : http://www.ualberta.ca/~hmonzavi
---------------------

Reply via email to