Hylafax Mailing List Archives

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: litle problem with dialrules




>>>>> On Tue, 15 Sep 1998, "DW" == David Woolley wrote:

  +> Do you know how to "block" any calls to numbers with more than 7
  +> digits.???

  DW> Only what's in the man page; I haven't tried it in anger.


Not sure what's in the manpage, . . . we use something like the following in 
the destcontrols file:

^[+]44[0-9][0-9][0-9][0-9][0-9][0-9][0-9][0-9][0-9][0-9][0-9]+ RejectNotice = 
"Sorry, we don't think that is a valid phone number (UK numbers can't be more 
than 10 digits long)"

Seems to do the trick nicely. Thanks to Mike Bristow for this one.

-DPN

-- 
Mr. Arlington Hewes           (tpcadmin@info.tpc.int)
The TPC.INT Subdomain          (http://www.tpc.int/)

       **************************************************
       ***  FOR GENERAL INFORMATION                   ***
       ***         mailto:tpcfaq@info.tpc.int         ***
       ***  FOR A LIST OF CURRENT COVERAGE            ***
       ***         mailto:tpccover@info.tpc.int       ***
       ***  TO REPORT A PROBLEM (read the FAQ first!) ***
       ***         mailto:support@info.tpc.int        ***
       **************************************************



Home
Report any problems to webmaster@hylafax.org

HylaFAX is a trademark of Silicon Graphics Corporation.
Internet connectivity for hylafax.org is provided by:
VirtuALL Private Host Services