Corporation Server User Manual

Testing an Application
Building a SIP Servlet Application 5-9
Testing a Third Party Call Control Servlet
To test an application, open a Web browser and navigate to the URL of the application
on the OCMS server.
For example, to test the Third Party Call Control servlet perform the following steps:
1. Navigate to the following URL http://localhost:8888/tpcc (Figure 5–4).
2. Enter two SIP addresses.
If you have a PSTN Gateway, you can call a PSTN telephone, by entering the full
number with the PSTN gateway address. For example,
sip:16505555555@<ip-address-of-gateway>
3. Click Connect.
The call is connected. Invitation 1 (the invitation to the first address/number) is
sent first. Invitation 2 is sent after a short delay. Verify that the communication is
successfully established.
Figure 5–4 Using Click-to-Call (Third-Party Call Control)
Note: Even if a SIP servlet fails to startup the server will display that
it is started. You must view the log file to verify whether the SIP
servlet deployed successfully.