[RADIATOR] Parsing nested Diameter grouped AVP-s

Heikki Vatiainen hvn at open.com.au
Tue Dec 23 15:29:01 CST 2014


On 12/19/2014 02:18 PM, Arthur Konovalov wrote:

>       if (my @medintflowstat = $medintstat->get_attr(1086, 193)) {

> My problem is that hook doesn't parse second  "Media-Flow-Statistics"
> AVP group and I have in output ony these:

Hello Arthur,

thanks for your message with the capture file and other details. I think
the problem gets fixed when you change get_attr() to get_attrs(). Now
it's fetching only the first instance of Media-Flow-Statistics (1086)
instead of all (both) of them.

Thanks,
Heikki

-- 
Heikki Vatiainen <hvn at open.com.au>

Radiator: the most portable, flexible and configurable RADIUS server
anywhere. SQL, proxy, DBM, files, LDAP, NIS+, password, NT, Emerald,
Platypus, Freeside, TACACS+, PAM, external, Active Directory, EAP, TLS,
TTLS, PEAP, TNC, WiMAX, RSA, Vasco, Yubikey, MOTP, HOTP, TOTP,
DIAMETER etc. Full source on Unix, Windows, MacOSX, Solaris, VMS,
NetWare etc.


More information about the radiator mailing list