Miguel <mmiranda@123.com.sv> writes:
Hi, im trying to configure a check that 1315 username will be allowed to connect only from a particular list of callinstationids, so i added a Calling-Station-Id attribute to the radcheck table, this are my filter's details
username: 1315
list of callingstationids: - from 22662100 to 22662199 (this is a pbx) - 22793045 - 22934240
the attribute was entered like this:
username: 1315 attribute: Calling-Station-Id Op: ~= Value: ^226621[0-9][0-9]$|^22793045$|^22934240$
But i always get acces denied: Tue Apr 18 15:38:04 2006 : Auth: Login incorrect: [1315/1315] (from client private-network port 0 cli 50322793045)
Looks like 503 is prepended to the value you expect in Calling-Station-Id. Maybe some prefix added by the PBX? You could either modify your regexp to allow any number ending in the 8 wanted digits, our explicitly allow 503 as prefix. Bjørn