[Users] doubt in Radius and openser fro accounting...

Daniel-Constantin Mierla daniel at voice-system.ro
Mon Aug 21 11:59:21 CEST 2006


Hello,

OpenSER does event based accounting, so you do not get the ActStopTime. 
You get start/stop events and you have to match them in order to get the 
CDR.

Cheers,
Daniel


On 08/19/06 14:32, raviprakash sunkara wrote:
> Hi Users,
>
> For  Me, in  Openser  + radius  Authorize and Acthentication is  
> Succeed Very Good and Nice,
> But  When some to  Account, I'm little  sucking  here
>
> When Uac1 dials to Uac2 ,
> ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ 
>
> radacctID  |    AcctSessionID   |   AcctuniqueID  | UserName |  
> AcctStartTime  | ActStopTime | calledID  | callingID |
> ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- 
>
> 1                       12h34yy               2334juuw45      
> Uac1                13:10:00               00:00:00       
> Uac2             uac1
>
> 2                       12h34yy               ko34ji899          
> Uac2                13:11:11                13:11:11     
> Uac1             Uac2
> --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- 
>
>
> In accountting with openser + radius in should insert  only one insert 
> for every  call made .
>
> But I think  it insert only two records only.  and AcctuniqueD should 
> me same for each call  makes then only the  AcctStopTime will properly 
> .....
>
> in openser...
>
> -------------------- loose  record-----------------------------------
> if(method=="BYE" || method=="CANCEL")
> {
>           acc_rad_request("Stop");
>          unforce_rtp_proxy();
> }
> ---------------------------- record route section------------
> if( method=="INVITE"  || method=="ACK")
> {
>            acc_rad_request("Start");
>            forcr_rtp_proxy();
> }
>
> plz help me in that .. sorry in my english .......
> -- 
> Thanks and Regards with cheers
> Sunkara Ravi Prakash (Voip Developer)
> Hyperion Technology
> Kondapur, Hi-tech city,
> Hyderabad.
> www.hyperion-tech.com <http://www.hyperion-tech.com>
> +91-9985077535
> ------------------------------------------------------------------------
>
> _______________________________________________
> Users mailing list
> Users at openser.org
> http://openser.org/cgi-bin/mailman/listinfo/users
>   




More information about the sr-users mailing list