Call Forwarding Sample setup

Enter the short description of the sample setup.

Before you begin

  • Import the sample.
  • Install WebSphere® Application Server v8.5 and create a profile.
  • A SIP user agent server (UAS).
  • Two SIP user agent clients (UAC).

Procedure

  1. Create and Deploy an Enterprise Application Project (EAR)
    1. In the workbench click File > New > Enterprise Application Project.
    2. In the Project Name field type: CallForwardingEAR, and click Next.
    3. Under Java EE module dependencies, select CallForwardingSample, and click Finish.
    4. Open the Servers view: Window > Show View > Servers.
    5. Right-click your WebSphere® Application Server v8.5, and click Add and Remove.
    6. Select CallBlockingEAR, click Add, and click Finish.
    7. In the Servers view, right-click the server and click Start.
  2. Run the Sample
    1. In the Enterprise Explorer view, expand CallForwardingSample > CallForwardingSample > Servlets.
    2. Right-click AppConfigHTTP and select Run as > Run On Server, and click Finish. The browser displays this page: Call Forwarding HTTP Page.
    3. In the Call Forwarding Sample configuration web page, enter the IP, port and service of your SIP UAS that is going to receive the call in the Public SIP address field. Example: Callee sip:sipp-uas@[WAS_IP]:[SIP_APP_PORT].
    4. In the Forwarding SIP address field set the IP, port which the call is going to be forwarded. Example: Caller sip:sipp-uas@[UAC_IP]:5061, and click Submit.
    5. The web page is updated, displaying: Call Forwarding HTTP Page - 2.
    6. Prepare the UAS.
    7. Start the UAC.

Results

In the Console view, the traces for WebSphere® Application Server displays the details of the forwarding process: WebSphere Console results.

What to do next

For more information about SIP Tools, see Rational Application Developer for WebSphere Software V8 Programming Guide

Feedback