home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Shareware Overload
/
ShartewareOverload.cdr
/
comm
/
backmail.zip
/
BM2DOCS.EXE
/
HAYES.BSL
< prev
next >
Wrap
Text File
|
1990-06-07
|
1KB
|
33 lines
# HAYES.BSL
# This script simply dials a Hayes compatible modem to make a BackMail
# Connection. It is a good prototype if you need a custom script to
# drive a non-standard modem.
# Here we could open a script log for debugging purposes.
# Leave this commented out unless you want to debug
#F\\
# Next we will set our wait time to 5 secs
B5\\
# Let us wake up the modem by asking for numeric responses
# with no echo note that BackMail will need numeric
# responses to establish its connection
I\ATQ0V0E0][\0
# Let's also turn on the modems speaker for the script call
I\ATM1][\0
# Now lets dial the user's number (making sure to wait for
# wait for dialtone). Note that the "at" sign is
# replaced by the user's number.
# You could add prefix's and suffixs here for long
# distance credit card number etc.
I\ATDTW @ ][\
# Now we wait for carrier
# If we don't get carrier in time out seconds
# we will hang up. So lets give our selves a 30 second
# wait time (X-0=30)
BX\\
#and wait for carrier
C\\
# If we didn't get carrier we hung up so
# if we reached this point we can proceed with
# a regular backmail connection
G\\