Hello Cortney -

You should check the Camel book to learn about regexp's.

What you show below will only match on 348xxxx, because the "^" is an anchor 
to the beginning of the line, and the XXXX characters will never appear in a 
phone number.

Here is a Handler to match "anything348nnnn" where "nnnn" is 4 digits:

<Handler Called-Station-Id = /348\d{4}/>

BTW - the problem with reloading configuration files has been addressed a few 
times, so what version of Radiator are you running?

hth

Hugh


On Friday 09 March 2001 05:17, Cortney Thompson wrote:
> I have a quick question about Called-Station-ID.  I have been digging
> through the archives trying to find a way to make called number XXX384XXXX
> and 384XXXX fall under the same handler.  You see some times I get 7 digit
> DNIS and others I get 10.  This is what I tried, but it did not
> work.  <Handler Called-Station-Id=/^384XXXX/>.
>
> Am I on the right track here, or am I completely off.
>
> Also doing a "killall -HUP perl" would not reload the Handler.  I had to do
> a "killall perl" and let it respawn before it would see the handler
> change... Which is odd because the Sig HUP did read the trace level change
> from 3 to 4.  Just and FYI.
>
> Thanks for any help.
>
> If you any questions please contact me at:
>
> [EMAIL PROTECTED]
>
>    Opinions are mine and do not necessarily reflect
>                those of wyoming.com
>
>
>
> ===
> 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.

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