VanDyke Software

Scripting Examples

Index

TAPI Replacement Dialer — Use Serial

If you experience trouble with SecureCRT trying to get TAPI to successfully dial for you on Windows, here's an example script that you can use to work around TAPI.

The script uses the Serial protocol to talk to the COM port of your modem, asking the modem to do the dialing directly instead of farming it out to the Windows system's TAPI dialer.

To configure a session to work with this script, download the script file and then follow these steps:

  1. Open Windows' "Device Manager" and locate your modem within the "Modems" area.
  2. Right-click your modem and choose Properties.
  3. Select the Modem tab and note the Port: setting. In this example the port is COM3. Your modem may very well be on a different port.
    Screenshot of MyModem Properties
  4. Create a new session in SecureCRT.
    • Set the Protocol to Serial.
    • In the Logon Actions category, enable the Logon script option and browse to the location of the script file that you downloaded.
    • In the Arguments field under the Logon script, enter the phone number sequence you wish to dial. For example: 9,1-555-555-1212.
      Screenshot showing Logon script field in Session Options/Logon Actions
  5. Save your session, and use it each time you want to dial that number.

Example Script

TAPIReplacementDialer-UseSerial.vbs.txt (4.1 KB)

 

VanDyke Software uses cookies to give you the best online experience. Before continuing to use this site, please confirm that you agree to our use of cookies. Please see our Cookie Usage for details.