Hello Martin -

Yes this is correct - although you should always do some testing to verify correct operation.

Also note that Handlers are evaluated in the order they appear in the configuration file, so the more specific must appear before the more general.

regards

Hugh


On Monday, Mar 31, 2003, at 12:57 Australia/Melbourne, Martin Edge wrote:

Hey Guys,
 
Just a quick check..
 
How would I write a handler to capture all numbers ending in a particular suffix?
 
<Handler Called-Station-Id=/151$/> ?
 
Obviously 151 is quite small and likely to appear in the middle of parts of other numbers... Thus has to be matched on the end of the line.
 
Thanks
Martin Edge
 

Martin Edge
Systems/Applications Engineer
KBS Internet
Ph: 1300 727 205
Web: http://www.kbs.net.au/
Wholesale: http://xray.kbs.net.au/
Email: [EMAIL PROTECTED]



NB: have you included a copy of your configuration file (no secrets),
together with a trace 4 debug showing what is happening?

--
Radiator: the most portable, flexible and configurable RADIUS server
anywhere. Available on *NIX, *BSD, Windows 95/98/2000, NT, MacOS X.
-
Nets: internetwork inventory and management - graphical, extensible,
flexible with hardware, software, platform and database independence.

Reply via email to