Modems and Communications Tools: The Basics

Archived content. No warranty is made as to technical accuracy. Content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.

This chapter describes how to install and use modems with Windows 95, and the other communications tools in Windows 95, including HyperTerminal, Phone Dialer, and Microsoft File Transfer.

Windows 95 simplifies using modems by allowing you to install and configure a modem once to work for all communications applications, just as you do for a printer. This provides the following benefits:

  • Centralized modem and COM port configuration through the Modems option in Control Panel for all communications applications created for Windows 95

  • Support for hundreds of brand-name modems, including automatically detecting them

  • Modem connections and configuration using point-and-click instead of AT commands

Note: For applications created for Windows 3.1 or MS-DOS, you still need to define the serial port, modem type, and other modem settings within each application.

Windows 95 includes three tools for expanding communications capabilities:

  • HyperTerminal allows you to connect two computers through a modem and telephony application programming interface (TAPI) for transferring files, and it also automatically detects data bits, stop bits, and parity.

  • Phone Dialer allows you to use a computer to dial phone numbers for voice telephone calls. It includes a telephone dial pad, user-programmable speed dials, and a call log.

  • Microsoft File Transfer allows you to send and receive files while talking on the phone.

With Windows 95, you can do the following:

  • Set up a modem in the Modems option in Control Panel, or in a communications application created for Windows 95 (such as HyperTerminal) when you run it for the first time. Windows 95 provides an Install New Modem wizard that automatically detects the modem type and sets its default settings.

  • Send and receive faxes over a modem using Microsoft Fax. For more information, see Chapter 27, "Microsoft Fax."

  • Configure HyperTerminal to predefine computers to which your computer can connect.

  • Configure Phone Dialer to make voice telephone calls.

  • Define the location you are calling from just once in Dialing Properties. All communications tools and applications created for Windows 95 reference that location when dialing out.

  • Manually dial a phone call or display a terminal window before or after dialing. For information, see "Setting Modem Properties" later in this chapter.

  • Connect to a remote computer by using Dial-Up Networking. For information, see Chapter 28, "Dial-Up Networking and Mobile Computing."

On This Page

Modems and Communications Tools: The Issues
Setting Up a Modem
Setting Modem Properties
Modem Registry Keys
Using HyperTerminal
Using Phone Dialer
Using Dialing Properties
Using Microsoft File Transfer
Telephony Drivers from Other Vendors
Troubleshooting Communications Problems

Modems and Communications Tools: The Issues

Before you install and configure a modem for use with Windows 95, you should decide the following:

  • How many users need modems installed on their computers and what are the locations to which and from which they will be calling.

  • What kind of security restrictions you want to apply to modems installed on individual computers, as described in Chapter 14, "Security."

  • What properties you need to set for making connections, as described in "Setting Modem Properties" later in this chapter.

Note: In Windows 95, you cannot share a modem installed on another computer on the network. You can, however, share a fax modem over the network. For information, see Chapter 27, "Microsoft Fax."

Setting Up a Modem

You can install a new modem in one of three ways:

  • Using the Modems option in Control Panel

  • Running a communications application, which causes Windows 95 to prompt you to install a modem

  • Adding a modem through the Add New Hardware option in Control Panel

In all cases, the Install New Modem wizard appears, and asks if you want Windows 95 to automatically detect the modem or if you want to manually select a modem from the list of known manufacturers and modem models. If you choose the detection option, the wizard detects and then queries the modem to configure it. If it cannot detect the modem, it prompts you to select one.

When the modem has been selected, you can, if necessary, adjust its properties, such as the volume for the modem speaker, the time to wait for the remote computer to answer the call, and the maximum speed to use.

Depending on the type of modem you have, installing and configuring it might vary slightly as follows:

  • If you install an internal legacy (non-Plug and Play) modem adapter, its built-in COM port must be configured by using the Add New Hardware wizard before it is installed by using the Modems option in Control Panel. In most cases, the Install New Modem wizard does this automatically for you. However, on some computers, you might also need to run the Add New Hardware wizard.

  • If you are using Windows 95 PCMCIA drivers, then Windows 95 will detect and configure PCMCIA modem cards automatically when they are first inserted. Otherwise, you might need to run the Add New Hardware wizard in Control Panel to configure the card's built-in COM port. Then, you should install the PCMCIA modem card by using the Modems option in Control Panel. For more information, see Chapter 19, "Devices."

Note: Before you install a modem, check the Modems section in the Windows 95 README.TXT for possible information.

To install a new modem by using the Modems option in Control Panel

  1. In Control Panel, double-click the Modems icon.

  2. If no modem is currently installed on your computer, the Install New Modem wizard starts automatically to lead you through the steps for installing a modem. Follow the online instructions.

    – Or –

    If you are installing a second modem, click Add to start the Install New Modem wizard.

Cc751104.rk25_08(en-us,TechNet.10).gif

In most cases, it's best to let the Install New Modem wizard detect the modem for you. If it cannot detect the exact manufacturer and model, the wizard picks a standard configuration that is usually compatible. Your modem will still function at its maximum speed and according to factory default settings. A few advanced features might be disabled, such as enabling and disabling compression, error control, and flow control.

For information about installing a modem if your modem is not detected or listed, or about finding a better match than the standard modem, see "Troubleshooting Communications Problems" later in this chapter.

Windows 95 automatically assigns COM names to communications ports, internal modem adapters, and PCMCIA modem cards according to their base I/O port addresses as described in Chapter 19, "Devices."

Defining Your Location

The first time you set up a modem, the Install New Modem wizard prompts you for information about the location you will usually be calling from (the Default Location), including your area code and country code. This information is stored in Dialing Properties, a communications utility that is accessible from all communications applications created for Windows 95 and in the Modems option in Control Panel.

To set dialing location information

  • Run the Install New Modem wizard, and then type the area code and country code information in the Location Information dialog box.

Cc751104.rk25_01(en-us,TechNet.10).gif

After you install the modem, more specific location information, such as calling card numbers or the number you must dial to access an outside line, can be entered into the My Locations dialog box in Dialing Properties. For information, see "Using Dialing Properties" later in this chapter.

Setting Modem Properties

In the Modems option in Control Panel, you can globally change default modem settings for all communications applications and tools created for Windows 95. For example, if you do not want to listen to the modem speaker, you can turn it off for all tools and applications that use that modem. Alternatively, you can adjust these settings within each application.

Note: For Windows 3.1 – based or MS-DOS – based applications, you need to configure the modem settings within each application.

To view general properties for a modem

  1. In the Modems option in Control Panel, click a modem, and then click the Properties button.

  2. In General properties, view the default settings for the modem that will be used by all applications created for Windows 95.

Cc751104.rk25_02(en-us,TechNet.10).gif

Option

Description

Port

A port is either a COM or LPT port to which an external modem is attached, or a COM port name which identifies an internal or PCMCIA modem. Windows 95 automatically assigns a port name (COM1, COM2, COM3, or COM4) to any device it detects. Usually, the name is adjusted only if you move an external modem from one COM port to another. For PCMCIA modem cards, the port cannot be changed.

Speaker volume

Sets the volume for the telephone speaker, which broadcasts the dial tone, modem connection, and voices, if applicable, on the other end. To change the volume, move the slider bar to the right or left.

Maximum speed

This is the speed at which Windows 95 communicates with the modem. It is limited by the CPU speed of the computer and the speed supported by the communications port. Windows 95 selects a conservative default speed so that slower computers do not lose data during transfers. Set the speed lower if the faster rate causes data errors. Set it higher for faster performance if you are using a computer with an 80486 or a Pentium™ processor. For example, 57600 may work better than the Windows 95 default setting of 38400 for v.32bis (14400 bps) modems on fast computers. If applications report data errors, then set a lower speed (for example, change it from 38400 to 19200 for v.32bis modems).

Tip If you have a slower, older computer and an external modem, you can purchase and install a 16550A UART-based COM port adapter to increase speeds. Some internal modems have an integrated 16550A UART adapter.

To change or view the connection properties

  • In General properties, click the Connection tab to display the connection options for your modem.

Cc751104.rk25_03(en-us,TechNet.10).gif

Option

Description

Connection preferences

Connection settings usually correspond to what the computer on the other end is using. Therefore, do not change connection settings by using the Modems option in Control Panel. Rather, use a specific tool or application, such as HyperTerminal, to change these settings on a connection-by-connection basis.

Wait for dial...

Clear this option if you are making calls from a country other than where your modem was purchased and your modem fails to properly detect the dial tone.

Cancel the call...

Change the number of seconds listed in this field if, for some reason, it takes a long time to make a connection; for example, this might occur when you are making an international call and there are long delays before the call is connected.

Disconnect a call...

Change the number of minutes listed in this option if, for some reason, there is no activity on the line; for example, increase the number if you want to stay connected to a computer bulletin board even though there is no activity.

You can also specify settings for data bits, parity, and stop bits in the Connection properties. For information about these values, see online Help.

To view or change advanced connection properties

  • Click the Advanced button in the Connection properties to display the Advanced Connection Settings dialog box. In this box you can set error control, flow control, and modulation, and audit the modem operations.

Cc751104.rk25_09(en-us,TechNet.10).gif

Option

Description

Use error control

Check this option to boost file transfer speeds by eliminating errors caused by noise on the telephone line. This feature is available on most newer modems. When this feature is enabled, modems sometimes have trouble connecting. If this occurs, clear the check box and try again.

Required to connect

Check this option if you want your modem to connect with another modem only if error control is enabled on a call. This is useful in areas with very noisy phone lines. In these cases, connecting at a slower speed can improve data throughput.

Compress data

Check this option to boost transmission speeds by compressing data between the modems. This feature is available on most modems. When this feature is enabled, modems sometimes have trouble connecting. If this occurs, clear the check box and try again. Using modem compression can sometimes reduce performance if the data being sent is already compressed by the application.

Use cellular protocol

Check this option when you want your modem to use special protocols designed to reduce errors over cellular connections. You might want to clear this when making a call on a normal noncellular telephone line.

Use flow control

Check this option for all external modems to avoid loss of data. If your modem cable has RTS and CTS wires connected, you can use hardware flow control; otherwise, use software flow control.

Low-speed modulation

Check this option if you are having problems making an international call. Depending on the type of modem, Windows 95 provides three possible settings: Bell 103 and 212A, A (for calls in the United States), ITU-TV V.21 and V.22 (for international calls), and ITU-TV V.23 (for French Minitel calls).

Extra settings

Check this field to type modem commands that Windows 95 will include in the initialization sequence that it sends to the modem before dialing. Do not include the "AT" prefix in this box. The Extra Settings option is intended only for debugging purposes, and should be used only by experienced modem users.

Record a log file

Check this option to record commands and responses to and from the modem in the MODEMLOG.TXT file in the Windows directory. Reading this file along with a modem manual can help you solve problems. After you identify the problem, you can adjust the appropriate modem keys in the Registry. Only advanced users should use this feature.

Dialing Manually

Windows 95 allows you to manually dial your modem if you are having difficulty making an international call or other connection. To manually dial your modem, you need a separate telephone headset and keypad. You can request manual dialing, using slightly different procedures from within any Windows 95-based communications applications, such as HyperTerminal, Dial-Up Networking, or Microsoft Fax. The following procedure describes how to manually dial your modem by using Dial-Up Networking.

To manually control modem dialing

  1. In Dial-Up Networking, right-click a connection icon, and then click Properties.

  2. Click the Configure button, and then click the Options tab.

    Cc751104.rk25_16(en-us,TechNet.10).gif

  3. Click the Operator Assisted or Manual Dial option, and then click OK.

  4. Double-click the connection icon in Dial-Up Networking, and then click Connect.

  5. When instructed, pick up the phone and dial the number.

  6. When you hear the other computer answer, click the Connect button and hang up.

Displaying the Terminal Window

Before or after dialing, you can display a terminal window to type AT modem commands if a connection requires them. A terminal window can be used to log on for security purposes, to establish connections with servers that require a specific logon procedure, and for other reasons. The following procedure describes this process for Dial-Up Networking.

To display a terminal window before or after dialing

  1. In Dial-Up Networking, right-click a connection icon, and then click Properties.

  2. Click the Configure button, and then click the Options tab.

  3. Click the Bring Up Terminal Window Before Dialing option, or the Bring Up Terminal Window After Dialing option, and then click OK.

Modem Registry Keys

The following section describes information stored in specific modem Registry keys that might help advanced users correct problems with the commands that Windows 95 uses to control a modem. To identify modem problems, you can enable Windows 95 to create a MODEMLOG.TXT file (as described in "Setting Modem Properties" earlier in this chapter), which contains responses to and from a modem when a connection was made. The MODEMLOG.TXT file might indicate when Windows 95 is sending an incorrect command string to a modem, or when a response code is not being correctly interpreted. After consulting the documentation for the modem, you might be able to adjust the modem's Registry keys to restore proper operation.

Modem Registry keys are stored under the following key:

Hkey_Local_Machine \System \CurrentControlSet \Services \ClassModem

For each installed modem, Windows 95 creates one Registry key (starting with \0000); additional subkeys, which contain AT commands that Windows 95 uses to initialize, dial, and answer the modem; plus other entries that communications and modem drivers use.

Some of the more important entries that you can use to correct or optimize modem operation are described in the following sections. The full set of modem Registry keys and the INF file format are documented in the Windows 95 Device Development Kit.

Init Key

The multiple, modem-command string entries in the Init key initialize the modem before Windows 95 uses it. The name of each entry is its sequence number, starting with the number 1, and its data is the command that is sent to the modem. Usually, the Init key entry 1 is AT<cr>, which is sent to the modem to start it. Init entry 2 usually contains &F or a similar command to restore the modem to its default settings. Subsequent Init key entries contain miscellaneous commands to configure the modem so it is compatible with Windows 95.

Responses Key

The Responses key contains strings that the modem might report to Windows 95 in response to a command or during the connection process. The name of each subkey is the text of a single modem response, and its data is a 10-byte binary value specifying the meaning of the response to Windows in a coded format. The first two characters (byte 0) specify the meaning of the response code, using one of the following values.

Value

Type

Description

00

OK

The modem accepted the previous command.

01

Negotiation Progress

Status information about a new connection is being reported.

02

Connect

A call is connected; the modem is in data mode.

03

Error

The modem rejected the previous command.

04

No Carrier

The call was disconnected.

05

No Dial Tone

No dial tone is present.

06

Busy

The dialed modem is busy.

07

No Answer

The dialed modem did not answer.

08

Ring

There is an incoming call.

The second two characters (byte 1) specify information about a connection that is being made. It is used only for response codes of type Negotiation Progress or Connect, and is one of the following values.

Value

Error control negotiated

Compression negotiated

Cellular protocol negotiated

00

01

X

02

X

03

X

X

08

X

09

X

X

0A

X

X

0B

X

X

X

The next eight characters (bytes 2 – 5) specify the modem-to-modem line speed negotiated in bits per second (bps). The characters represent a 32-bit integer, doubleword format (byte and word reversed). Common examples for this value include the following.

Bits per second

String

2400

60 09 00 00

9600

80 25 00 00

14400

40 38 00 00

19200

00 4b 00 00

28800

80 70 00 00

The last eight characters (bytes 6 – 9) indicate that the modem is changing to a different port or Data Terminal Equipment (DTE) speed. Usually, this field is not used, because modems make connections at a "locked" port speed, regardless of the modem-to-modem or Data Communications Equipment (DCE) speed. However, for modems that support only "direct" modes, you can lower the DTE speed by specifying a negotiated DTE speed for a response code, using the same format as the DCE speed described in the preceding table.

Settings Key

The Settings key contains commands for configuring various modem settings. After the Init key commands are sent, Windows 95 builds a dynamic configuration command string by concatenating various entries shown in the following table. The command string depends on the settings selected in the modem's properties.

Subkey

Description

Example

Prefix

Configuration command prefix

AT

Terminator

Configuration command suffix

<cr>

DialPrefix

Dial command prefix

D

Dial_Pulse

Use pulse dialing

P

Dial_Tone

Use tone dialing

T

Blind_Off

Detect dial tone before dialing

X4

Blind_On

Do not detect dial tone before dialing

X3

CallSetupFailTimeout

Specify call setup time-out

S7=<#>

InactivityTimeout

Specify inactivity time-out

S30=<#>

SpeakerVolume_Low

Low speaker volume

L1

SpeakerVolume_Med

Medium speaker volume

L2

SpeakerVolume_High

High speaker volume

L3

SpeakerMode_Off

Speaker always off

M0

SpeakerMode_Dial

Speaker on during dial and negotiation

M1

SpeakerMode_On

Speaker always on

M2

SpeakerMode_Setup

Speaker on only during negotiation

M3

FlowControl_Off

No flow control

&K0

FlowControl_Hard

Hardware flow control

&K1

FlowControl_Soft

Software flow control

&K2

ErrorControl_Off

Error control disabled (normal mode, not direct)

+Q6S36=3S48=128

ErrorControl_On

Error control enabled (auto reliable)

+Q5S36=7S48=7

ErrorControl_Forced

Error control required to connect (reliable)

+Q5S36=4S48=7

ErrorControl_Cellular

Cellular protocol enabled

\N3-K1)M1-Q1*H1

Compression_On

Compression enabled

S46=138

Compression_Off

Compression disabled

S46=136

Modulation_CCITT

Use CCITT modulations for 300 and 1200 bps

B0

Modulation_Bell

Use Bell modulations for 300 and 1200 bps

B1

SpeedNegotiation_Off

Connect only at default modem speed; do not fall back

N0

SpeedNegotiation_On

Use lower DCE speed to connect, if necessary

N1

Using HyperTerminal

You can use HyperTerminal with a modem to connect two computers so you can send and receive files or connect to computer bulletin boards and other information programs. For example, you can use HyperTerminal to connect to an online service and to download files from a bulletin board on the online service. You can also use HyperTerminal to connect a computer directly to another computer, such as a debugging terminal.

The easiest way to install HyperTerminal is to choose Custom Setup Type during Windows 95 installation and then select HyperTerminal when selecting components to install.

To install HyperTerminal after Windows 95 Setup

  1. In the Add/Remove Programs option in Control Panel, click the Windows Setup tab.

  2. In the Windows Setup Components list box, click Communications, and then click the Details button.

  3. In the Communications dialog box, click HyperTerminal, and then click OK.

For more information, see the online Help in HyperTerminal.

File Transfer Protocols

HyperTerminal supports the following file transfer protocols.

Protocol

Description

Xmodem

The most common error-correcting data communications protocol. Most communications packages support (and some only support) Xmodem. This protocol is also supported by most online services. Xmodem is slower than other protocols (for example, Zmodem).

1K Xmodem

A variant of traditional Xmodem, which sends data in 1K (1024-byte) blocks instead of 128-byte blocks. On some bulletin boards, this protocol is called Ymodem.

Ymodem

A faster version of Xmodem, transferring data in 1K blocks.

Ymodem-G

A variant of Ymodem designed for use with modems that support hardware error control. If you cannot transfer files by using Ymodem-G, your modem might not support error control. Use Ymodem instead.

Zmodem

The fastest data transfer protocol, and the primary choice of most bulletin board users. Zmodem dynamically changes its block size based on line conditions, and it is extremely reliable.

Kermit

An extremely flexible protocol, found most often on DEC™ VAX™ computers, IBM® mainframes, and other minicomputers. However, Kermit is quite slow and should not be used if faster options are available on the other computer.

Note: You can choose a file transfer protocol to use when you send or receive a file by using the Send or Receive File options in the Transfer menu, as described in online Help.

Terminal Emulation Types

HyperTerminal supports the following terminal emulation types.

ANSI

Viewdata (for the United Kingdom)

Minitel (for France)

DEC VT 100™

Auto Detect

VT 52

TTY

 

To choose a terminal emulation type

  1. Right-click a connection icon, and then click Properties.

  2. In the connection's properties, click the Settings tab, and then select the emulation type.

    Note: Some modems might not be able to connect to French Minitel in HyperTerminal using the Windows 95 default settings. To correct this, you need to add an extra command in the Extra Settings field in the Advanced Settings dialog box in the modem's properties. Check the modem manual for the command that enables the modem to connect in V.23 modulation to Minitel, and then add this to the Extra Settings field.

Using Phone Dialer

The Phone Dialer application that comes with Windows 95 allows you to use a computer to make voice telephone calls using the calling card and location information defined in Dialing Properties. It also stores frequently dialed numbers, dials stored phone numbers, and logs telephone calls.

The easiest way to install Phone Dialer is to choose Custom Setup during Windows 95 installation and then follow the following procedure. You can also install it after Windows 95 installation in the Add/Remove Programs option in Control Panel.

To install Phone Dialer after Window 95 installation

  1. In the Add/Remove Programs option in Control Panel, click the Windows Setup tab.

  2. In the Windows Setup Components list box, click Communications, and then click the Details button.

  3. In the Communications dialog box, click Phone Dialer, and then click OK.

To start Phone Dialer and make a call

  1. From the Start button, point to Programs, then point to Accessories, and then click Phone Dialer.

  2. In the Phone Dialer dialog box, type a phone number either from your keyboard or use the Phone Dialer numeric keypad. Click Dial.

rk25_06

When you dial a number with Phone Dialer, the number is automatically stored in a list of your most recently used telephone numbers. All local, domestic long-distance, or international telephone numbers are stored when you type all the digits needed to dial in the Number To Dial text box. You can also store phone numbers as speed-dial numbers.

Important: The Number To Dial text box can hold as many as 40 digits. Therefore, you can type a local, domestic long-distance, or international long-distance phone number in this text box. The same is true when you create speed-dial numbers.

If you type the area code and local telephone number, Phone Dialer automatically precedes the dialed number with a "1" if you have typed this information in the My Locations properties in the Dialing Properties dialog box. Dialing Properties is a separate communications tool described in "Using Dialing Properties" later in this chapter.

If you type nonnumeric characters (such as a hyphen or a parenthesis) in a phone number, Phone Dialer ignores them except when you type a plus sign (+) at the beginning of your number, which is international format. If you type a number in international format, you must put parentheses around the area code, for example, +1 (206) 882-8080.

For more information, see the online Help in Phone Dialer.

According to the North America Dialing Plan (a standard set of procedures that telephone companies in North America use), you must dial a "1," followed by a three-digit area code, followed by a seven-digit local phone number to make a long-distance call. There are a few cases where local phone companies have not followed this rule by allowing you to omit the initial "1" for certain numbers in adjacent area codes. Thus, the number you dial is 10 digits, not 11.

To dial long-distance calls without a "1" prefix

  1. From the Tools menu in Phone Dialer, click Dialing Properties. (For more information about this tool, see "Using Dialing Properties" later in this chapter.)

  2. Verify that the area code listed here is correct for your location. (Change it if necessary.) Click OK.

  3. Using any method you prefer for storing phone numbers, type the phone number as a 10-digit number, omitting the "1" prefix.

    The Windows 95 telephony number translation function sees the local area code in both the location and in the destination number, and assumes it should dial only the local number. For example, suppose you are dialing from area code 905 and can dial phone numbers with area code 416 without the "1" prefix. You would store those numbers as +1 (905) 416xxxxxxx where xxxxxxx is the local phone number.

Using Dialing Properties

Dialing Properties is a utility that has been integrated with Phone Dialer, HyperTerminal, Dial-Up Networking, and other communications applications created for Windows 95.

The options you set with Dialing Properties are stored in the TELEPHON.INI file (instead of the Registry) to ensure backward compatibility with older 16-bit Windows telephony-enabled applications.

With Dialing Properties, you can do the following:

  • Define Calling Locations, including specifying area code, country code, and in-house dialing rules

  • Define calling card rules

In Windows 95, you can access Dialing Properties from the Tools menu in Phone Dialer, or by clicking the Dialing Properties button when you make a new connection in HyperTerminal. For purposes of discussion, procedures in this section describe accessing Dialing Properties from Phone Dialer.

Defining Calling Locations

A location is information that Dialing Properties uses to analyze telephone numbers in international format, and to determine the correct sequence of numbers to be dialed. It need not correspond to a particular geographic location, but it usually does. For example, a location could specify the procedures needed to dial calls from your office, or from a room in a hotel. You can name locations anything you choose to help you remember and select them later. Dialing Properties allows you to add new locations, edit existing locations, and remove locations you no longer need.

To define a location in Dialing Properties

  1. Run Phone Dialer, click the Tools menu, and then click Dialing Properties.

    Cc751104.rk25_13(en-us,TechNet.10).gif

    In the My Locations properties, type information about where you are calling from, including the following:

    • Name of your location (for example, home or office)

    • Area code

    • Name of country

    • Access number required to make a local or long-distance call

    • Whether your phone has call waiting and whether it should be disabled

    • Whether your phone uses pulse or tone dialing

    • Whether you use a calling card to make calls

      If you want to change calling card information, click the Change button. For more information about calling cards, see "Defining Calling Card Rules" later in this chapter.

Defining Calling Card Rules

A calling card is information that Dialing Properties uses to create the sequence of numbers to be dialed on a particular call. The calling card can include a calling card number that can be dialed at a specified time during call placement. However, the calling card does not have to specify a card number (in other words, calling cards can also be used to define alternative procedures for direct dialing without a calling card number). To help you remember them, you can name calling cards anything you choose.

Dialing Properties includes predefined settings for several popular calling cards used in the United States, including AT&T®, Sprint, MCI, British Telecom, France Telecom Mercury, Telecom New Zealand, and others. You can modify and use these directly or copy them to create your own calling cards. Dialing Properties allows you to add new calling cards, edit existing calling cards, and remove calling cards you do not need.

The information stored in a calling card includes the name, card number, and the dialing rules for local, long-distance, and international calls.

To specify that you are using a calling card in Dialing Properties

  1. In the My Locations properties, click the Dial Using Calling Card check box.

    Cc751104.rk25_14(en-us,TechNet.10).gif

  2. In the Change Calling Card dialog box, click your calling card type in the list (for example, AT&T), and then type your calling card number. Click OK.

You can also customize dialing rules by clicking the Advanced button in the Change Calling Card dialog box. The following two examples illustrate how you might use dialing rules.

If you are making a calling-card phone call from outside the United States and do not want Windows telephony applications to automatically add a "0" prefix to the number you are calling, precede the phone number with another numeric code, such as "144" in the following example.

To redefine numbers that automatically precede the phone number

  1. In the Change Calling Card dialog box, click the New button, select the name of the calling card and type the card number, and then click the Advanced button.

    Cc751104.rk25_15(en-us,TechNet.10).gif

  2. In the Dialing Rules dialog box, complete the dialing rule fields. Insert a comma to include a fixed two-second pause; use multiple commas to increase the time. Use the following codes as appropriate.

    Code

    Description

    E

    Country code

    F

    Area code

    G

    Destination local number

    H

    Calling card number

    W

    Wait for a second dial tone

    @

    Wait for a ringing tone followed by five seconds of silence

    $

    Wait for a calling card prompt tone (if your modem supports it)

    ?

    Display an on-screen prompt to the user to continue dialing

    For example, if you are using a British Telecom card, you need to precede the number you dial with 144 and complete the fields as follows.

    Option

    Type

    Calls within the same area

    144,H,G

    Long-distance calls

    144,H,0FG

    International calls

    144,H,00EFG

  3. Click OK, and then click OK again. In the My Locations properties, remove the leading zero from your area code (for example, "71" or "81" in London). Click OK.

  4. Using Phone Dialer or HyperTerminal (or another tool), store your destination number in international format with only the country code (44), area code (without the leading 0), and local number (+44(71)5551212).

    When you choose the Dial option from Phone Dialer or HyperTerminal, the tool you are using automatically expands this number to include "144" and the card number, plus the pause codes.

In another scenario, suppose your organization in the United States uses a PBX system and you need to omit the "1" prefix before the area code. Create a calling card as in the following example.

To omit the "1" prefix with a PBX system

  1. In the Change Calling Card dialog box, click New.

  2. In the Create New Calling Card dialog box, type a name for your calling card, such as "Direct Dial Through PBX." Click OK.

  3. In the Change Calling Card dialog box, click Advanced.

  4. In the Dialing Rules dialog box, complete the text boxes and then click OK.

    Option

    Type

    Calls within the same area

    G

    Long-distance calls

    FG

    International calls

    011EFG

Using Microsoft File Transfer

Microsoft File Transfer allows you to send or receive a file while talking on the phone. When you send or receive a file, Microsoft File Transfer switches the phone line to data mode and temporarily suspends voice mode. Microsoft File Transfer switches the phone line back to voice mode when it has finished sending or receiving.

Microsoft File Transfer is automatically installed when you install a modem that supports its file transfer capabilities. For more information, see the online Help for Microsoft File Transfer.

Telephony Drivers from Other Vendors

There are several ways to add telephony drivers from other vendors, if necessary. Some telephony drivers work over the network and consist of software only. If this is the case, the software can be installed through the Add/Remove Programs option in Control Panel.

Hardware drivers can be installed through the Add New Hardware option in Control Panel, unless the hardware requires its own class installer. In this case, the hardware should come with a standard Setup program to install it.

You can also use the Telephony Control Panel, available in the Win32 Software Development Kit for Windows 95 and Windows NT, to install telephony drivers from other vendors.

Note: If you previously installed the Telephony Control Panel on your Windows 3.1 system, and you upgrade to Windows 95, the Windows 95 Telephony Control Panel will be installed automatically.

Troubleshooting Communications Problems

This section describes how to solve problems with installing modems, making connections, and using applications to access the modem. Windows 95 provides a troubleshooter for modems in online Help. Try using this troubleshooter before trying the troubleshooting steps included in this section. In addition, a general modem diagnostic tool is located in the Modems option in Control Panel. It provides information about each modem and COM port that have been configured on the computer.

To use the Modems Diagnostics Tool

  1. In the Modems option in Control Panel, click the Diagnostics tab.

  2. In Diagnostics properties, click the Driver button to find out which communications driver is installed for Win16-based communications APIs. For these applications, the driver should be COMM.DRV. If a different driver is listed and you are having problems with using Win16-based applications, the driver is probably the cause.

  3. In Diagnostics properties, click the More Info button to make sure Windows 95 can communicate with the modem. Clicking this button causes Windows 95 to send commands to and read responses from the modem, and then to display information about the modem and its COM port.

    The Port Information box displays the following information:

    • The IRQ and I/O address of the modem's COM port. These should match the physical configuration of the port or modem adapter.

    • The UART type of the COM port, for example, 8250 or 16550A. Notice that 16550A UART ports can sustain faster connection speeds with fewer errors.

    • The highest port speed supported by the modem. Never set the modem's speed higher than the speed listed here.

    The Modem Information box displays the modem's responses to various AT commands that Windows 95 previously sent to it. Some modems return a response that indicates what make and model it is. This can help you select the correct modem if the Install New Modem wizard did not detect it correctly. Notice that many modems return "ERROR" for some AT commands. This means that the modem does not support that particular AT command.

The Record a Log File option in the Modems option also helps you identify modem problems by recording modem commands and responses in a MODEMLOG.TXT file as described in "Setting Modem Properties" earlier in this chapter.

Correcting Problems with Modem Installation

This section describes situations that can interfere with installation of a modem, and how to fix them.

The Install New Modem wizard detected the modem as a standard modem.

This does not indicate a problem. Rather, it means that Windows 95 was unable to detect the exact make and model of a modem. Most communications applications work correctly with the Standard Modem option, that is, connections can be made successfully using the modem's factory default settings. However, advanced control of some features, such as speaker volume, error control (for example, V.42 protocol), and compression (for example, V.42bis protocol) will be disabled in the modem's properties.

If you do not want to use the Standard Modem option, you can run the Install New Modem wizard to select a specific type of modem that is similar to the modem you are using. If you specify another, similarly named model from the same manufacturer — for example, if you configure the modem as a Practical Peripherals PM9600HC when a Practical Peripherals PM9600FX modem is actually installed — Windows 95 usually treats the models as being identical and the specified configuration will probably work well. To determine if other modem models are compatible with the one you are using, check the modem manual. Many modems are compatible with Hayes®, Microcom®, Rockwell, or U.S. Robotics models.

The Install New Modem wizard did not detect any new modems.

  • Make sure the modem does not already appear in the list of installed modems. Windows 95 will not redetect modems that are already installed.

  • Make sure no other programs are running that might be using the modem or its COM port.

  • If the modem is external, check the connection between it and your computer, and reset it by turning it off and on again.

  • If the modem is internal, make sure that its built-in COM port has been configured properly in Device Manager in the System option in Control Panel. If it does not appear, run the Add New Hardware wizard to allow Windows 95 to detect and configure it.

  • Make sure the modem's COM port is active and has a correct IRQ by checking its Resources configurations in Device Manager in the System option in Control Panel. Make sure the IRQ does not conflict with one in use by another device. For details, see Chapter 19, "Devices."

If the Install New Modem wizard still does not detect a modem, then there is probably a problem with the port, the cable, or the modem itself. Try the modem with an MS-DOS – based communications program, or with another computer, if possible.

The Install New Modem wizard does not detect a PCMCIA modem.

If the Windows 95 PCMCIA drivers are loaded, then Windows 95 should automatically detect and configure a PCMCIA modem when it is installed. Use the PCMCIA option in Control Panel to check the configuration of a PCMCIA socket driver.

If the Windows 95 PCMCIA drivers are not being used, then the modem card must be configured as a COM port before the Install New Modem wizard can detect and configure it as a modem.

To detect and configure a PCMCIA modem when Windows 95 PCMCIA drivers are not used

  1. Configure the modem according to the instructions that came with your original PCMCIA driver software.

  2. Run the Add New Hardware wizard to detect and configure the card as a COM port.

  3. Run the Install New Modem wizard to detect and configure the card as a modem.

For more information about PCMCIA devices, see Chapter 19, "Devices."

Correcting Connection Problems

This section describes basic steps for troubleshooting communications and explains specific communications errors or problems and how to correct them.

Modem will not dial or will not answer.

If your modem is not set up correctly, communications features might not function properly. The following procedures list steps in verifying the correct operation of your modem and the Windows 95 communications subsystem.

Because some communications programs designed for Windows 3.1 install incompatible driver files, which can cause COM ports and modems to stop working, start by verifying that the correct Windows 95 files are being loaded.

To verify that the required communications files are present

  1. Verify file sizes and dates of COMM.DRV and SERIAL.VXD in the SYSTEM directory against the original versions from the Windows 95 floppy disks or compact disc.

  2. Confirm that the following lines are present in SYSTEM.INI:

[boot] comm.drv=comm.drv [386enh] device=*vcd

  1. To revert to the default communications drivers for Windows 95, delete communications port entries in Device Manager.

  2. Run the Add New Hardware wizard in Control Panel to detect and install the Windows 95 drivers.

Note: Windows 95 does not load the SERIAL.VXD driver in SYSTEM.INI. Rather, Windows 95 loads it on demand by using the Registry. Also, there is no corresponding file for the *vcd entry in SYSTEM.INI. This is an internal file built into VMM32.VXD.

To verify the modem configuration by using the Modems option in Control Panel

  1. In General properties, verify that the manufacturer and model for your modem are correct. If not, you might have changed the modem and failed to reconfigure it. In this case, run the Install New Modem wizard to detect the modem and confirm it with the current Registry configuration.

  2. If your modem does not appear in the list of installed modems, click Add, and then select the appropriate modem.

  3. If the manufacturer and model are not correct and are not available from the list, try the Hayes-compatible option or the Generic Modem driver option, set to the maximum speed supported by the modem. Click OK.

  4. Try removing any other modem entries in the list to eliminate any conflicts.

To verify that the modem is enabled by using the System option in Control Panel

  1. Click the Device Manager tab, click a modem from the list, and then click Properties.

  2. Click the option named The Device Is Present, Please Use It, if this is not already selected.

To verify that the port is correct by using the Modems option in Control Panel

  1. In General properties, click a modem, and then click the Properties button.

  2. In General properties for that modem, verify that the listed port is correct. If not, select the correct port. Click OK.

To determine if a serial port's I/O address and IRQ settings are properly defined by using the System option in Control Panel

  1. Click the Device Manager tab, click Ports, and then click a specific port (such as COM2).

  2. Click the Properties button, and then click the Resources tab to display the current resource settings (IRQ, I/O) for that port. To find the correct settings, consult the modem manual.

  3. In the Resources properties, check the Conflicting Devices List to see if the modem is using resources in conflict with other devices.

  4. If the modem is in conflict with other devices, click the Change Setting button, and then click a Basic Configuration that does not cause resource conflicts.

Note: Do not try to use a modem on COM3 if there is a serial mouse or other device on COM1. Usually, COM1 and COM3 ports use the same IRQ, meaning that they cannot be used simultaneously on most computers. The COM2 and COM4 ports have the same problem. If possible, change the COM3 or COM4 port to an IRQ setting that is not in conflict. Also, some display adapters (especially S3, 8514A and ATI mach8) have an address conflict with COM4 ports. You can work around this by using another COM port or replacing your display adapter.

To check the port settings by using the Modems option in Control Panel

  1. Click a modem in the list box, and then click Properties.

  2. Click the Connection tab to check the current port settings, such as bits per second (speed), data bits, stop bits, and parity.

  3. Click the Advanced button to check error control and flow control. If you are using Win16-based applications, turn off these advanced features.

  4. Verify the UART type.

    Data transmission problems can occur if a speed greater than 9600 is selected on a slower 80386-based computer not equipped with a 16550 UART, or when performing other tasks during a file download. If problems or errors occur during transmission, try lowering the speed. Attempting to use speed greater than 9600 on computers equipped with 8250 or 16450 UARTs will probably result in dropped characters.

To check the modem speed by using the Modems option in Control Panel

  1. Click a modem in the list box, and click the Properties button.

  2. In the General properties, check the speed to make sure it isn't set too high for either the modem or computer. Lower speeds might work, especially when using an older, slower computer.

  3. Click the option named Only Connect At This Speed if it is not already selected.

Tip To optimize communications performance, you can set the speed higher if your computer has an 80486 or a Pentium processor.

To disable hardware flow control if your modem cable doesn't support it

  1. In the Modems option in Control Panel, click a modem in the list box, and then click the Properties button.

  2. Click the Connection tab, and then click the Advanced button.

  3. If a check appears in the Use Flow Control check box, click the box to clear it.

To remove VxDs from other vendors that might be interfering with modem operation

  • Search for and comment out (type a semicolon as the first character of the line) any related entries in the SYSTEM.INI file. When commenting out a line in SYSTEM.INI, it is useful to add a comment line denoting this.

The initialization (dialing) string is improper for the modem.

If the modem will not pick up the line and dial, it might be due to an improper initialization string. Typically, the manufacturer's recommended dial command string is loaded from the corresponding modem INF file; however, if your modem driver was not available and you selected a compatible modem, the dial command string might not work correctly. Try using the modem types, and retest the modem dialing the selected number.

The modem repeatedly drops the connection.

  • Check for a bad or loose serial cable to the modem. If all connections are tight, test for a faulty cable by replacing it with a working cable, and retest the modem communications.

  • Check the connection between the RJ-11 phone outlet and the modem. Verify that the connection is firmly plugged in and well connected.

  • Try using a different phone line. If you have ruled out other factors, consistent modem errors might be due to problems in the telephone line used for communication.

  • Disable call waiting, if it is in use. The call waiting feature can interfere with remote connections and file transfers. If you use this feature regularly, disable it only temporarily (during the time the modem is in use).

  • Check communications with the host computer. The communications problems might be due to the host computer not connecting or repeatedly dropping the line.

  • Try using a lower speed in the modem properties in the Modems option in Control Panel.

The COM ports remain in Device Manager after the modem is removed.

After installing an internal modem and assigning it to a COM port that does not physically exist on your computer, the port appears in the Device Manager. After removing this adapter, you might also need to manually remove the port in Device Manager as described in Chapter 19, "Devices."

You are unable to dial international calls.

Windows 95 allows you to set specific modem properties that assist you when making international calls over your modem. You set these properties in Dial-Up Networking, Dialing Properties, and in the modem properties.

To check location and calling card settings

  1. In Phone Dialer, click Tools, and click Dialing Properties.

  2. In the My Locations properties, verify that your calling location and calling card settings are correct.

To disable dial-tone detection if your modem fails to detect a dial tone

  • In the Modems option in Control Panel, click the Connection tab, and click to clear the check box next to the Use Dial Tone option.

To increase the time between dialing if connections are taking a long time

  • In the Modems in Control Panel, click the Connection tab, and then increase the number of seconds in the Cancel the Call If Not Connected Within option.

To manually control modem dialing

  • See "Dialing Manually" earlier in this chapter.

To display a terminal window to type AT commands before or after dialing

  • See "Displaying the Terminal Window" earlier in this chapter.

Correcting Modem Access Problems with Applications

You cannot send or receive binary files by using HyperTerminal.

  • Make sure that both computers are using the same file transfer protocol (that is, Xmodem, 1K Xmodem, Ymodem, Ymodem-G, Zmodem, or Kermit).

  • If you are using the Ymodem-G file transfer protocol, ensure that your modem supports hardware error control. If it doesn't, try using Ymodem instead.

  • If you are trying to use an alternative protocol (such as Kermit) and you encounter transmission errors, try Xmodem instead. Most communications packages, bulletin boards, and online services support Xmodem.

You cannot dial with Phone Dialer.

  • In the Dialing Properties dialog box, make sure your area code and country code are correct.

  • For each access number you want to use for calling out, specify, at a minimum, the country code, area code, and telephone number.

  • Verify basic modem and port configurations.

Win16-based applications cannot access the modem, but MS-DOS – based or Windows 95-based applications can.

Make sure the communications driver for Windows 3.1-based applications is COMM.DRV in the SYSTEM.INI file. Some applications replace this driver for various reasons.

MS-DOS – based applications cannot access the modem (especially PCMCIA modems), but all Windows-based applications can.

  • If possible, adjust the IRQ setting in the MS-DOS – based application according to the application's documentation.

  • If the MS-DOS – based application's IRQ settings cannot be adjusted, adjust the IRQ settings for the modem COM port as described earlier in this section.

MS-DOS – based and Windows 3.1-based applications cannot access the modem, but applications created for Windows 95 can.

Make sure that Microsoft Exchange Remote Mail, Microsoft Fax, and Dial-Up Networking are not waiting for incoming calls. If they are, older applications cannot access the modem.

Errors occur during MS-DOS – based applications communications sessions, especially file transfers.

Increase the COMxBuffer setting in [386enh] section of SYSTEM.INI. The default value is 128 bytes.