HylaFAX The world's most advanced open source fax server

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

Re: Local telephone line



-----BEGIN PGP SIGNED MESSAGE-----

On Tue, 31 Aug 1999, Matthias Reich wrote:

> Joel Revzen wrote:

> > Problem adding a number to the config file.
> > Explanation:
> > To phone out of our company a 9 has to be added to the regular phone
> > number.
> >  from the command line -Hylafax works O.K. for example:
> > sendfax -n -d  9,6176667 /tmp/x.tif
> >                     ^^^^^^
> > Question:
> > Where do I insert "9" in the config file so it will be added
> > automatically?

> Put
> ModemDialCmd:       ATDT9,%s   
> in your modem config file, so the modem will dial a 9 before every other
> number it dials
> c u
> matthias

Matthias? This is not usually correct. Most "dial 9 first" setups
are part of a local mail system, and should not use the 9 first
for local extensions. For that case, a modification of the dialrules
is more appropriate, as follows:

   [tuvTUV]		= 8
   [wxyWXY]		= 9
   ^[+]${Country}		= ${LDPrefix}		! long distance call
   ^[+]			= ${IDPrefix}		! international call
   ^[0-9]{7,}$		= 9,&		! add 9 for outside calls
   ]

It's the "add 9" line that needs to be added...

			Nico Kadel-Garcia
			Senior Engineer, CIRL 
			Mass. Eye and Ear Infirmary
			raoul@cirl.meei.harvard.edu

-----BEGIN PGP SIGNATURE-----
Version: 2.6.2

iQCVAwUBN8v+Xj/+ItycgIJRAQFZeAP/c6MNoUGQAsPp3zqPMmnuVb1KeQH759Fc
NLKtKmw/QQvG6MEiquZAGHDcSDRfQ/84hATuDVwmC1JZ6z1/3TiobcNolwveS/e0
JtdYh9FTcvWjAu6lF7NzqWlNokSV2M57mgj35Fri10VAJ/UNDrGreGZ6kHYP9lvE
20IQCTzreE0=
=7lTM
-----END PGP SIGNATURE-----




Project hosted by iFAX Solutions