[Serusers] Re: radiusclient-ng/SER attributes for accounting

Juha Heinanen jh at tutpro.com
Sat Aug 20 18:06:42 CEST 2005


Alberto Cruz writes:

 > > I have a licensed billing application that is expecting to receive the 
 > > "calling-from" and "calling-to" values like in a number format in 
 > > order to apply the rates this mean:
 > > if "calling-from" or "calling-to" value is 836572345 at sip.domain the 
 > > billing application needs to receive 836572345 without the @sip.domain 
 > > in order to apply the rate for this number.

i can extract user part of from/to uri at your radius server when it
receives the accounting packet and writes it to database.

if radius server is not in your control, you would need to modify acc.c
fmt2strar() function.

-- juha




More information about the sr-users mailing list