HylaFAX The world's most advanced open source fax server

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

Re: dialrules help



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

On Tue, 4 Jan 2000, Harry Holt wrote:

> Does anybody have an example of how to set up the dialrules to pre pend a 9 
> to every number?  I cannot figure out how to do it from the docs.

Why, yes! Usually you only want to do it with long numbers, since short
numbers are actually local extensions. Try this at the end of your dialrules
file.

	^[+]${Country}		= ${LDPrefix}		! long distance call
	^[+]			= ${IDPrefix}		! international call
	^[0-9][0-9][0-9][0-9][0-9]+$ = 9,&		! add 9 for outside calls
	]
	
Add the line with the "[0-9]" stuff.

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

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

iQCVAwUBOHIQQT/+ItycgIJRAQGalgP+IqspdroP/A25hE12mIzOj8sdYdwh89Zi
9+8Wv2dKVUCnYWtGL/0TufyDigC4KTasjHN3KoIxwW16nyFanpl10+tdvsjTeAXJ
yTFyl55TkNCPUzuh5moxaGLRGf7SbL0vYXVJeOsHBvRmMATBUDFZlB2TMeN94X8U
EZ5k/QVrtgk=
=cP7Z
-----END PGP SIGNATURE-----




Project hosted by iFAX Solutions