Section 3 : Running a Server

Q325: No regular expression for modem class?


? Got something to say about this answer? Hit the question mark to invoke the mailer and send your comments to the HylaFAQ maintainers.

Q.
No regular expression for modem class?

A.

Note! Note : This error message is specific to versions up to v4.0pl2; in version 4.1 and later, the configuration parameter was renamed to ModemGroup.

Date: Wed, 18 Dec 1996 08:16:38 -0700 (MST)
From: Steve Williams <steve@genie96.com>
Subject: Re: No regular expression for modem class?

Howdy,

After having just waded through the source code of this area, I know for
a fact that you are using the ModemClass paramater INCORRECTLY.  
Read man 4 config to find out about the ModemClass.  It does not define the
Fax Class of the modem.  It is used to group modems together, so that 
jobs can be targeted for a specific group of modems.

The correct syntax would be:

ModemClass:	"any:	tty[0-1]"

This would set the default fax modems to use for any job to be tty0 and
tty1.  If you had any other modems defined in hylafax, they would be 
ignored for outbound fax usage.

Good Luck,

-- 
	Steve Williams, Calgary, Alberta, Canada
	Genie Computer Systems Inc.
	steve@genie96.com
> 
> 
> After seeing that my modem does not answer the phone properly :
> picks up and immediately hangs up the line without evenn trying to
> handshake I looked at the system log file and saw the following :
> 
> Dec 18 06:41:50 FaxQueuer[6746]: No regular expression for modem class
> Dec 18 06:41:50 HylaFAX[6748]: HylaFAX INET Protocol Server: restarted.
> Dec 18 06:41:50 HylaFAX[6748]: HylaFAX Old Protocol Server: restarted.
> Dec 18 06:41:50 HylaFAX[6748]: HylaFAX SNPP Protocol Server: restarted.
> 
> This come up everytime I restart Hylfax.
> Modem class is clearly defined in my /var/spool/hylafax/etc/config file.
> 
> LogFacility:            daemon
> CountryCode:            1
> AreaCode:               601
> LongDistancePrefix:     1
> InternationalPrefix:    011
> DialStringRules:        "etc/dialrules"
> ServerTracing:          1
> ModemClass:             2.0
> 
> 
> So what does this message really mean ?
> 
> Thanks in advance for any ideas.
> 
> Atif Khan
> aak2@ra.msstate.edu
> 


 Back to FAQ Index FAQ Index  Next question in List Q326: Logging in HylaFAX v4.0beta18?
faq@hylafax.org. Last updated $Date: 2001/06/23 05:25:42 $.