I have a chatscript to do callback, which looks like this.

ABORT        BUSY
ABORT        "NO CARRIER" <---------------------
ABORT        VOICE
ABORT        "NO DIALTONE"
""           ATZ
OK           ATL1
OK           ATDT5551212
ogin:        \qmagic-login-id\q
RING         ata
ogin:        ""

The problem is that if I leave in the arrowed line, it won't work. When I 
(or it) type magic-login-id, the other end hangs up so that it can call 
me back, but my modem says NO CARRIER at this point, which aborts the 
script. Is there a trick to avoid this. (If not, I guess I'll just have to 
leave it out.)

I thought the \q codes would prevent the secret callback username from 
appearing in syslog, but it looks like this. Why?

Feb  6 17:48:44 here chat[937]: send (ATDT5551212^M) 
Feb  6 17:48:44 here chat[937]: expect (ogin:) 
Feb  6 17:48:44 here chat[937]: ^M 
Feb  6 17:49:03 here chat[937]: ATDT5551212^M^M 
Feb  6 17:49:03 here chat[937]: CONNECT 33600/ARQ/V34/LAPM/V42BIS^M 
Feb  6 17:49:04 here chat[937]: ^MDebian  
Feb  6 17:49:04 here chat[937]:  l 
Feb  6 17:49:04 here chat[937]: ^M 
Feb  6 17:49:04 here chat[937]: ^M**EMSI_REQA77E^M^Q              ^M^M 
Feb  6 17:49:04 here chat[937]: there!login: -- got it 
Feb  6 17:49:04 here chat[937]: send (magic-login-id^M) 
Feb  6 17:49:04 here chat[937]: expect (RING) 
Feb  6 17:49:07 here chat[937]:  magic-login-id^M 
Feb  6 17:49:07 here chat[937]: ^M 
Feb  6 17:49:07 here chat[937]: Dialing continues in the background, 

--
David Wright, Open University, Earth Science Department, Milton Keynes MK7 6AA
U.K.  email: [EMAIL PROTECTED]  tel: +44 1908 653 739  fax: +44 1908 655 151


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .

Reply via email to