Hey Richard,
sounds very encouraging that s the way it start s with me just before
working !!
Now keep this file (safe copy) and change it to only
[
TIMEOUT 3
ABORT "NO CARRIER"
ABORT BUSY
ABORT "NO ANSWER"
"" +++ATZ OK
]
Because what is missing in your var log messages is a ^M after the OK
check the ATZ line as a difference.
launch it with chat -f yourfile then you will have it working pretty
quickly.
Hope this helps
gh Portefait
Richard King wrote:
>
>[Snipped ... ]
> #!/bin/sh
> #
> TELEPHONE=4011000
> ###################################################
>
> exec chat -v \
> TIMEOUT 3 \
> ABORT "NO CARRIER" \
> ABORT BUSY \
> ABORT "NO ANSWER" \
> "" +++ATZ OK \
> TIMEOUT 30 \
> ATDT"$TELEPHONE" \
> CONNECT ""
>
> Jan 4 22:42:39 kingr chat[459]: timeout set to 3 seconds
> Jan 4 22:42:39 kingr chat[459]: abort on (NO CARRIER)
> Jan 4 22:42:39 kingr chat[459]: abort on (BUSY)
> Jan 4 22:42:39 kingr chat[459]: abort on (NO ANSWER)
> Jan 4 22:42:39 kingr chat[459]: send (+++ATZ^M)
> Jan 4 22:42:39 kingr chat[459]: expect (OK)
> Jan 4 22:42:42 kingr chat[459]: alarm
> Jan 4 22:42:42 kingr chat[459]: Failed
>
--
"Computers are like air conditioners - they stop working properly when
you open Windows"
S/MIME Cryptographic Signature