Показать сообщение отдельно
  #67  
Старый 25.01.2017, 14:01
Victor Kakhnych
Guest
 
Сообщений: n/a
По умолчанию роутинг между vrf

Victor Kakhnych написал(а) к Anton Gorlov в Jan 17 10:59:28 по местному времени:


Нello Anton!

24 Jan 17 13:40, you wrote to Eugene Grosbein:

AG> Ещё бы мело оно это..

AG> radius attribute calling-station-id format ?
AG> agent-circuit-id Build Calling-ID string with agent circuit id
AG> agent-remote-id Build Calling-ID string with agent remote id
AG> description Build Calling-ID string with VC-description
AG> hostname Build Calling-ID string with host name
AG> slot-port Build Calling-ID string with slot-port info

AG> Мак оно передаёт, но в своём аттрибуте, vendor-specific

AG> AVP: l=25 t=Vendor-Specific(26) v=Ericsson, Inc. (formerly 'RedBack
AG> Networks')(2352) AVP Type: 26 AVP Length: 25
AG> VSA: l=19 t=Mac-Addr(145): e0-3f-49-52-c2-fd

AG> Вот сижу соображаю как мне вот это получить и загнать в
AG> calledstationid или какое либо другое поле..

У меня так в radiusd.conf:

attrrewrite mac_to_callerid {
attribute = Calling-Station-Id
searchin = packet
searchfor = ""
replacewith = "%{Client-Mac-Address}"
ignore_case = yes
new_attribute = yes
max_matches = 1
append = no
}

Victor


--- GoldED+/BSD 1.1.5-b20160322-b20160322
Ответить с цитированием