автоматизированный разговорный скрипт с модемом (Automated conversational script with a modem)
TIMEOUT
The initial timeout value is 45 seconds. This may be changed
using the -t
parameter.
To change the timeout value for the next expect string, the
following example may be used:
ATZ OK ATDT5551212 CONNECT TIMEOUT 10 ogin:--ogin: TIMEOUT
5 assword: hello2u2
This will change the timeout to 10 seconds when it expects the
login: prompt. The timeout is then changed to 5 seconds when it
looks for the password prompt.
The timeout, once changed, remains in effect until it is changed
again.