Hylafax Mailing List Archives

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

Re: [hylafax-users] Multiple Local Area Codes and etc/dialrules



Quoting Mike Kercher <mike@CamaroSS.net>:

> I setup a server with an 8 port modem to use for HylaFax.  Currently, I
> am only using one port (ttyR0).  From the console, I can send a fax to
> an internal phone number which is 3 digits.  If I try to send one
> outside dialing 9,xxxXXXxxxx, it fails.  We have 3 local area codes
> here
> and we must dial 10 digits for all calls...even in the same area code.
> Can someone please tell me how to configure my dialrules so that
> HylaFax knows that all 3 area codes are local?  Thanks!

In your dialrules,
Start the rules by the canonical rules then:

^[+]${Country}          = ${LDPrefix}           ! long distance call
^${LDPrefix}514         = 514                   ! Most 514 are local
^${LDPrefix}438         = 438                   ! Most 438 are local

You can use ${Area} ${Area2} ${Area3} if you wish and set them at the 
beginning of the file. I just find it easier to work with the actual 
numbers.

If you have some numbers which are long distance, you can add them after 
like this:

^(51442[5689])                  = ${LDPrefix}\1

These rules may not work directly with your internal calls, you may have 
to add some character at the beginning of the internal number before doing 
those rules and remove that character at the end.

-- 
Patrice Fournier
pfournier@loups.net

____________________ 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
  *To learn about commercial HylaFAX(tm) support, mail sales@hylafax.org.*



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