HylaFAX The world's most advanced open source fax server

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

Re: Netcom 144 & timing problem ?



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

On Tue, 21 Apr 1998, Bruce Cook wrote:

> I have hylafax-v4.0pl2 built on a RedHat-5
> linux system, using std compiler and libraries
> (gcc-2.7.2.3 & glibc-2.0.5?)

> When I attempt to send a fax, I get an error
> "modem problem".

Did you use the Linux patches? Such as the ones available at
http://cirl.meei.harvard.edu/hylafax/patches? And did you successfully
run faxaddmodem, and install a faxgetty entry in /etc/inittab?
What does faxstat say?

> What interests me in the following log file is that
> hylafax seems to give up just before the modem acheives
> a connect.
> 
> Is this some kind of timing problem (16550A maybe - I've
> tried turning the FIFO off - don't know if I succeeded)
> 
> Am I looking in the wrong place ?

Looks like the wrong place to me: look at this:

> Apr 19 16:02:26.91: [11891]: <-- [13:ATDT94304494\r]
> Apr 19 16:02:39.26: [11891]: --> [12:ATDT94304494]
> Apr 19 16:02:39.26: [11891]: SEND FAILED: Unknown problem (check modem power)
> Apr 19 16:02:39.26: [11891]: <-- [5:ATH0\r]
> Apr 19 16:02:39.26: [11891]: --> [7:CONNECT]
> Apr 19 16:02:39.52: [11891]: --> [2:OK]
> Apr 19 16:02:39.52: [11891]: SESSION END

I take it you have to dial 9 as a prefix: this should be done inside
your dialrules.ext file, not as a hand-added number, or it will screw
up logging of the fax's real phone number. Moreover, it should 
add "9,", not just "9", to make sure that it dials 9 and waits for
a dial tone.

Your local fax number should *NOT* have the 9 in front in the config
file.

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

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

iQCVAwUBNTu3gD/+ItycgIJRAQFo0AP9FilcWzpBB8e4RDeZOyPrLwaQ/OV1bRW3
lklwZ84dTZopqVbMGtO8mTM/dyyswCJpj6Kfm2ThysyEziGlFAwF6GQ7EJ6StzEv
2pyDOmjK6Uc3c3GAq2ZAjCYRKvcw9K2agPS6KSkDQbEi5aFJEwZlfPMfeeTWzrEj
AqUvxST4yCk=
=aH3+
-----END PGP SIGNATURE-----
! $Id: dialrules,v 1.7 1996/06/24 02:59:32 sam Rel $
!
! HylaFAX (tm) Dialing String Processing Rules.
!
! This file describes how to process user-specified dialing strings
! to create two items:
!
! CanonicalNumber: a unique string that is derived from all dialing
! strings to the same destination phone number.  This string is used
! by the fax server for ``naming'' the destination. 
!
! DialString: the string passed to the modem for use in dialing the
! telephone.  This string should be void of any characters that might
! confuse the modem.
!
Area=${AreaCode}		! local area code
Country=${CountryCode}		! local country code
IDPrefix=${InternationalPrefix}	! prefix for placing an international call
LDPrefix=${LongDistancePrefix}	! prefix for placing a long distance call
!
WS=" 	"			! our notion of white space
!
! Convert a phone number to a canonical format:
!
!    +<country><areacode><rest>
!
! by (possibly) stripping off leading dialing prefixes for
! long distance and/or international dialing.
!
CanonicalNumber := [
#.*			=			! strip calling card stuff
[abcABC]		= 2			! these convert alpha to numbers
[defDEF]		= 3
[ghiGHI]		= 4
[jklJKL]		= 5
[mnoMNO]		= 6
[prsPRS]		= 7
[tuvTUV]		= 8
[wxyWXY]		= 9
[^+0-9]+		=			! strip white space etc.
^${IDPrefix}		= +			! replace int. dialing code
^${LDPrefix}		= +${Country}		! replace l.d. dialing code
^[^+]			= +${Country}${Area}&	! otherwise, insert canon form
]
!
! Process a dialing string according to local requirements.
! These rules do only one transformation: they convert in-country
! international calls to long-distance calls.
!
DialString := [
[-${WS}.]+		=			! strip syntactic sugar
[abcABC]		= 2			! these convert alpha to numbers
[defDEF]		= 3
[ghiGHI]		= 4
[jklJKL]		= 5
[mnoMNO]		= 6
[prsPRS]		= 7
[tuvTUV]		= 8
[wxyWXY]		= 9
^[+]${Country}		= ${LDPrefix}		! long distance call
^[+]			= ${IDPrefix}		! international call
^[0-9]{7,}$		= 9,&		! add 9 for outside calls
]
Date: Tue, 21 Apr 1998 11:13:17 +0800
From: Bruce Cook <bcook@wantree.com.au>
To: flexfax@sgi.com
Subject: Re: flexfax: Netcom 144 & timing problem ?
X-Mailer: VM 6.35 under Emacs 19.34.5
Reply-To: bcook@wantree.com.au
Sender: owner-flexfax@celestial.com

Nico Garcia writes:
 > -----BEGIN PGP SIGNED MESSAGE-----
 > 
 > On Tue, 21 Apr 1998, Bruce Cook wrote:
 > 
 > > I have hylafax-v4.0pl2 built on a RedHat-5
 > > linux system, using std compiler and libraries
 > > (gcc-2.7.2.3 & glibc-2.0.5?)
 > 
 > > When I attempt to send a fax, I get an error
 > > "modem problem".
 > 
 > Did you use the Linux patches? Such as the ones available at
 > http://cirl.meei.harvard.edu/hylafax/patches?

OK< I'll have a look at this, thanks.

 > And did you successfully
 > run faxaddmodem, and install a faxgetty entry in /etc/inittab?

yes

 > What does faxstat say?

[bruce@fremantle bruce]$ faxstat
HylaFAX scheduler on fremantle: Running
Modem cua1 (9430 4494): Waiting for modem to come ready
[bruce@fremantle bruce]$ 

Interesting - this isn't normally "waiting to come ready"
I'll have a look into that.

[...]

 > I take it you have to dial 9 as a prefix: this should be done inside
 > your dialrules.ext file, not as a hand-added number, or it will screw
 > up logging of the fax's real phone number. Moreover, it should 
 > add "9,", not just "9", to make sure that it dials 9 and waits for
 > a dial tone.

No.  9 is part of the phone number in this state (I'm in Australia)
my home fax number is +61 8 92277390




Project hosted by iFAX Solutions