Brekeke Forum Index » Brekeke SIP Server Forum

Post new topic   Reply to topic
Billing Issue.
Author Message
kennedy joseph
Brekeke Member


Joined: 24 Aug 2010
Posts: 16

PostPosted: Sat Nov 27, 2010 10:27 am    Post subject: Billing Issue. Reply with quote

1. Brekeke Product Name and version:2.3..7.7

2. Java version:5

3. OS type and the version:win 2003

4. UA (phone), gateway or other hardware/software involved:RadiusCat,IvrCat.

5. Select your network pattern from http://www.brekeke-sip.com/bbs/network/networkpatterns.html :

6. Your problem: DID calls that are forwarded through the pbx are not billied.

I've installed the Radius Authentication plug in and followed all the listed instruction by Brekeke but still can't get calls that are forwarded to a PSTN number to bill.

I have no issue with Sip calls but just forwarded calls.

I'll appreciate if someone could clue me in.Here's the recommended instruction from Brekeke that I've applied:

1)Place the file radius-sip-auth.jar into the following directory
Brekeke_install_dir\webapps\proxy\WEB-INF\lib

2)Set parameters in the property file sv.properties.
The file is in
Brekeke_install_dir\webapps\proxy (or pbx)\WEB-INF\work\sv\sv.properties

Add the following lines.


radius.authport = 1812
radius.acctport = 1813
radius.radiushost = Put_radius_server_IP_address
radius.sharedsecret = Put_shared_secret
net.usrdir.plugins=com.sample.radius.proxy.RadiusAuth
Back to top
View user's profile
hope
Brekeke Master Guru


Joined: 15 Jan 2008
Posts: 862

PostPosted: Mon Nov 29, 2010 2:07 pm    Post subject: Reply with quote

did you use the radius for the call from dial plan?
Dial Plan
Add the following Dial Plan at the Admintool:
Matching Patterns
$request = ^INVITE
Deploy Patterns
$session = com.sample.radius.proxy.RadiusAcct
$continue = true

http://www.brekeke.com/support/radiuscat/support_radiuscat.php
Back to top
View user's profile
taitan
Brekeke Master Guru


Joined: 15 Mar 2008
Posts: 237

PostPosted: Mon Nov 29, 2010 6:33 pm    Post subject: Reply with quote

It seems you installed the Authentication plug-in instead of Billing (Accounting) plug-in..
is it OK??
Back to top
View user's profile
kennedy joseph
Brekeke Member


Joined: 24 Aug 2010
Posts: 16

PostPosted: Mon Nov 29, 2010 7:51 pm    Post subject: Reply with quote

Hope thanks for your response.To answer your question,

Yes I used the radius for the call from dial plan?

I also added the following Dial Plan to the Admintool:
Matching Patterns
$request = ^INVITE
Deploy Patterns
$session = com.sample.radius.proxy.RadiusAcct
$continue = true

I also tried the "CDRlog plug-in" below:

Matching Patterns
$request = ^INVITE
$geturi( To ) = @host
Deploy Patterns
$session = com.user.CDRlog

Since my original dial plan is:
Matching Patterns
$request = ^INVITE
$geturi( To ) = sip:My_DID_number@
Deploy Patterns
$auth = false
To = sip:Pbx_user@localhost:15060
$session = com.user.CDRlog
$contine = false

But non of the above dial plans is able to bill the user account.

The problem is that RadiusCat seems not to understand what I want it to do which is to bill the sip/pbx user account.

As I don't understand the dial plan much,I wonder if there's a way to manipulate the "From" and "To" to accomplish this task? or is this beyond the scope of a dial plan?
Back to top
View user's profile
kennedy joseph
Brekeke Member


Joined: 24 Aug 2010
Posts: 16

PostPosted: Tue Nov 30, 2010 9:19 am    Post subject: Reply with quote

It seems you installed the Authentication plug-in instead of Billing (Accounting) plug-in..
is it OK??

No it's not Ok,it doesn't bill calls that are forwarded through the pbx.

I installed the Radius Accounting plug-in that contain the folder "Radius_sip_Auth1_1_2.

I think you're right but how do I get the Accounting plug-in?
Back to top
View user's profile
kennedy joseph
Brekeke Member


Joined: 24 Aug 2010
Posts: 16

PostPosted: Tue Nov 30, 2010 10:04 am    Post subject: Reply with quote

Hi Taitan,I just checked and I noticed that I actually installed both the account and Authentication plug-ins as recommended below:

Insert brekeke-sip-acct.jar file into the BSS_install_dir\pbx\webapps\pbx\WEB-INF\lib directory

Set the following parameters in sv.properties properties (BSS_install_dir\pbx\webapps\pbx\WEB-INF\work\sv):
radius.authport = 1812
radius.acctport = 1813
radius.radiushost = Put_radius_server_IP_address
radius.sharedsecret = Put_shared_secret


Insert brekeke-sip-auth.jar file into the BSS_install_dir\pbx\webapps\pbx\WEB-INF\lib directory
Set the following parameters in sv.properties properties (BSS_install_dir\pbx\webapps\pbx\WEB-INF\work\sv):
radius.authport = 1812
radius.acctport = 1813
radius.radiushost = Put_radius_server_IP_address
radius.sharedsecret = Put_shared_secret
net.usrdir.plugins = com.sample.radius.proxy.RadiusAuth
radius.addrealmtouser = false

Restart Brekeke SIP Server service.

The problem is just the forwarded pbx calls but it bills normal sip calls.

Any more ideas on why this issue exist?
Back to top
View user's profile
hope
Brekeke Master Guru


Joined: 15 Jan 2008
Posts: 862

PostPosted: Tue Nov 30, 2010 5:57 pm    Post subject: Reply with quote

if set pbx user forwarding field to a pstn number, this pstn number will used for the call but not pbx user.
maybe you can pass the pbx user's number to radius
but not sure how to do it.
Back to top
View user's profile
kennedy joseph
Brekeke Member


Joined: 24 Aug 2010
Posts: 16

PostPosted: Thu Dec 02, 2010 3:59 am    Post subject: Reply with quote

I'll find a way to get around it.Thanks
Back to top
View user's profile
Harold
Brekeke Master Guru


Joined: 21 Sep 2008
Posts: 287
Location: Japan

PostPosted: Thu Dec 02, 2010 12:27 pm    Post subject: Reply with quote

I recommend you contact SVK Software because they are RadiusCat's developer..
Back to top
View user's profile
Display posts from previous:   
Post new topic   Reply to topic    Brekeke Forum Index » Brekeke SIP Server Forum All times are GMT - 7 Hours
Page 1 of 1