HylaFAX The world's most advanced open source fax server

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

Re: litle problem with dialrules



> -----------------------------------------------------------
> ready> 12282601
> Apply CanonicalNumber rules to "12282601"
> --> match rule "^1", result now "+12282601"
> --> return result "+12282601"

That's too short to be a valid canonical number starting with +.  US
canonical numbers are +1xxxyyyzzzz.  The intention is that the canonical
number be a location independent, world unique, number.  The + is
a convention for representing the international access code.  Note that
US phone numbers use 1 as the code to indicate a national number, but
1 is also the international code for the USA.  This is not generally true -
the national code in the UK is 0, but the international code is 44, so
my office number is +44181401...., in canonical form and 0181401...., in
national form.

> Apply DialString rules to "12282601"
> --> match rule "[0-9]{8,}", result now ""
> --> return result ""

This is not the purpose of dialrules.

> 
> p.s i saw in the FAQ something about "DestControl file" but i dont know
> how to configure it


DESTCTRLS(4F)                                       DESTCTRLS(4F)

NAME
       destctrls - per-destination controls for HylaFAX servers

DESCRIPTION
       The HylaFAX configuration parameter DestControls specifies
       whether or not to apply per-destination  controls  on  job
       characteristics such as the time-of-day to place a call.

etc.




Project hosted by iFAX Solutions