Brekeke PBX Wiki

Audio File Plug-in Installation

Put your class into a classpath

Place your compiled class file in exact directory structure of package name under the directory:

<Brekeke PBX install_directory> /webapps/pbx/WEB-INF/classes

For example:

class name = YourClass, package name = com.yourdomain

Place “YourClass.class” under the directory:

<Brekeke PBX install_directory> /webapps/pbx/WEB-INF/classes/com/yourdomain

or compress your class file into a jar file and place the jar file into

<Brekeke PBX install directory>/webapps/pbx/WEB-INF/lib

 

 

Set your class name in the property file

 

Use your class for all PBX users

From Brekeke PBX Admintool > [Options] > [Advanced], add the following property

com.brekeke.pbx.Setting.RECORDING_PLUGIN

After restarting the Brekeke PBX, this change will take effect.

Example:

 com.brekeke.pbx.Setting.RECORDING_PLUGIN = yourpackage.YourRecordingPlugin

 

Use your class for a specific user

Open the specific user.properties file with text editor. Set the property “media.recording.plugin” with your class name including the package name. Save the file. In this case, restarting Brekeke PBX is not necessary.

Each user’s user.properties file is at

<Brekeke PBX install directory>/webapps/pbx/WEB-INF/work/pbx/users/<userID>/

Example:

media.recording.plugin = yourpackage.YourRecordingPlugin

 

Yes No
Suggest Edit