HylaFAX The world's most advanced open source fax server

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

[hylafax-users] modem groups



Hello,
I have 20 modems. Modems ttyIAX[0-9] is for sending faxes. And ttyIAX100[0-9] for incoming. Now I'm testing:
/usr/local/bin/sendfax -n -s na-let -T 1 -R -f 'user@xxxxxxxxxx ' -d '123' /etc/hosts (it uses Modem user1 !!!).
So execute this command three times (with different destination) , and I see, that first job goes to ttyIAX0 modem, and I don't understand why second goes to ttyIAX1005  and third goes to ttyIAX1008? As I understand , the second fax must go to ttyIAX1, and the third must wait in the queue? I want to know how to fix this problem? Maybe I need to play with ModemReadyState for incoming and going modems?


This my confs:

HylaFAX scheduler on god: Running
Modem ttyIAX1005 (): Running and idle
Modem ttyIAX4 (): Running and idle
Modem ttyIAX9 (): Running and idle
Modem ttyIAX1007 (): Running and idle
Modem ttyIAX1 (): Running and idle
Modem ttyIAX1008 (): Running and idle
Modem ttyIAX2 (): Running and idle
Modem ttyIAX1009 (): Running and idle
Modem ttyIAX7 (): Running and idle
Modem ttyIAX1001 (): Running and idle
Modem ttyIAX1002 (): Running and idle
Modem ttyIAX1000 (): Running and idle
Modem ttyIAX1003 (): Running and idle
Modem ttyIAX1006 (): Running and idle
Modem ttyIAX3 (): Running and idle
Modem ttyIAX1004 (): Running and idle
Modem ttyIAX0 (): Running and idle
Modem ttyIAX6 (): Running and idle
Modem ttyIAX8 (): Running and idle
Modem ttyIAX5 (): Running and idle


Modems ttyIAX[0-9] is for sending faxes. And ttyIAX10[0-9] for incoming.
 My config file is:
LogFacility:            daemon
CountryCode:            1
AreaCode:               370
LongDistancePrefix:     1
InternationalPrefix:    00370
DialStringRules:        "etc/dialrules"
ServerTracing:          1
MaxBatchJobs:           1
ModemGroup:             "user1:ttyIAX[01]"
ModemGroup:             "user2:ttyIAX[23]"
ModemGroup:             "user3:ttyIAX4"
ModemGroup:             "user4:ttyIAX5"
ModemGroup:             "user5:ttyIAX6"
ModemGroup:             "user6:ttyIAX7"
FaxrcvdCmd:             bin/faxrcvd
NotifyCmd:              bin/notify
JobControlCmd:          bin/jobcontrol-virtual.sh
JobControlWait:         false


Thanks for help



Project hosted by iFAX Solutions