hit counter script

IBM Eserver pSeries 670 User Manual page 171

Table of Contents

Advertisement

send "+++"
delay 2
send "ATH0\r"
ignore "0\r" or "OK\r" timeout 2
send "ATE0Q1\r"
ignore "0\r" timeout 1
done
condin:
send "AT&F*E0E0\r"
ignore "0\r" or "OK\r\n" timeout 2 # Ignore modem response.
send "AT#F0*Q2\r"
expect "0\r" or "OK\r\n" timeout 2 # Confirm commands successful
send "ATV0X0S0=2\r"
expect "0\r" timeout 2
done
waitcall:
ignore "2\r" timeout 1
expect "2\r" timeout 10
expect "1\r" timeout 60
done
page:
send "ATD%N,%R\r"
expect "0\r" or "3\r" timeout 30
delay 2
send "+++"
delay 2
send "ATH0\r"
expect "0\r" timeout 2
done
ripo:
send "AT&F*E0E0\r"
ignore "0\r" or "OK\r\n" timeout 2 # Ignore modem response.
send "AT#F0*Q2\r"
expect "0\r" or "OK\r\n" timeout 2 # Confirm successful command.
send "ATV0X0S0=0\r"
expect "0\r" timeout 2
done
# Assure command mode.
# Allow mode switching delay.
# Set modem switch-hook down
# (i.e., hang up).
# Ignore modem response.
# Initialize modem: Echo OFF,
# Disable responses.
# Reset to factory defaults.
# *E0=data compression disabled
# E0=echo disabled
# Trellis modulation disabled
# Retrain with adaptive rate
# Numeric response code
# AT compatible messages
# Answer on 2nd ring
# Confirm commands successful.
# Ignore first ring.
# Pick up second ring
# or timeout.
# Expect a connection response.
# %N = pager call center number
# commas=6sec wait time to
#
enter paging number.
# %R = return number
# Confirm successful command.
# Wait before hanging up.
# Assure command mode.
# Allow mode switching delay.
# Hang up.
# Confirm successful command.
# Reset to factory defaults.
# *E0=data compression disabled
# E0=echo disabled
# Trellis modulation disabled
# Retrain with adaptive rate
# Numeric response code
# AT compatible messages
# Auto-Answer disabled
# Confirm commands successful.
#
Appendix E. Modem Configurations
155

Advertisement

Table of Contents
loading

Table of Contents