LJ Archive

Listing 2

#ppp-on-dialer
exec chat -v      \
    TIMEOUT     3 \
    ABORT      '  \n
    BUSY\r'    \
    ABORT '\NO ANSWER\r'\
    ABORT '\nRINGING\r\n\r\nRINGING\r'\
    ''       \rAT \
    'OK-+++\c-OK'  ATH0 \
    TIMEOUT     30      \
    OK       ATDT5551212 \
    CONNECT     ''       \
    login:       my_login \
    password:    my_password
LJ Archive