Hylafax Mailing List Archives

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

Re: [hylafax-users] Question on modem groups



* Matthias Reich <rei@xxxxxxxx> [030918 04:30]:
 
> hylafax-config says:
> 
> ModemGroup
> Define a logical name for a set of modem devices. This parameter can be used 
> to define a name that clients can use to refer to a collection of modems. The 
> syntax is ``<name>:<regex>'' where <name> is the name for the group and 
> <regex> is a regular expression that faxq(8C) matches against known modems. 
> Thus for example, the default modem to use for a job, any, is defined as 
> ``any:.*''. This parameter may be specified multiple times to define multiple 
> modem classes. Modem classes may overlap. The actual set of modems in a modem 
> class that are considered for use may vary based on which modems are believed 
> to be ready for use.
> 
> e.g.:
> 
> If you want one of three modems for inbound use only
> add a line
> 
> ModemGroup: "any: ttyS[1,2]"
> 
> in your config-file
> 
> and ttyS3 will never be used for sending except when you use
> -h in sendfax

And it's quite powerfull too.

ModemGroup: "any: ttyS2"
ModemGroup: "ttyS1: ttyS2"
ModemGroup: "special: ttyds[13]"

Will mean that no user will every be able to send directly via ttyS1.
They can only get at it through the "special" group, and that has both
modems in it.

Very usefull if you want to restrict certain lines for scheduling in
particular cases.

a.
-- 
Aidan Van Dyk                                             Create like a god,
aidan@xxxxxxxxxxx                                       command like a king,
http://www.highrise.ca/                                   work like a slave.

Attachment: pgp00006.pgp
Description: 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