Enter the following command to start tcapdemo as a client:
tcapdemo -b 2 -p 1 -j 100 -n 254 1.1.1:255 8001234567
In this case, tcapdemo binds to TX board 2, uses SAP ID one, and uses subsystem number 254. Because the -s parameter is not specified, tcapdemo acts as a client.
If binding is successful, tcapdemo receives a run state indication event from the TCAP task. tcapdemo uses the information it receives to determine its run status. The run status must be one of the following:
|
Run status |
Description |
|
Standalone or primary |
tcapdemo sends an 800 number request to the specified pointcode and subsystem specified. |
|
Backup |
tcapdemo stops working as a client and waits for another run state indication event. |
After sending the 800 number request, tcapdemo waits for a response.
After a response is received, tcapdemo continues to run, but no further requests are sent. To stop the client, press Q.