expect "\r" or "OK\r\n" timeout 2 # Confirm successful command.
send "ATVXS=\r" # Numeric response code
# AT compatible messages
# Auto-Answer disabled
expect "\r" timeout 2 # Confirm commands successful.
done #
error: # Handle unexpected modem
# responses.
expect "8\r" or "7\r" or "4\r" or "3\r"
delay 2
done
C-14 RS/6000 Enterprise Server Model H Series User's Guide