From Peter Deane · 1996-03-17 13:11 · #77314 in IBM
PD> Same thing really... Modem still returns NO CARRIER. One is because
PD> the modem decided to do it (S7 reached) the other is because Terminus
PD> sent the modem a CR while a DIAL command has been executed. Same end
PD> result, though, there.
MR> Yes, but doesn't TD send a CR when i aborts a call without
MR> RINGING's to count? If it did send a CR to abort the call,
MR> shouldn't it get a NO CARRIER and at least not terminate.
The timeout in TrapDoor is about 90 seconds. What's your S7 setting? My bet is greater than 90 seconds????
MR> Really, how come TD tells me that my Sportster doesn't even
MR> sends it a NO CARRIER while Terminus receives NO CARRIER after
MR> an unanswered call? I use exactly the same init and dial strings
MR> in both serial programmes BTW.
Because in Terminus, there is a delay between the ATDT commands, whereas with the Arexx script, there probably won't be.
PD> Aha, I just re-read that bit. No response from modem means the modem
PD> has done NOTHING after getting the Dial command. 99% of the time this
PD> is because the command is being sent too fast to the modem, and easily
PD> solved by changing the MODEMDIALPRE string.
MR> I think this is the strange part. The modem calls the right
MR> number. I have verified this and I'm loath to admit that the
MR> Sportster could handle calls to busy numbers and disconnected
MR> numbers while, for some reason, it should somehow miss something
MR> while calling a non-answering modem?
Yes, it's a quicker modem, and is ready to take the AT commands fired off quickly. The No Response from Modem problem is one I had years ago, and it has appeared in this echo several times. It's ALWAYS fixed by adding tildes in before the dial command. Try it at least once, please!
PD> You might have to experiment on the number of tilde characters (~) you
PD> use, but you'll definitely need one or two before the AT, and possibly
PD> one after the AT and before the D. The one at the end is just for
PD> decoration, really :-)
MR> I could try this but why should the Sportster work when dialling
MR> numbers that are busy and disconnected and not work while
MR> TrapDoor calls a number that doesn't answer?
I don't think you're diagnosing it properly there. No Response From Modem almost always means that the ATDT command had no effect on the modem. IE no text was returned from it (not even a NO CARRIER). That's because the modem has "eaten" the dial command because it got it too quickly after a previous call out instruction. Use those tildes in your dial string, you'll see....
Mea Culpa,
Peter Deane
... Lesbians - when only the brest will do.
--- Plutonic 2.13 #1
* Origin: Inquestor. Hydra for TrapDoor, THANX! +61-43-961587 (3:711/476)