Re: PM2 Callback

Frank Heinzius (frimp@mms.de)
Wed, 21 May 1997 13:26:13 +0000

On 21 May 97 at 10:59, Ismael Vaz -- CIUP wrote:

>
> Those any body has experience in getting a PM2 to callback to a Windows95
> with PPP ? Can you share the PM2 and windows configuration (scripts) ?
>

If you mean analog Dialout from Win95, you need a trick to keep CD up, because Win95
scripts terminate when CD gets down.
Please make sure that the modems attached to the *Portmaster* ignore the +++ command,
else you will put the PM2-modem in command mode ;-)
And configure the WIN95 modem,, that it wonīt disconnect on +++ but stay in command mode
(on USR modems itīs ATS14=0.
On the PM2 side, you define a netuser with callback, where you enter a location name.
Then define a location with the desired PPP parameters, the phone number and a group
number. Assign this group number to the desired dialout ports (set Sx group xx, set Sx
login network twoway).

The following script is for a USR Courier modem:

proc main
integer nTries = 5
transmit "+++"
waitfor "ok" until 5
transmit "at&c0s0=0^M"
waitfor "ok" until 5
transmit "ato^M"
waitfor "connect" until 30
while nTries > 0 do
waitfor "ogin:" then DoLogin until 3
transmit "^M"
nTries = nTries - 1
endwhile
DoLogin:
transmit $USERID, raw
transmit "^M"
waitfor "assword:" until 20
transmit $PASSWORD, raw
transmit "^M"
waitfor "ring" until 90
transmit "ata^M"
waitfor "connect" until 30
transmit "+++"
waitfor "ok" until 5
transmit "at&c1^M"
waitfor "ok" until 5
transmit "ato^M"
waitfor "connect" until 5
endproc


> If this is a FAQ, Where can I get it ?

Dunno.

Frank

--
Frank M. Heinzius             MMS Communication GmbH
mailto:frimp@mms.de           Eiffestrasse 598
http://www.mms.de             20537 Hamburg, Germany
Phone: +49 40 211105-0        Fax: +49 40 210 32 210