Hello Cory -

On Monday 19 March 2001 14:11, Cory Visi wrote:
> I'm at a loss as to what's wrong with this Handler setup. I followed the
> similar example in bayPortLimit.txt and it's not working at all. I'm sure
> I'm doing something stupid wrong.
>
> I'm using:
>
> <Handler Called-Station-Id=/.*7050$|.*6350$|.*5050$/>
>       etc.
> </Handler>
>
> This entry is before DEFAULT.
>
> An example Called-Station-Id for this realm is "6537050".
> Basically, all users in this realm will be calling numbers all ending in
> the 4 digit suffixes you see above in the regex.
>
> At trace level 4 I can see that the users are being processed in the
> DEFAULT realm which is not correct.
>
> Why isn't my Handler statement catching these users?
>
> Thank you for any help you can provide,

Your regexp should look like this:

<Handler Called-Station-Id=/7050$|6350$|5050$/>

In other words, "7050" or "6350" or "5050" at the end of the string ($).

The Camel book is your friend in these situations.

regards

Hugh


-- 
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.

===
Archive at http://www.starport.net/~radiator/
Announcements on [EMAIL PROTECTED]
To unsubscribe, email '[EMAIL PROTECTED]' with
'unsubscribe radiator' in the body of the message.

Reply via email to