Version

SimpleSipServlet

This is a SIP servlet designed to handle basic SIP message types, particularly the OPTIONS method. It logs activity and demonstrates how to work with the SIP Servlet API. It also implements error-handling interfaces to observe and report on issues such as missing ACK or PRACK messages. Which is helpful example for development.

License and Package Declaration

/*
 * This is free software; you can redistribute it and/or modify it
 * under the terms of the GNU Lesser General Public License as
 * published by the Free Software Foundation; either version 2.1 of
 * the License, or (at your option) any later version.
 *
 * This software is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
 * Lesser General Public License for more details.
 */
package org.restcomm.servlet.sip.example;

The servlet is part of the org.restcomm.servlet.sip.example package. It's licensed under the LGPL, which allows modification and redistribution with minimal restrictions.

Sign in to read the full article