Accounting request packet modification. Removing realm

Discuss any topic about Brekeke SIP Server.

Moderator: Brekeke Support Team

Post Reply
max_andrews
Posts: 6
Joined: Fri Jan 18, 2008 10:39 am

Accounting request packet modification. Removing realm

Post by max_andrews »

1. Brekeke Product Name and version:
Brekeke SIP Server , Version 2.1.6.2

2. Java version:

3. OS type and the version:

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

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

6. Your problem:

We use the accounting plugin to send accounting requests to our radius server for billing. It perfectly send START and STOP accounting requests for each originating call. But the radius is not responding back for accounting requests. Shared secret and other parameters have been properly configured as propagated according to the readme text for accounting plugin.

When I open radius account requests packets, it have added realm after,
CALLING STATION ID and
CALLED STATION ID
MY QUESTION IS, How do I remove realm from above attributes? I want only to send calling station ID or called station ID to the radius. Radius will reply only if there are no realms for above values.

I had the same problem for auth request packet where realm is added to the username. There was a solution provided to make, radius.addrealmtouser=false which solved my issue. By removing the realm, radius was properly able to respond for requests sent by the Brekeke SIP Server.

Please help me. How do I remove realm from the radius accountig request packet for below attributes,
calling station ID and called station ID ?
Tata
Posts: 223
Joined: Sun Jan 27, 2008 1:03 pm

Post by Tata »

Which Radius server are you using?

The Radius server should support the draft "RADIUS accounting for SIP servers"
http://www.freeradius.org/rfc/draft-sch ... ing-00.txt
max_andrews
Posts: 6
Joined: Fri Jan 18, 2008 10:39 am

Post by max_andrews »

We are using freeRadius.

We had the same problem for authentication requests. When authentication packets are sent to radius with realm added to the username attribute, the radius is not responding back. But when we remove the realm from the username attribute, the radius is responding. On authentication packets for realm removal of username, there is an option recommended by Brekeke. It is radius.addrealmtouser=false.

Same way on accounting request packet, realm is added to callingstationID and calledstationID. And radius is not responding for accounting request. And we believe removing realm from callingstationID and callingstationID will solve the problem.

Do you know how to remove realm from callingstationID and calledstationID on accounting request packet?
max_andrews
Posts: 6
Joined: Fri Jan 18, 2008 10:39 am

Post by max_andrews »

I also want to add that the radius we are using is a live radius which is on production. We have other endpoints which send accounting request packets. We noted that none of our other endpoints are adding realm to callingstationID and calledstationID.

Please help to remove realm.
max_andrews
Posts: 6
Joined: Fri Jan 18, 2008 10:39 am

Post by max_andrews »

on auth packet (Using sample authentication plugin)
for username attribute
realm is added by default.
If we add "radius.addrealmtouser=false" on sv.properties, realm for username will be removed.


on acct packet (Using sample accounting plugin)
for callingstationID and calledstationID attributes
realm is added by default.
How can we remove the realm for callingstationID and calledstationID?
james
Posts: 501
Joined: Mon Dec 10, 2007 12:56 pm

Post by james »

Try another Radius server.

I am using Radius Cat.
http://www.svksoftware.com/Main/Default.aspx?tabid=65
max_andrews
Posts: 6
Joined: Fri Jan 18, 2008 10:39 am

Post by max_andrews »

I cannot use another Radius Server. The radius we use is a live server which is on production. The radius server I'm using is freeRadius and it is the first recommended radius by Brekeke.

Please help to remove realm from callingstationID and calledstationID on accounting request packet..
Post Reply