if (Cisco-AVPair =~ /^circuit-id-tag=(.*)$/) {
update request {
NAS-Port-Id := "%{1}"
}
}
But it is not work !!!!!
that is the problem.
this is the attribute that come from NAS :
Acct-Session-Id = "04423124"
Cisco-AVPair = "client-mac-address=90f6.52d2.384f"
Framed-Protocol = PPP
Framed-IP-Address = 172.20.10.238
User-Name = "7734247799"
Cisco-AVPair = "connect-progress=LAN Ses Up"
Acct-Authentic = RADIUS
Acct-Status-Type = Start
NAS-Port-Type = Ethernet
NAS-Port = 71446820
NAS-Port-Id = "0/0/0/0"
Cisco-AVPair = "circuit-id-tag=Azadegan-1 atm 2/16:251:0.35"
Service-Type = Framed-User
NAS-IP-Address = 10.150.21.218
X-Ascend-Session-Svr-Key = "A4477F54"
Acct-Delay-Time = 29
Calling-Station-Id = ""
Called-Station-Id = ""
Acct-Unique-Session-Id = "8cd7eadca98e09bf"
Timestamp = 1367151426
Best regards