Quick start: ---------------------- 1) Supposed that kamailio home folder is '/opt/kamailio' (I'll use a term '') 2) mkdir /java (I'll use a term ) 3) copy kamailio.jar to 4) copy Kamailio.class to 5) add to kamailio configuration file: loadmodule "app_java.so" modparam("app_java", "class_name", "Kamailio") modparam("app_java", "child_init_method", "child_init") modparam("app_java", "java_options", "-Djava.compiler=NONE -Djava.class.path=/lib/kamailio/modules::/kamailio.jar -verbose:gc,jni") # This parameter forces execution a kamailio comnmand with java native method KamExec. # Note: this is an untested feature, may cause (but may not) a memory leaks if used from embedded languages. modparam("app_java", "force_cmd_exec", 1); Rebulding java stuff: ---------------------- For re-building kamailio.jar see: BUILD_JAR.TXT