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] Problem with mass faxing



If I send a mass fax using sendfax and the -z option, all jobs try to be

what does the "-z" option? i can't find this in the man page.


processed at the same time - since there are only 4 channels to communicate,
the other jobs in the queue are re-queued with error message
"Connection dropped with Reason 0x34AF (Resources unavailable,
unspecified)". After ten minutes, it starts again - all remaining jobs try
to communicate with the modem the same time - the first 4 jobs in the
queue are being processed, the others re-queued (and so on).

when you set all devices to outgoing-controller 2 (or 1) only 2 jobs (=2 B-Channels) should be successful.
"Controller" is the S0-port.



Unfortunately, the OutgoingController value (set to "1" or to "2" for all virtual devices) does not work - any ideas on how to enable sending for specific devices only, e.g. Controller number 1 ?

are the jobs really sent through an other controller as specified according to the logs? this option should work as it does in my installation.
you should see something like


CapiFaxSend - INFO: Try to connect to fax number xxx in Hylafax mode on controller 2.

Furthermore, I would like to restrict sending to two B-channels only
(so regardless of the number of send jobs in the queue, receiving
faxes should be possible as two B-channels are always left unused
by sendfax in my configuration).

define only that amount of different devices you want to offer to hylafax for sending.
an example for only one device (leading to only one outgoing job at the same time) is:


#
#   config file for the AVM C4 ISDN controller
#

SpoolDir:               /var/spool/fax
FaxRcvdCmd:             /var/spool/fax/bin/faxrcvd
PollRcvdCmd:            /var/spool/fax/bin/pollrcvd
FaxReceiveUser:         fax
FaxReceiveGroup:        dialout
LogTraceLevel:          4
LogFileMode:            0644
LogFile:                /var/log/capifax.log


{ # Controller 1+2, all B-Channels HylafaxDeviceName: faxCAPI RecvFileMode: 0644 FAXNumber: +1.2.3456789 LocalIdentifier: "company name" MaxConcurrentRecvs: 2

this allows 2 receiving B-channels. the other 2 are for sending.


    OutgoingController:         2
    OutgoingMSN:
    SuppressMSN:                0
    NumberPrefix:
    UseISDNFaxService:          0
    RingingDuration:            0
    {
        Controller:             1
        AcceptSpeech:           1
        UseDDI:                 1
        DDIOffset:              "23456789"
        DDILength:              4
        IncomingDDIs:           "1111-9999"
        IncomingMSNs:
        AcceptGlobalCall:       1
    }
    {
        Controller:             1
        AcceptSpeech:           1
        UseDDI:                 1
        DDIOffset:              "23456789"
        DDILength:              4
        IncomingDDIs:           "1111-9999"
        IncomingMSNs:
        AcceptGlobalCall:       1
    }
    {
        Controller:             2
        AcceptSpeech:           1
        UseDDI:                 1
        DDIOffset:              "23456789"
        DDILength:              4
        IncomingDDIs:           "1111-9999"
        IncomingMSNs:
        AcceptGlobalCall:       1
    }
    {
        Controller:             2
        AcceptSpeech:           1
        UseDDI:                 1
        DDIOffset:              "23456789"
        DDILength:              4
        IncomingDDIs:           "1111-9999"
        IncomingMSNs:
        AcceptGlobalCall:       1
    }
}


-- holger


____________________ 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@xxxxxxxxxxxx*




Project hosted by iFAX Solutions