[OpenSIPS-Users] aaa_radius and ipaddr type
Irina Stanescu
ironmissy at gmail.com
Mon Oct 26 10:33:03 CET 2009
Hi Alex,
The type for the Login-IP-Host attribute is ipaddr, which means 4 octets in
network byte order.
I hope this helps.
Regards,
Irina Stanescu
On Sun, Oct 25, 2009 at 12:21 PM, Alex Massover <alex at jajah.com> wrote:
> Hi!
>
>
>
> I wonder is it possible to send IP address with
> radius_send_auth(set1,set2). For example I want to send Login-IP-Host inside
> set1.
>
> Login-IP-Host is ipaddr type, configured in the dictionary like this:
>
> ATTRIBUTE Login-IP-Host 14 ipaddr
>
> Let’s say I have the desired value in $avp(s:ip) like a string. If I put
> inside set1 like this: Login-IP-Host=$avp(s:ip), I get a wrong value in the
> radius message. If I convert it to int I also get a wrong value.
>
>
>
> Is there a way to correctly pass ipaddr radius attribute with aaa_radius?
>
>
>
> --
>
> Best Regards,
>
> Alex Massover
>
> VoIP R&D TL
>
> Jajah Inc.
>
>
> This mail was sent via Mail-SeCure System.
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.opensips.org/pipermail/users/attachments/20091026/bce8e2b4/attachment.htm
More information about the Users
mailing list