1. Brekeke Product Name and Version: Brekeke SIP Server, Version 3.7.7.3, Evaluation
2. Java version: 1.8.0_111
3. OS type and the version: 14.04.1-Ubuntu
4. UA (phone), gateway or other hardware/software involved:
Ciscosx20
5. Your problem:
I am using Brekeke SIP server and configured third party database(mysql 5.5.57) to keep the user/alias/registered records. I also wrote a sample authentication plugin (SampleUserDir) as directed in the document http://www.brekeke.com/doc/sip/sip_auth ... plugin.pdf and followed the steps to run the plugin.
But I could not find any log which describes that the plugin is running.
Please let me know how to start / initiate the plugin. Or, how to call its functions.
Thanks in advance.
How to run Authentication plugin
Moderator: Brekeke Support Team
For outputting log about Authentication, enable [Authentication/Radius] at [Diagnostics]->[Debug Logs] page.
If the plugin is loaded successfully, the following log line will be shown.
auth: plugin=ClassName : loaded
If there are any issues with loading, the log line will be like this.
auth: plugin=ClassName : loading failed: Error message
If the plugin is loaded successfully, the following log line will be shown.
auth: plugin=ClassName : loaded
If there are any issues with loading, the log line will be like this.
auth: plugin=ClassName : loading failed: Error message
Thanks for the reply,
I could see the following module loaded as auth plugin
registrar: start
registrar: cache: alloc-size=2000
registrar: plugin=com.brekeke.sipadmin.plugins.RegisteredSqlDB : loaded
registrar: keepaliver=com.brekeke.net.sip.sv.registrar.keepalive.KeepAliverDatabase : loaded
registrar: multiple domains: off
registrar: recovered: 0 record(s).
auth: start:
sqlud: start
auth: plugin=com.brekeke.sipadmin.plugins.SqlUserDir : loaded
auth: multiple domains: off
auth: forced register: off
blockmgr: env : use default setting
sv: start-code=0
Dispatcher.1: Start
I could see the following module loaded as auth plugin
registrar: start
registrar: cache: alloc-size=2000
registrar: plugin=com.brekeke.sipadmin.plugins.RegisteredSqlDB : loaded
registrar: keepaliver=com.brekeke.net.sip.sv.registrar.keepalive.KeepAliverDatabase : loaded
registrar: multiple domains: off
registrar: recovered: 0 record(s).
auth: start:
sqlud: start
auth: plugin=com.brekeke.sipadmin.plugins.SqlUserDir : loaded
auth: multiple domains: off
auth: forced register: off
blockmgr: env : use default setting
sv: start-code=0
Dispatcher.1: Start