Hylafax Mailing List Archives

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

Re: How do I...



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


John says:
   In-Reply-To: <199705221848.AA07942@voltec.com>

   On Thu, 22 May 1997, Joseph Possert wrote:

   > Hello,
   > 
   > 	My Hylafax Modem is on a phone line that requires a 9, prefix to 
   > dial out.  How do I add this automatically.  I notices that dialrules 
   > stuff, but that just filters parts out.  How can I automatically 
   > add the required prefix.

   Change the config file for the modem line (config.tty??) -

	   ModemDialCmd:	ATDT9W%s			# Dial 9 for PABX, wait for dialtone

This is not a good solution for several reasons. First, "9W" means
dial 9 and wait three seconds, not wait for dialtone. You definitely
want "9," instead, to make the dialing faster.

Second, when people need to dial 9 first, they are typically in an
office with local extensions. If they want to dial directly to another
3 or 4 number extension without going through the outside lines
(because they are disconnected or they cost money), this becomes
impossible with this ModemDialCmd. Instead, the last lines of
dialrules should look like this:

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

This will add 9 for numbers with 7 or more digits.

Third, the ModemDialCmd only works for modems configured that
way. Dialrules will fix the *site*, and will be there even if you
reconfigure the modems.

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

-----BEGIN PGP SIGNATURE-----
Version: 2.6.2
Comment: Processed by Mailcrypt 3.4, an Emacs/PGP interface

iQCVAwUBM4TRRT/+ItycgIJRAQH3awP/Qe0/+nxw5GN239C8wLnQOcZVS1x2C5tm
lB+1hllLeyuECC1dkm0Rqv3hlz/2JOExWCaLUbWWfoEDkOkJUNsA9BV/ZXd8NQOP
CPsk2jFnWlFAoO9GLoKP4JXJkChWbu/WZHCAd57LcHMupAbd58S8ada9rlwG2v99
SRV3TYJjO+0=
=/9Au
-----END PGP SIGNATURE-----



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