(RADIATOR) Consolidate fields

Hugh Irvine hugh at open.com.au
Wed Jan 17 02:36:42 CST 2007


Hello Arthur -

You will need to use a PreProcessingHook in your Realm or Handler to  
manipulate the radius attribute(s) as required.

There are some example hooks in "goodies/hooks.txt" showing how to do  
similar things.

If you have any questions I will try to help.

regards

Hugh


On 17 Jan 2007, at 18:15, Arthur Konovalov wrote:

> Hi!
>
> After converting Diameter grouped AVP to Radius I have one multiple  
> fields withsame name.
> For instance, from details file:
>
>    SDP-Media-Description = "a=rtpmap:8 PCMA/8000"
>    SDP-Media-Description = "a=rtpmap:101 telephone-event/8000"
>    SDP-Media-Description = "a=fmtp:101 0-11"
>
> Please advise me how to export those values to MySQL database  
> (either as separate records or as one consolidated)?
> At the moment I have following row for this attribute in  
> radiator.cfg file in 'AuthBy SQL' section:
>
>    AcctColumnDef    SDPMediaDescr,SDP-Media-Description
>
> and have only first value, of course.
>
>
> Regards,
> Arthur
>
> --
> Archive at http://www.open.com.au/archives/radiator/
> Announcements on radiator-announce at open.com.au
> To unsubscribe, email 'majordomo at open.com.au' with
> 'unsubscribe radiator' in the body of the message.



NB:

Have you read the reference manual ("doc/ref.html")?
Have you searched the mailing list archive (www.open.com.au/archives/ 
radiator)?
Have you had a quick look on Google (www.google.com)?
Have you included a copy of your configuration file (no secrets),
together with a trace 4 debug showing what is happening?

-- 
Radiator: the most portable, flexible and configurable RADIUS server
anywhere. Available on *NIX, *BSD, Windows, MacOS X.
Includes support for reliable RADIUS transport (RadSec),
and DIAMETER translation agent.
-
Nets: internetwork inventory and management - graphical, extensible,
flexible with hardware, software, platform and database independence.
-
CATool: Private Certificate Authority for Unix and Unix-like systems.


--
Archive at http://www.open.com.au/archives/radiator/
Announcements on radiator-announce at open.com.au
To unsubscribe, email 'majordomo at open.com.au' with
'unsubscribe radiator' in the body of the message.


More information about the radiator mailing list