Try: Called-Station-Id =~ "0010$"
Or some other nice regex.

You could also use huntgroups, that limits the number of entries in your
users / acct_users files...

Regards,

Chris

On Wed, 2003-06-18 at 20:56, Scotty B. Lowe wrote:
> Ossama Suleiman wrote:
> 
> > you should add your entry not to the users file but to acct_users file:
> >
> > DEFAULT        Called-Station-Id = "8145550010", Proxy-To-Realm := 
> > "realm.net"
> >
> > hope that helps
> > regards,
> > ossama
> >
> 
> 
> Thanks a million Ossama.....that got it!  The only other question I have 
> is about the actual DNIS.  The record that comes from the Cisco includes 
> the entire number, area code and all (i.e.  8845551234).  Is it possible 
> for FreeRadius to check only the last 4 digits or does it have to match 
> the Called-Station-Id exactly as it comes to it.  Perhaps there are some 
> wild characters I can use in place of the first six digits?  This would 
> turn a few thousand entries into a few hundred and save me a bunch of time.
> 
> 
> Once again thanks Ossama:)
> 
> 
> - 
> List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
> 



- 
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Reply via email to