Brekeke SIP Server Wiki

1. How To Creat Accounting Plug-Ins

Extend the class AccountingBase for making your own accounting plug-in.
This class is in the package com.brekeke.net.sip.sv.session.plug-ins.
It is an empty class that extends the class InviteSession.

 

The class hierarchy is as follows:

SIPex   // Thread class for each session
  |
  +--- SessionPlugin   // Base class for Session Plug-in
         |
         +--- InviteSession    // Session Plug-in for INVITE
                |
                +--- AccountingBase   // Base class for Accounting Session Plug-in
                       |
                       +--- Your Class for making your own accounting plug-in

 

Please import the following:

import com.brekeke.net.sip.sv.session.* ;
import com.brekeke.net.sip.sv.session.plugins.* ;

 

For building your program, please include
<sip_server_install_dir>\webapps\sip\WEB-INF\lib\ondosip.jar
in the classpath.

 

Yes No
Suggest Edit