[RADIATOR] Parsing nested Diameter grouped AVP-s

Arthur kasjas at hot.ee
Fri Dec 26 12:30:10 CST 2014


23.12.2014 23:29, Heikki Vatiainen kirjutas:
> 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
>
It helps, thank you very much!
Case closed  :)

Arthur



More information about the radiator mailing list