[Users] avp_load_radius format

Bogdan-Andrei Iancu bogdan at voice-system.ro
Wed Apr 26 16:59:07 CEST 2006


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
>>>
>>> 
>>>
>>>      
>>>





More information about the sr-users mailing list