Hylafax Mailing List Archives

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

Re: [hylafax-users] Dialrules



Currently any job submitted from a client addressed to the 519 area code
is considered local and it is stripping off the +1519. 

How would I tell it that 294 is long distance and to not remove that?
Also, can I make a list of long distance codes in the same area code?

I tried a long distance fax to another area code and it went smooth as
silk.

Thanks for your reply Lee.

On Tue, 2002-04-23 at 12:14, Lee Howard wrote:

> 
> How is this weird?  Seems quite normal to me.
> 
> Usually, dialrules is used in such a way that it *removes* characters from 
> the fax number to produce the dialstring rather than adding them.  Thus, 
> fax numbers which the user intends to process with dialrules are submitted 
> in the long (+1.519.294.1212) format with the "+" preceding.
> 
> Thus, you add lines near the end which tells dialrules to strip out the 
> "1519" from the dialstring when the prefix is "246".
> 
> So, the end of your dialrules file would appear:
> 
> ^[+]${Country}${AreaCode}246	= 246			! local call
> ^[+]${Country}					= ${LDPrefix}	! long 
> distance call
> ^[+]						= ${IDPrefix}	! 
> international call
> ]
> 
> Lee.
-- 
-=/>Thom
Red Hat Linux release 7.2.93 (Skipjack) running Linux Kernel 2.4.18-0.22
Load : 0.11 0.07 0.12, AC on-line, no system battery


____________________ HylaFAX(tm) Users Mailing List _______________________
  To subscribe/unsubscribe, click http://lists.hylafax.org/cgi-bin/lsg2.cgi
 On UNIX: mail -s unsubscribe hylafax-users-request@hylafax.org < /dev/null



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