condin:
waitcall:
"19\r" or "13\r" or "12\r" or "1\r" busy "7\r"
page:
ripo:
error:
Eserver pSeries 630 Models 6C4 and 6E4 Service Guide
526
send "+++"
delay 2
send "ATH0T\r"
ignore "0\r" or "OK\r" timeout 2
send "ATE0Q1\r"
ignore "0\r" timeout 1
done
send "AT&F&E2E0T\r"
ignore "0\r" or "OK\r\n" timeout 2 # Ignore modem response.
send "AT&E12&E14\r"
expect "0\r" or "OK\r\n" timeout 2 # Confirm commands successful
send "AT&SF1&S0S9=1\r"
expect "0\r" or "OK\r\n" timeout 2 # Confirm commands successful.
send "ATV0S0=2\r"
expect "0\r" timeout 2
done
ignore "2\r" timeout 1
expect "2\r" timeout 10
expect "33\r" or "31\r" or "28\r" or "26\r" or "24\r" or "21\r" or
timeout 60
done
send "ATDT%N,,,,%R;\r"
expect "0\r" timeout 60
delay 2
send "ATH0\r"
expect "0\r" timeout 2
done
send "AT&F&E2E0T\r"
ignore "0\r" or "OK\r\n" timeout 2 # Ignore modem response.
send "AT&E12&E14\r"
expect "0\r" or "OK\r\n" timeout 2 # Confirm successful command.
send "AT&SF1&S0S9=1\r"
expect "0\r" or "OK\r\n" timeout 2 # Confirm commands successful.
send "ATV0S0=0\r"
expect "0\r" timeout 2
done
expect "8\r" or "7\r" or "6\r" or "4\r" or "3\r"
delay 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.
# Reliable mode
# Echo off
# Disable pacing
# Disable data compression
# DSR independent of CD.
# Force DSR on.
# CD respond time=100ms
# Numberic response code
# Answer on 2nd ring
# Confirm commands successful.
# Ignore first ring.
# Pickup 2nd ring or timeout
# Expect a connection response.
# %N = pager call center number
# Add enough commas to wait for
# time to enter paging number.
# %R = paging number
# Confirm successful command.
# Wait before hanging up.
# Hang up.
# Confirm successful command.
# Reset to factory defaults.
# Reliable mode
# Echo off
# Disable pacing
# Disable data compression
# DSR independent of CD.
# Force DSR on.
# CD respond time=100ms
# Numeric response code
# Auto Answer OFF
# Confirm commands successful.
#
# Handle unexpected modem
# responses.