Re: callingstationid filter and regexp

2006-04-20 Thread Bjørn Mork
Miguel [EMAIL PROTECTED] writes: radius=# select * from radcheck where username = 'mmiranda'; id| username | attribute | op | value -+--+++--- 1706382 | mmiranda | Calling-Station-Id |

Re: callingstationid filter and regexp

2006-04-20 Thread Alan DeKok
=?iso-8859-1?Q?Bj=F8rn_Mork?= [EMAIL PROTECTED] wrote: Miguel [EMAIL PROTECTED] writes: 1706382 | mmiranda | Calling-Station-Id | ~= | 226601[0-9][0-9]$|22793045$|22934240$ From doc/rlm_sql: =~ Attribute =~ Expression Alan DeKok. - List info/subscribe/unsubscribe? See

Re: callingstationid filter and regexp

2006-04-19 Thread Bjørn Mork
Miguel [EMAIL PROTECTED] 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

Re: callingstationid filter and regexp

2006-04-19 Thread Miguel
Bjørn Mork wrote: Miguel [EMAIL PROTECTED] 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

Re: callingstationid filter and regexp

2006-04-19 Thread Bjørn Mork
Miguel [EMAIL PROTECTED] writes: Bjørn Mork wrote: You could either modify your regexp to allow any number ending in the 8 wanted digits, How do i do that?, remberber that the fist group its a pbx, 100 callinstationids, i think i need some regexp example for this case. Just removing the

Re: callingstationid filter and regexp

2006-04-19 Thread Miguel
Bjørn Mork wrote: Miguel [EMAIL PROTECTED] writes: Bjørn Mork wrote: You could either modify your regexp to allow any number ending in the 8 wanted digits, How do i do that?, remberber that the fist group its a pbx, 100 callinstationids, i think i need some regexp example

callingstationid filter and regexp

2006-04-18 Thread Miguel
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