
ECDIALER and ISDN 91
*** Set modem to answer on the first ring.
***************************************
type "ATS0=1",0d,0a
match "OK"
iferror TELCO
***************************************
*** Asyn/Sync Mode Selection AT&M1 ***
*** ***
*** Call is initiated in asynchronous**
*** mode. The modem will automatically*
*** switch to synchronous mode once the*
*** telephone connection is established.*
*** The factory setting for most modems*
*** is asynchronous. ***
*** ***
***************************************
type "AT&M1",0d,0a
match "OK"
iferror TELCO
***************************************
*** DSR setting AT&S1 ***
*** ***
*** DSR is controlled by the modem. ***
*** With this setting, DSR is asserted*
*** when the modem completes answer ***
*** tone detection and training. If***
*** the modem hangups after dialing ***
*** and answer tone detection, this ***
*** setting is the cause. The factory*
*** setting for most modems is to ***
*** DSR at all times. ***
*** ***
***************************************
type "AT&S1",0d,0a
match "OK"
iferror TELCO
***************************************
*** Write active configuration to ***
*** nonvolatile memory. These settings*
*** will be restored automatically ***
*** whenever the modem is turned on.***
*** ***
***************************************
type "AT&W",0d,0a
match "OK"
iferror TELCO
goto bye
:TELCO
print "TELCO ERROR"
goto exit
:bye_t1
print "Error during modem programming. Type failed."
goto exit
:MODERR
print "Error while setting modulation for 1200 bauds"
goto exit
:FACTORY
print "Error while initializing to factory setting"
goto exit
:bye_m1
print "No answer from modem."
goto exit
:bye_comm
print "**** INIT ERROR !!"
goto exit
:bye
print "Modem programmed successfully"
:exit
Comentários a estes Manuais