Hylafax Mailing List Archives

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

Re: Dial 1 + number for long distance



> 
> Got the rule in dialrules to add a 9 for access to an outside line.
> 
> ^[0-9]{7,}$     = 9,&   !9 for phone system if seven or more digits
> 
> I Thought something like:
> 
> ^[0-9]{10,}$     = 1,&   !1 for long distance might work if ten or more digits
> 
> I not sure where to place this line and it seems LDPrefix is not working.

Do you want 91, or just 1.  In the first case, put it before the 7+ line,
in the second, you need to limit the first pattern to 7 to 9 characters.
Really, though, you need to read up on regular expresssions and work out
how the original worked and why your access digit broke it.



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