home *** CD-ROM | disk | FTP | other *** search
/ Shareware Overload / ShartewareOverload.cdr / comm / backmail.zip / BM2DOCS.EXE / HAYES.BSL < prev    next >
Text File  |  1990-06-07  |  1KB  |  33 lines

  1. #                   HAYES.BSL
  2. # This script simply dials a Hayes compatible modem to make a BackMail
  3. # Connection. It is a good prototype if you need a custom script to
  4. # drive a non-standard modem.
  5. # Here we could open a script log for debugging purposes.
  6. # Leave this commented out unless you want to debug
  7. #F\\
  8. # Next we will set our wait time to 5 secs
  9. B5\\
  10. # Let us wake up the modem by asking for numeric responses
  11. # with no echo note that BackMail will need numeric
  12. # responses to establish its connection
  13. I\ATQ0V0E0][\0
  14. # Let's also turn on the modems speaker for the script call
  15. I\ATM1][\0
  16. # Now lets dial the user's number (making sure to wait for
  17. # wait for dialtone). Note that the "at" sign is
  18. # replaced by the user's number.
  19. # You could add prefix's and suffixs here for long
  20. # distance credit card number etc.
  21. I\ATDTW @ ][\
  22. # Now we wait for carrier
  23. # If we don't get carrier in time out seconds
  24. # we will hang up. So lets give our selves a 30 second
  25. # wait time (X-0=30)
  26. BX\\
  27. #and wait for carrier
  28. C\\
  29. # If we didn't get carrier we hung up so
  30. # if we reached this point we can proceed with
  31. # a regular backmail connection
  32. G\\
  33.