Periodically run chat-script??

Periodically run chat-script??

Post by Bob Retel » Sat, 20 Mar 1999 04:00:00

I'm hoping I've missed something in the Cisco documentation, and
someone here can point me in the right direction...

I'd like to periodically run a modem chat-script on a Cisco 2509
router to send a Hayes ATZ command to a modem on async line 3.

We use the modem as a dial-in backup and have found that too often the
modem won't autoanswer after having been "sleeping" for weeks or
months.  (We've tried several brands of standalone modems, all have
had the problem.)

It IS possible to telnet in to the router, then telnet to the async
line and send modem commands manually, but it's a real pain.

I've been looking for a way to run a chat-script that would simply
wake the modem up with an ATZ reset every now and then, but so far
have come up empty.

There doesn't appear to be any way to trigger an EXEC process from one
line or device to affect a different line.  (I'd thought opening and
closing connections on other lines might be useful as triggers, but it
doesn't look like that's possible.)

Does anyone have any thoughts about how I might go about doing
something like this..?

Thanks in advance!