Build a SIP solution for internet phones with OnDO SIP

Background

Now, there is more and more VoIP system in the world. OnDO SIP (Brekeke) proxy is an open sourced VoIP solution.

Network Architecture

In SIP network, SIP phone is the users.

OnDO SIP proxy is server for SIP users.

RADIUS server is connected to SIP proxy via LAN.

SIP phones

Now, there are many kinds of SIP phones in the world, they can be phone or a pure software on the PC.

Users shall configure their SIP phones with username/password and server to OnDO SIP proxy.

OnDO SIP proxy

OnDO SIP proxy shall install Server plug-in (authentication plug-in, accounting plug-in) for RADIUS server.

What you shall do is just following the installation guide of these plug-ins.

Because OnDO SIP proxy process prepaid info in accounting phase (AccountingBase class), you may have to add some lines such as ra.setScheduleTerminate(expire) to AcctRequest class of accounting  plug-in. Now, you can download the customized accounting  plug-in from here.

Radius server

PowerRadius (provided by www.new-saga.com) can support OnDO SIP proxy. You shall add users and rules into PowerRadius.

Though OnDO SIP proxy process prepaid info in an abnormal way, fortunately, PowerRadius has supported this feature already -- sending expire value in accounting phase.