[Users] avp_load_radius format

Helge Waastad helge at smartnet.no
Thu Apr 27 12:47:49 CEST 2006


Yes,
I was already thinking the same....

br hw


tor, 27,.04.2006 kl. 11.49 +0200, skrev Klaus Darilion:
> Maybe you can add your experiences to the Wiki (or Radius docs)- there 
> is already a Radius section.
> 
> regards
> klaus
> 
> Helge Waastad wrote:
> > Aha,
> > that's it.
> > 
> > Thank's again.
> > 
> > I had to alter the operator in FreeRADIUS: SIP-AVP += "avp:value"....
> > 
> > This happens when youre not really reading the man pages thouroughly :-)
> > 
> > 
> > Again,
> > thanks a lot.
> > 
> > br hw
> > 
> > 
> > ons, 26,.04.2006 kl. 17.59 +0300, skrev Bogdan-Andrei Iancu:
> >> Hi Helge,
> >>
> >> I think more lines with SIP-AVP should be placed into reply. I can say 
> >> this based on the openser code processing the reply - it looks for more 
> >> than one SIP-AVP RADIUS avps, each containing only one SIP avp.
> >>
> >> regards,
> >> bogdan
> >>
> >>
> >> Helge Waastad wrote:
> >>
> >>> Hi,
> >>> and thanks for your answer.
> >>> You'll have to excuse me for not 100% grasping the logic.
> >>> A typical RADIUS answer would be:
> >>>
> >>> rad_recv: Access-Accept packet from host 195.18.134.150:1812, id=207,
> >>> length=38
> >>> SIP-AVP = "voicemail:111111"
> >>>
> >>> So should more than one Access-Accept be sent with different
> >>> SIP-AVP=.... (I guess not)
> >>>
> >>> Or should the string value of SIP-AVP be consist of several avps?
> >>>
> >>> I guess you can only respond with distinct attributes from RADIUS?
> >>>
> >>> Rigth now I'm trying to see if I can do this by default FreeRADIUS setup
> >>> or if should move into rlm_perl...
> >>>
> >>> ....probably a revised OpenSER-RADIUS Howto should be made.
> >>> I can, for that sake, help..when I get it working :-)
> >>>
> >>> br hw
> >>>
> >>>
> >>>
> >>> ons, 26,.04.2006 kl. 11.16 +0300, skrev Bogdan-Andrei Iancu:
> >>>  
> >>>
> >>>> Hi Helge,
> >>>>
> >>>> you need to include several RADIUS AVPs into the radius reply - one for 
> >>>> each SIP AVP.
> >>>>
> >>>> regards,
> >>>> bogdan
> >>>>
> >>>> Helge Waastad wrote:
> >>>>
> >>>>    
> >>>>
> >>>>> Hi,
> >>>>> I just wonder if someone could give me a hint on how to load several
> >>>>> AVP's from RADIUS.
> >>>>>
> >>>>> I'm currently reponding with:
> >>>>> SIP-AVP=rpid:1111111
> >>>>> which parses the rpid avp.
> >>>>>
> >>>>> But what should the response look like if I want to load several avps?
> >>>>> (For group checking, ACl etc)?
> >>>>>
> >>>>> br hw
> >>>>>
> >>>>>
> >>>>>
> >>>>>      
> >>>>>
> 
-- 
Helge Waastad
Senior Konsulent
Smartnet




More information about the sr-users mailing list