This example, described in detail in the SIP Servlet Tutorial, is an updated version of the example described in SipClickToDialExample2. The source code is available here.