Share via


Command Line Parameters for the Telephony API Client Test

Other versions of this page are also available for the following:

Windows Mobile Not SupportedWindows Embedded CE Supported

8/27/2008

The TAPI Client Test executes the tux –o –d tapiclient –c "-d0 -pT9,5551212 -nl" command line on default execution. You can modify the test by editing the command line. For information about how to edit the command line for a test, see Editing the Command-Line for a Test. The following table shows the command line parameters for the Telephony API Client Test.

Command line parameter Description

-l

Lists all TAPI devices and then exit without making any calls.

-n number_of_calls

Sets the number of calls to be made.

The default value for number of calls is 1.

-p phone_number

Sets the telephone number to be dialed.

The default value is set to NULL. You can specify a phone number using any one of the following formats:

  • Begin the phone number with a plus (+). This format instructs the test to read the number in canonical format — country/region code followed by area code followed by local number — and then translate the number according to TAPI dialing rules for the current location. An example of this format is -p "+1(111)111-1111".
  • Begin the phone number with a pound sign (#). This format instructs the test to set the phone number to NULL. This setting is acceptable is some scenarios, for example when testing a null modem.

Begin the phone number with any character other than a plus (+) or pound sign (#). This format instructs the test to dial the number directly. You should precede a phone number to be dialed with a P for pulse or T for tone dialing plus any digits that may be required to access an outside line. An example of this format is -pT9,111-1111.

-d device_identifier

Specifies the device identifier of the line to be tested. You can obtain a list of device identifiers by using the –l parameter.

The default value for the device identifier is 0, which corresponds to the external modem on most Windows Embedded CE run-time images.

-td seconds

Sets the dialing timeout, in seconds. A call disconnects if it does not complete in the specified number of seconds.

The default value for dialing timeout is 30 seconds.

-tc seconds

Sets the connection delay in seconds. The test waits for the specified number of seconds after a call completes prior to disconnecting the call.

The default value for connection delay is 10 seconds.

-th seconds

Sets the hang-up command timeout interval in seconds. The test waits for the specified number of seconds prior to discontinuing a hang-up attempt.

The default value is 5 seconds.

-tw seconds

Sets the deallocation delay interval in seconds. The test waits for the specified number of seconds after a call is disconnected prior to deallocating the call handle.

The default value is 1 second.

-e

Display the following dialog boxes, with which you can configure the device and edit the current location:

  • Device Properties, with which you can change the baud and other parameters for the TAPI device.
  • Dialing Properties, with which you can change the location and other parameters that affect address translation.

-h

Displays information about the test.

See Also

Concepts

Telephony API Client Test