[Devel] acc diff

Klaus Darilion klaus.mailinglists at pernau.at
Tue Oct 3 11:09:56 CEST 2006


Juha Heinanen wrote:
> Dan Pascu writes:
> 
>  > I was thinking that there can be an AVP that if set will be used as 
>  > User-Name, else it will take it from where it takes it now (credentials 
>  > or From)
>  > That way you don't have to compute it 2 times, nor will there be 2 
>  > attributes. Just set that AVP if you want the default overwritten.
>  > 
>  > something along the lines:
>  > 
>  > if (is_avp_set(some_avp_spec)) {
>  >   take User-Name attribute from that AVP
>  > } else {
>  >   take User-Name attribute from credentials/from as now
>  > }
> 
> i understand, but can't accept this kind of complexity in Radius
> backend, when User-Name is NOT included in mysql etc. backends at all.
> 
> because there are NO technical nor standards reason to have User-Name in
> Radius backend, Radius should not be treated differently from mysql
> etc. backends and MUST NOT include User-Name in the minimal set.
> 
> other problem with overwriting is that in stop records i don't set
> User-Name extra attribute at all and (the default) useless User-Name
> would still be included.  this brings me to ask to drop also From header
> URI from the minimal set, since is it is not needed in stop records.
> 
> so the minimum set should be this for all backends:
> 
>      * Request Method name
>      * From header TAG parameter
>      * To header TAG parameter
>      * Cseq number
>      * Call-Id
>      * 3-digit Status code from final reply
>      * Reason phrase from final reply
>      * Time stamp when transaction was completed

I wonder what I can do with a CDR without knowing who called whom? 
Shouldn't there be from/username and request URI too? At least for 
out-of-dialog requests?

regards
klaus



More information about the Devel mailing list