X.32 Dial-up Facility1. Overview - V.25 bis, a synchronous dialing protocol defined The details of dial-up operation are invisible to users, except for some delay setting up the first X.25 Switched Virtual Circuit to the remote. Once set up, the use of Netcom II is the same for both dial-up and direct connect X.25 access. With release 4.4.3, dialup support is available on the Link #1 port of the following platforms:
The SGX also supports V.25bis dialing on link #0. 2. Modem Requirements Whenever Netcom is using a dialup modem, it assumes that the external modem provides clocks on EIA signals TxClk and RxClk (pins 15 & 17). If these clocks are not present after the telephone call gets established, Netcom will never be able to transmit the control frames which bring the HDLC link (Level II of X.25) up. For asynchronous dialing, you need to configure the modem so that it presents results as english text, rather than as numeric result codes, as Netcom uses result codes under certain circumstances (by redialing a busy number, for example). In addition, before it tries to send the dial string, it goes through a process of sending 3. Parameter Setup There are three parameters which affect dialup operation: modemid 3.1 modemid Valid values for modemid are:
When you are using the AT command set, you use the speed parameter of Netcom's link parameters file to specify the speed at which you need the asynchronous interaction to take place. For other types of dialer (DTR and V.25 bis, speed should be 0. 3.2 DXEsupport To use T.70, set the DXEsupport parameter to 1. The default value is 0. Most environments do not implement the T.70 algorithm, so it's safe to use the default value unless explicitly directed not to. 3.3 dial_defn 3.3.1 CCITT V.25bis Netcom II can interoperate with any modem which conforms to the CCITT V.25bis standard for modem dialing and control. Use the following link initialization file line to select this protocol: To select the telephone number, you define it in the dial_defn structure of the link initialization file: for example, to dial the number 555-1111 with 2 retry attempts and a 30 second delay between retries.
The telephone number must be all digits, and may be up to 80 characters long. Some V.25bis modems allow selection of tone or pulse dialing by preceding the telephone number with a code indicating how to dial: 3.3.2 Hayes AT command set Netcom II can interoperate with any modem which uses the Hayes-AT command set and is capable through software commands to switch between asynchronous and synchronous mode. Use the following link initialization file line to select this protocol: To select the telephone number, you define it as the dial_string parameter of the link initialization file:
for example,
The above example will dial the number 5550001 and wait for the modem to return a string containing the word CONNECT. No go sync command was necessary since, in this case, the modem is automatically configured synchronously. This dial_string string includes modem specific commands to place the modem into synchronous mode after connection. The "\015" is the octal representation of "CR", which is normally required to terminate a command line sent to an AT dial modem. The init_string is used by Netcom II to initially configure the asynchronous modem, each time the board is loaded on reboot or when fld is run from the command line. The init_string is not sent each time the modem is dialed. The connect string is used by Netcom II to determine that a connection was successful. If a particular baud rate is desired the connect string could be used to check it. The go sync command is used by modems that do not support an automatic facility to switch from asynchronous to synchronous mode. This field should be filled with modem commands that will force the modem into a synchronous configuration. Since the dialing portion of the call is made in asynchronous mode, the link configuration file must contain a speed parameter. This is not the link speed but rather the speed required by the modem for dialing purposes. Refer to the modem manual. 3.3.3 DTR high dialing No dial string is necessary in this mode. The modem needs to be pre-set prior to being connected to Netcom II to dial the desired phone number when DTR goes through a low to high transition. Use the following link initialization file line to select this protocol: Although the number to be dialed is programmed in the modem, a dial_defn is still required (similar to V.25bis). Also, a speed parameter must be included in the link configuration file (as per Hayes AT). 3.3.4 Establishing a Connection Netcom II only establishes a dialup link to a remote (usually a public packet-switched data network providing X.32 services) when a user process attempts to make a virtual circuit connection (tries to make a call). If there's no telephone connection with the remote, the X.25 software stores the request and tries to make the telephone connection to the remote. Netcom starts the HDLC protocol after the telephone connection, then sends the X.25 Call Request packet to the remote. For V.25bis and Hayes-AT dial modes, Netcom II will allow for alternate numbers to be dialed during dial failures. Alternate dial_defn's should be entered in the order of desired execution in the link configuration file. At most 20 dial_defn's can be configured per link. When CTS is stuck low or the modem could not detect a dialtone, alternate dial_defn's will not be attempted or a number will not be retried. For example,
The above example will attempt to dial the number 5550001 a maximum of two times and then if necessary attempt to dial 5550002. Once all dial_defn's have been attempted without success the diagnostic 0x9e is returned. Each new dial attempt will begin using the first dial_defn. In the case of the Hayes-AT dial mode, Netcom II will initially communicate with the modem in the asynchronous mode of operation. Once the modem connection has been established Netcom II will switch the modem into the synchronous mode. Note that the modem needs to be configured to power on in the asynchronous mode. If for any reason the modem connection is dropped, Netcom II will place the modem back into the asynchronous mode. There are two EIA modem signals that have special meaning for dialup connections, CTS and DSR. Most modems have configuration options for these two signals. Some typical settings for CTS is "Force high", "Dependent on interface" or "Follow RTS". CTS should typically be configured to
follow RTS (request to send) which is forced high by Netcom II. Netcom II will not attempt to dial the modem until CTS is high, a typical error return being: DSR needs to be configured to be high only when the modem connection is established, thus Force high is not a valid setting for DSR. If DSR is always high Netcom II will assume the modem connection is established and not attempt to dial the call. If DSR does not go high once the modem connection is established Netcom II will assume the call failed and report the following error. 3.4 Avoiding Premature Disconnection To change the length of time that Netcom will wait before clearing a call, set: 3.5 References |