The following command line options are accepted by tcapdemo. Options can be entered in any order. At the command line, enter the following command:
tcapdemo [options] pointcode:subsystem phonenum
where options include:
|
Option |
Default |
Description |
|
-b boardNum |
1 |
TX board number. |
|
-p sapno |
0 |
Service access point ID. Valid range is 0 - 255. |
|
-da address |
Loopback |
Internet address of mate application in dotted decimal format. |
|
-dn name |
|
Host on which mate application is running. |
|
-dp port |
4096 |
UDP port number of mate application. |
|
-lp port |
4096 |
UDP port number for this application instance. |
|
-n number |
254 |
Subsystem number to be used. Valid range is 0 - 255. |
|
-i iterations |
1 |
Number of times transaction is repeated. Valid range is 0 - 32000. |
|
-j delay |
1 |
Delay (in ms) between repetitions. Valid range is 1 - 65536. |
|
-t |
|
Uses ITU addressing. The tcapdemo program defaults to ANSI. |
|
-s |
|
Causes tcapdemo to act as an 800 number server. The tcapdemo program acts as a client by default. |
The pointcode:subsystem parameter specifies the pointcode and subsystem number of the 800 number server. The phonenum parameter specifies the 800 number to be translated (only used by clients). Both parameters are used only by clients.
Note: If multiple instances of tcapdemo are bound to the same TX board, the SAP ID (-s parameter) and the subsystem number (-n parameter) must be unique for each instance.