HylaFAX The world's most advanced open source fax server

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

Re: [hylafax-users] force outbound to a specific tty



One quick way to accomplish this would be to redefine the default modem group "any" to include only ttyS0. By default the 'any' group contains all modems, but you can easily redefine it with the following addition to the server config file (usually /var/spool/hylafax/etc/config):

ModemGroup: "any: ttyS0"

This will cause HylaFAX to only schedule outbound jobs to the ttyS0 modem device.

See:

http://www.hylafax.org/content/Handbook:Advanced_Server_Configuration:Modem_Groups

-Darren


----- Original Message ----- From: "Jehan PROCACCIA" <Jehan.Procaccia@xxxxxxxxxxx>
To: <hylafax-users@xxxxxxxxxxx>
Sent: Monday, January 16, 2006 11:46 AM
Subject: [hylafax-users] force outbound to a specific tty



Hello, I run hylafax with 2 modems on ttyS0 and ttyS1
I send fax through emails, so they finally get queud in hylafax system,
I want (for testing purposes ..) to be able to send fax from ttyS0 to ttyS1, but in my config fax keep trying to be emetted from ttyS1 and as I as put the ttyS1 phone number as destination, it keeps trying to send fax to himself :-(
$ faxstat -ds
HylaFAX scheduler on hylafax.int-evry.fr: Running
Modem ttyS0 (4949): Running and idle
Modem ttyS1 (4333): Running and idle
JID Pri S Owner Number Pages Dials TTS Status
17 116 F uucp 4333 0:2 12:12 Busy signal detected; too


How can I tell it to transmit with ttyS0 an not ttyS1, I don't see in the config why it tries to send trough ttyS1 ? how hylafax choose which modem for outbound ? I do anderstand that inbound works if I have a faxgetty on the tty, which is what I have for ttyS1 only :
$ ps auwx | grep faxgetty
uucp 15125 0.0 0.3 6716 1960 pts/0 S 17:24 0:00 /usr/sbin/faxgetty ttyS1


Thanks

____________________ HylaFAX(tm) Users Mailing List _______________________
To subscribe/unsubscribe, click http://lists.hylafax.org/cgi-bin/lsg2.cgi
On UNIX: mail -s unsubscribe hylafax-users-request@xxxxxxxxxxx < /dev/null
*To learn about commercial HylaFAX(tm) support, mail sales@xxxxxxxxx*





____________________ HylaFAX(tm) Users Mailing List _______________________
 To subscribe/unsubscribe, click http://lists.hylafax.org/cgi-bin/lsg2.cgi
On UNIX: mail -s unsubscribe hylafax-users-request@xxxxxxxxxxx < /dev/null
 *To learn about commercial HylaFAX(tm) support, mail sales@xxxxxxxxx*




Project hosted by iFAX Solutions