Hello How can I get all values of Cisco AVpair from NAS if there are multiple values, for example May 14 16:04:38.193: RADIUS: Cisco AVpair [1] 54 "faxrelay-start-time=16:03:58.021 NSK Mon May 14 2007" May 14 16:04:38.193: RADIUS: Vendor, Cisco [26] 59 May 14 16:04:38.193: RADIUS: Cisco AVpair [1] 53 "faxrelay-stop-time=16:04:37.161 NSK Mon May 14 2007" May 14 16:04:38.193: RADIUS: Vendor, Cisco [26] 38 May 14 16:04:38.193: RADIUS: Cisco AVpair [1] 32 "faxrelay-max-jit-buf-depth=506" May 14 16:04:38.193: RADIUS: Vendor, Cisco [26] 33 May 14 16:04:38.193: RADIUS: Cisco AVpair [1] 27 "faxrelay-jit-buf-ovflow=0" May 14 16:04:38.193: RADIUS: Vendor, Cisco [26] 41 May 14 16:04:38.193: RADIUS: Cisco AVpair [1] 35 "faxrelay-init-hs-mod=V.27ter/4800" May 14 16:04:38.193: RADIUS: Vendor, Cisco [26] 39 May 14 16:04:38.193: RADIUS: Cisco AVpair [1] 33 "faxrelay-mr-hs-mod=V.27ter/4800" and so on.
Use operator += Ivan Kalik Kalik Informatika ISP Dana 15/5/2007, "áĚĹËÓÁÎÄŇ îÉËŐĚÉÎ" <nikulinas@mail.ru> piše:
Hello How can I get all values of Cisco AVpair from NAS if there are multiple values, for example
May 14 16:04:38.193: RADIUS: Cisco AVpair [1] 54 "faxrelay-start-time=16:03:58.021 NSK Mon May 14 2007" May 14 16:04:38.193: RADIUS: Vendor, Cisco [26] 59 May 14 16:04:38.193: RADIUS: Cisco AVpair [1] 53 "faxrelay-stop-time=16:04:37.161 NSK Mon May 14 2007" May 14 16:04:38.193: RADIUS: Vendor, Cisco [26] 38 May 14 16:04:38.193: RADIUS: Cisco AVpair [1] 32 "faxrelay-max-jit-buf-depth=506" May 14 16:04:38.193: RADIUS: Vendor, Cisco [26] 33 May 14 16:04:38.193: RADIUS: Cisco AVpair [1] 27 "faxrelay-jit-buf-ovflow=0" May 14 16:04:38.193: RADIUS: Vendor, Cisco [26] 41 May 14 16:04:38.193: RADIUS: Cisco AVpair [1] 35 "faxrelay-init-hs-mod=V.27ter/4800" May 14 16:04:38.193: RADIUS: Vendor, Cisco [26] 39 May 14 16:04:38.193: RADIUS: Cisco AVpair [1] 33 "faxrelay-mr-hs-mod=V.27ter/4800"
and so on. - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
Sorry. I didn't read your post well. I thought you wanted to send it FROM radius TO NAS. You will need to write your own accounting queries if you want fax accounting as well. Example for voip accounting: http://www.freeradius.org/radiusd/raddb/pgsql-voip.conf Ivan Kalik Kalik Informatika ISP Dana 15/5/2007, "áĚĹËÓÁÎÄŇ îÉËŐĚÉÎ" <nikulinas@mail.ru> piše:
where should I use operator += ? - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
Indeed! But I have %{Cisco-AVpair} that have multiple values, and I want all them comes to my database
Sorry. I didn't read your post well. I thought you wanted to send it FROM radius TO NAS. You will need to write your own accounting queries if you want fax accounting as well. Example for voip accounting:
Ivan Kalik Kalik Informatika ISP
Dana 15/5/2007, "áĚĹËÓÁÎÄŇ îÉËŐĚÉÎ" <nikulinas@mail.ru> piše:
where should I use operator += ? - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
-- Ń óâŕćĺíčĺě, NikulinAS mailto:NikulinAS@mail.ru
I am not sure how cisco-vsa-hack works (have you enabled it in radiusd.conf). You should be able to get them as %{faxrelay-start-time}. One of the programmers will confirm/deny this. Ivan Kalik Kalik Informatika ISP Dana 15/5/2007, "NikulinAS" <NikulinAS@mail.ru> piše:
Indeed! But I have %{Cisco-AVpair} that have multiple values, and I want all them comes to my database
Sorry. I didn't read your post well. I thought you wanted to send it FROM radius TO NAS. You will need to write your own accounting queries if you want fax accounting as well. Example for voip accounting:
Ivan Kalik Kalik Informatika ISP
Dana 15/5/2007, "áĚĹËÓÁÎÄŇ îÉËŐĚÉÎ" <nikulinas@mail.ru> piše:
where should I use operator += ? - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
-- Ń óâŕćĺíčĺě, NikulinAS mailto:NikulinAS@mail.ru
- List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
I tried, but unsuccessfully. I read http://osdir.com/ml/freeradius.devel/2005-04/msg00034.html and tried also, but unsuccessfully. I have freeradius-0.9.3 on Linux RedHat 9 Ideas ?
I am not sure how cisco-vsa-hack works (have you enabled it in radiusd.conf). You should be able to get them as %{faxrelay-start-time}. One of the programmers will confirm/deny this.
Ivan Kalik Kalik Informatika ISP
Dana 15/5/2007, "NikulinAS" <NikulinAS@mail.ru> piše:
Indeed! But I have %{Cisco-AVpair} that have multiple values, and I want all them comes to my database
Sorry. I didn't read your post well. I thought you wanted to send it FROM radius TO NAS. You will need to write your own accounting queries if you want fax accounting as well. Example for voip accounting:
Ivan Kalik Kalik Informatika ISP
Dana 15/5/2007, "áĚĹËÓÁÎÄŇ îÉËŐĚÉÎ" <nikulinas@mail.ru> piše:
where should I use operator += ? - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
-- Ń óâŕćĺíčĺě, NikulinAS mailto:NikulinAS@mail.ru
- List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
- List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
-- Ń óâŕćĺíčĺě, NikulinAS mailto:NikulinAS@mail.ru
participants (4)
-
A.L.M.Buxey@lboro.ac.uk -
NikulinAS -
tnt@kalik.co.yu -
Александр Никулин