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



adding ModemGroup: "any: ttyS0" to /var/spool/hylafax/etc/config freezes the sending of fax, nothing is sent anyore :-(
My job ends like this:
18 127 F uucp 4333 0:0 0:12 Kill time expired


So I removed the (ModemGroup: "any: ttyS0") and now if I send a fax to ttyS0 phone number (4949) it uses ttyS0 to sends it, obviously it is busy, and if I send a fax to the ttyS1 phone number (4333) it's ttyS1 that tries to send it, again obviously busy :-(
It's getting me crazy ,


Any idea on how can I force the sending and incoming fax ?, I just one one of my modem to send to the other one, I can I force the outgoing modem ?
thanks


PS here's the situation:
$ 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
18   127 F   uucp 4333          0:0   0:12         Kill time expired
19   125 F   uucp 4333          0:2   2:12         Job aborted by request

JID  Pri S  Owner Number       Pages Dials     TTS Status
20   124 S   uucp 4949          0:2   3:12   13:26 Busy signal detected
21   125 S   uucp 4333          0:2   2:12   13:25 Busy signal detected


Jehan PROCACCIA wrote:


OK, I just added :
ModemGroup: "any: ttyS0"
I restarted hylafax and resent my fax , because the other one had "to many attempts to dial" :-(
and now isn't transmitted at all anymore !?


$ 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


JID  Pri S  Owner Number       Pages Dials     TTS Status
18   127 W   uucp 4333          0:0   0:12

Even if I force it now:
-bash-3.00$ faxalter -v -a now 18
Trying localhost (127.1.0.1) at port 4559...
Connected to localhost.
220 hylafax.int-evry.fr server (HylaFAX (tm) Version 4.2.3) ready.
-> USER uucp
230 User uucp logged in.
-> JOB 18
200 Current job: jobid: 18 groupid: 18.
-> JSUSP
200 Job 18 suspended.
-> JPARM SENDTIME NOW
213 SENDTIME set to NOW.
-> JSUBM
200 Job 18 submitted.
Job 18: done.

By the way is it possible to resend the "to many attempts to dial"
$ su - uucp
-bash-3.00$ faxstat -ds
JID Pri S Owner Number Pages Dials TTS Status
17 116 F uucp 4333 0:2 12:12 Busy signal detected; too
-bash-3.00$ faxalter -v -a now 17
Trying localhost (127.1.0.1) at port 4559...
Connected to localhost.
220 hylafax.int-evry.fr server (HylaFAX (tm) Version 4.2.3) ready.
-> USER uucp
230 User uucp logged in.
-> JOB 17
200 Current job: jobid: 17 groupid: 17.
-> JSUSP
504 Job 17 not suspended; already done.


Thanks.

Darren Nickerson wrote:

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*




____________________ 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