Image

Imagechumducky wrote in Imagelinux 😊accomplished

Stuff everyone already knows? (PPPd and Call Answering)

I'm certain either no-onelse has had this problem, and that even fewer are still on dial-up, and that those who are have long since figured this out. For the rest of us, allow a moment's patience? Your wasted time will be cheerfully refunded. NOTE I am not asking for help. I already solved the problem for myself! I'm offering some insight for others who might have a similar problem with their modem. This is by far the most portable solution I found.

I have "Call Answering" service on my phone line: a neat little feature that does answering machine work even when the line is busy. When a message is present, the dial tone changes to a strange warbling beep, which last four seconds and then peters out to a regular dialtone. Of course, there's no modem on the planet that would recognize this warble as a dialtone and dial anyhow!

So I had to figure out a way to wait 3 seconds until the dialtone had changed. I had to investigate both the syntax of the chat scripts, and find my old Supra manual, which has the Hayes UMC(odes) listed, and then paw through both for 20 minutes. My chat string has changed from:

chat -v '' AT OK '' ATDT####### CONNECT '\d\c'

to:

chat -v '' AT OK ATH1 OK '\d\d\d\c' '' ATDT####### CONNECT '\d\c'"

The string ATH1 opens the line, then a wait for an okay, then '\d\d\d\c' waits for three seconds before the 'ATDT########' tests for dialtone and dials out. It works perfectly, though I had to debug a bit to get the timing perfect, and perfect it is finally.

Now my biggest worry is that I'll never pickup messages again! I wish someone would make this feature a standard part of the dial-up setup in one distribution or other, especially the rue fedora one. *chuckles*

Qvacks.