Overview

Like in Jetty, all Cipango jars are packaged with file manifests that include appropriate OSGi bundle information. This means that you can import the Cipango jars into an OSGi framework.

The module cipango-osgi/osgi-sipservice expose an OSGi SIP service API :

Compilation

By default, cipango-osgi modules are not compiled.

cd cipango-osgi
mvn install

Installation in felix

Felix is an OSGi framework and can be downloaded here .

Copy in ${felix.home}/bundles the following jars:

Demonstration

The module cipango-osgi/test-cipango-osgi show a basic use of the SIP OSGi service. When this service is available, it register 4 servlets (similar as the ones in extra/load-sipapp module.

This module can be compiled and installed with the following commands:

cd cipango-osgi/test-cipango-osgi
mvn install
cp target/test-cipango-osgi-2.1-SNAPSHOT.jar ${felix.home}/bundles
cd ${felix.home}
java -jar bin/felix.jar

Then is could be tested with SIPp scripts in extra/load-sipapp/src/test/sipp

Note: The cipango-osgi/test-cipango-osgi module is also used for integration tests.