[Users] radius - multi leg accounting

Rosario Pingaro rpingar at nesec.it
Sat Apr 21 19:57:52 CEST 2007

Hi list I need to implement multileg radius accounting on openser 1.1.x cfg.

I have configured radius to handle Sip-Leg-Source and Sip-Leg-Destination.

The problem is to configure openser.cfg propely.

In the beginning i have:
modparam("acc", "multi_leg_enabled", 1)
modparam("acc", "src_leg_avp_id", 110)
modparam("acc", "dst_leg_avp_id", 111)

then in the route that handle the invite I load the avp by radius:

But then I miss the point to have two accounting start and two accounting stop, one for each leg. 
Then...if it is not possible to have two accounting records, I would liek to know how to store all the information of the two legs insede one start and one stop.

something like this one?
                avp_write("$from/username", "$avp(i:110)");
                avp_write("$ruri/username", "$avp(i:111)");

Hope some one can drive me to understand better this situation.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kamailio.org/pipermail/users/attachments/20070421/3b979eec/attachment.htm 

More information about the Users mailing list