Jump to content
Калькуляторы

Alu 7750 Распознавание аттрибутов в radius-e

Здравствуйте.

 

Возникла проблема с аккаунтингом для ALU 7750.

Дело в след.: у нас есть два типа трафика (местный и внешний), представители Alcatel настоили так, что данные по каждому типу идут в разных очередях и в radius приходят в виде

 

Alc-Acct-I-Inprof-Octets-64 = 0x00010000000000000000                                                                                                                                             
Alc-Acct-I-Inprof-Octets-64 = 0x000200000000000001d2  

Наш freeradius связан с БД Oracle.

Как в конструкцию accounting-stop-query передавать указанный выше параметр?

%{Alc-Acct-I-Inprof-Octets-64} - показывает только первую очередь, если даже вызвать дважды - все равно только первая

Очень нужно!!!

Пишу здесь, так как спецы Alcatel пропали и не отвечают

Edited by mivcm

Share this post


Link to post
Share on other sites

Не могли бы Вы прислать настройки accounting-policy?

А так же лог с радиуса, где Вы видите только одну очередь. В Вашем сообщении я вижу, что передается две очереди!

Share this post


Link to post
Share on other sites

а доки freeradius не пробовали?

 

http://freeradius.org/radiusd/man/unlang.html
...
%{Attribute-Name[index]}
   Reference the N'th occurance of the given attribute. The syntax %{<list>:Attribute-Name[index]} may also be used. The indexes start at zero. This feature is NOT available for non-attribute dynamic translations, like %{sql:...}.

   For example, %{User-Name[0]} is the same as %{User-Name}

   The variable %{Cisco-AVPair[2]} will reference the value of the THIRD Cisco-AVPair attribute (if it exists) in the request packet, 
...

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.