Get started

basic guide to make a plug-in.

Download plug-in library

Common libraryLatest version 4.2.0
Support IAdminWebPlugin2(Server 6.3.1~)
Down
Common libraryLatest version 4.1.0
Support IAdminWebPlugin(Server 6.3.0~)
Down
Common libraryLatest version 4.0.1
Support IPTTPlugin4(Server 6.0.2~)
Support IPublicGWPlugin(Server 6.1.1~)
Down
Common libraryLatest version 3.0.0
Support IVideoPlugin3(Server 5.1.0~)
Down
Common libraryLatest version 2.1.0
Support IVideoPlugin2(Server 5.0.2~)
 
Common libraryLatest version 2.0.0
Support IPTTPlugin2(Server 3.3.0~)
 
Common libraryLatest version 1.0.0 

Write plug-in codes

PTTPlugin3Sample.java

* You can find the full source at samples.

Compile

javac -classpath ProPTTCommon.jar PTTPlugin3Sample.java

Make a jar

jar cvf PTTPlugin3Sample.jar PTTPlugin3Sample.class

Install PTT plug-in

Copy PTTPlugin3Sample.jar to server's plugins folder

copy plug-in.jar {ProPTT2 server dir}/ptt-server/plugins

ex) copy PTTPlugin3Sample.jar /svc/std-package/ptt-server/plugins

Change system.xml of server

system.xml

Restart server

When server is restarted, the plug-in is loaded.

Install AdminWeb plug-in

Copy AdminWebPluginSample.jar to adminWeb's plugins folder

copy plug-in.jar {ProPTT2 server dir}/web-services

ex) copy PTTPlugin3Sample.jar /svc/std-package/web-service

Change plugin.properties in web-service of adminWeb

plugin.propertiesl

Restart adminWeb

When adminWeb is restarted, the plug-in is loaded.