SIP Servlet Engine© Documentations
 
  Top >   Overview >   Samples and Tutorial
 
 

Samples and Tutorial

SIP Servlet Engine provides the following demo applications, tools, and so on you can use as soon as the installation has completed. For details, see the page related to each application.

Demo Applications

SIP Servlet Engine provides the following two demo applications with their source code. Make good use of them to understand the SIP Servlet Engine functions.

sip-demo
The sip-demo is the application demo site which uses HTTP and SIP. In this site which is designed to demonstrate how to operate the application with SIP servlets, you can try the following functions.
    • Click2Dial through 3PCC
    • Checking the state of terminals through presence management
    • Voice mail
    • Chat room
sip-admin
The sip-admin is the application which can manage users on SIP Servlet Engine and demonstrate how to use the following SPI.
    • User Management: Registering and removing users
    • Location Management: Checking the state of terminals
    • Presence ACL Management: Editing the ACL (access control list) used to expose presence information

Samples and Tutorial

SIP Servlet Engine provides the following samples and tutorial for application developers.

EchoServlet Tutorial
This tutorial describes how to create a simple chat application according to the following steps.
    • How to set the application development environment
    • How to build using the Ant
    • How to configure the DD files (sip.xml, web.xml)
    • How to deploy the application
Click2dial Sample
This sample shows how to add the Click2Dial function to a Web application. Struts is used in this Web application framework.
Chat Sending Sample
This sample shows how to send an instant message from a Web screen. This sample uses the SIP Servlet class and the Struts Action class that work together.

Development Tools

SIP Servlet Engine provides the following SIP servlets as development tools to make application development easier. Use them if you can not prepare an SIP proxy server, etc. in your development environment.

ProxyServlet
The SIP servlet that works as an SIP proxy server.
RegistrarServlet
The SIP servlet that works as a registration server (registrar).
PresenceServlet
The SIP servlet that works as a SIMPLE-compliant presence server.
RecorderServlet
The SIP servlet that communicates with Softphone using JMF (Java Media Framework) and contains voice information as a file.
No source code comes with these development tools.

Last Modified:Tue Dec 28 15:04:49 JST 2004