In order to add 3rd party service and a new role definition you need to drop in the service plug-in in sipXconfig jar directory.http://track.sipfoundry.org/browse/XX-2115
Service plug-in is similar to phone plug-in: but instead of new phone you describe a new service (SipxService) and optionally a new bundle
(SipxServiceBundle). You can have a single plugin adding multiple services (check service.beans.xml and bundle.beans.xml for example defintions).
Defining new service
Example: Openfire Service
Step 1. Create project directory
sipXconfig/plugins directory: create a new project. For example:
Step 2. Create package
Create a new package. For example:
Step 3. Create implementation.
Inside the package:
Create the service java class. It must extend
org.sipfoundry.sipxconfig.service.SipxService otherwise system will not recognize your class as a possible service.
Step 4. Create plugin manifest
Create the xml spring configuration file: sipxplugins.beans.xml located in the root of your source tree
Any other Spring beans that perform any kind of functionality should be added here.
Step 5. Create service start/stop script
Create a corresponding process.xml file that should be added on the sipX installation directory in process.d directory (near the other process.xml files): sipxopenfire-process.xml
Be sure that
<property name="processName" value="SipXopenfire" /> in
<name>SipXopenfire</name> in your service start/stop script.
Step 6. Packaging
Update appropriate Makefile, and rpm spec file to build and install your plugin.