[RADIATOR] Suggestion: AddFromRequest

Søren Schrøder sch at chaos.dk
Sat Feb 27 04:24:35 CST 2010


Greetings list

I have a small feature request to radiator

I need to proxy key/val pairs from a request back to the response
(using AuthBy INTERNAL)

I'm aware that I can use

        <AuthBy INTERNAL>
                AuthResult ACCEPT
                AddToReply CC-Total-Octets=500000
                CC-Request-Type = %{CC-Request-Type}
                CC-Request-Number = %{CC-Request-Number}
                Rating-Group = %{Rating-Group}
                MSISDN = %{MSISDN}
        </AuthBy>

but we have the DefaultReply, FramedGroup, StripFromReply,
AllowInReply, AddToReply, AddToReplyIfNotExist, DynamicReply keywords,
and to that suite I would suggest:

AddFromRequest key(,key2,key3 ... keyN)

So the above could be written as

        <AuthBy INTERNAL>
                AuthResult ACCEPT
                AddToReply CC-Total-Octets=500000
                AddFromRequest
CC-Request-Type,CC-Request-Number,Rating-Group,MSISDN
        </AuthBy>

I know this is pure cosmetics - but simplicity in conf-files prevents mistakes.

You can put this on the ever growing feature-request list if you want,
it is just my $0.02 in the effort of making a great product even
greater.


-- 
Søren Schrøder.
Obey Gravity - It's the law !


More information about the radiator mailing list