Projects / SipUnit


SipUnit provides a class library that allows software developers to create automated unit tests for SIP applications. Session Initiation Protocol (SIP) is widely used for providing telephone services over the Internet. SipUnit extends the JUnit framework to incorporate SIP-specific assertions, and it provides a high-level API for performing the SIP operations needed to interact with or invoke a test target. A test program using the SipUnit API is written in Java and acts as a network element that sends/receives SIP requests and responses.


Last announcement

SipUnit Gets New Life and Leadership 25 Jun 2012 05:37

June 24, 2012, Raleigh, NC. We are pleased to announce that SipUnit leadership is changing hands - from to TeleStax, Inc. ( The project will be led by George Vagenas, a longtime contributor and core team member to Mobicents and TeleStax, who is already leading the CDI Telco Framework and SIP Servlets Arquillian extension projects. The SipUnit source code and documentation will soon be moved accordingly. SipUnit provides a test environment geared toward unit testing SIP applications. It extends the JUnit test framework to incorporate SIP-specific assertions, and it provides a high-level API for performing the SIP operations and messaging needed to interact with the application or network element under test. It has been widely adopted as a test tool by SIP developers. If you have any questions about the SipUnit project, please refer to the SipUnit link on the TeleStax project page ( or send an email to -- CafeSip Team.

Recent releases

  •  25 Jun 2012 04:38

    Release Notes: This is a stable release with technology updates, new functionality and extensive testing performed. MESSAGE handling has been added. JUnit 4 support was added with static assertions in new SipAssert class. SipUnit is now Mavenized. Convenience methods were added. TLS support has been verified. The JAIN SIP stack was updated.

    •  06 Sep 2009 11:59

      Release Notes: REFER support was added. The JAIN-SIP stack and JUnit libraries were updated. Feature enhancements and bugfixes were made.

      •  28 Jul 2008 00:35

        Release Notes: Support has been added for CANCEL handling. There are bugfixes and improvements. The underlying JAIN SIP stack has been updated to revision 1.2.72.

        •  10 Dec 2006 15:06

          Release Notes: Support was added to the SipPhone and SipSession classes for running SipUnit tests from behind a NAT and communicating with a SIP server on the Internet. A STUN example test was included. An enhancement that allows more flexible multiple SIP stack creation was incorporated.

          •  25 Oct 2006 06:30

            Release Notes: High level class methods were enhanced to allow complete control over outbound request/response content by incorporating additional method signatures that take body/header parameters. The final release (version 1.2) of the SIP stack reference implementation published by National Institute of Standards and Technology (NIST) was incorporated. Miscellaneous bugs were fixed.


            Project Spotlight


            A Fluent OpenStack client API for Java.


            Project Spotlight

            TurnKey TWiki Appliance

            A TWiki appliance that is easy to use and lightweight.