HylaFAX The world's most advanced open source fax server

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

[hylafax-users] Problem with mass faxing



Hello group,

I use a AVM C4 with two BRI connections, i.e. 4 B-channels.


Unfortunately, I have encountered some problems with mass faxing:

If I send a mass fax using sendfax and the -z option, all jobs try to be
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).

Since these impossible tries are counted against the MaxTries value
(=12 tries), a lot of jobs are rejected when using a large mass faxing
recipient file as they reach the MaxTries value.

Is there a way to tell sendfax not to try to send a job unless a prior
job has been fully processed, i.e. the device is ready again ? Or to
set a delay to, let´s say  "+ n minutes", between the single send jobs ?


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).

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 ?


Thank you for your help !

Christoph


My config.faxCAPI looks as follows:

#
#   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, B-Channel 1
    HylafaxDeviceName:          faxCAPI11
    RecvFileMode:               0644
    FAXNumber:                  +1.2.3456789
    LocalIdentifier:            "company name"
    MaxConcurrentRecvs:         1
    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, B-Channel 2
    HylafaxDeviceName:          faxCAPI12
    RecvFileMode:               0644
    FAXNumber:                  +1.2.3456789
    LocalIdentifier:            "company name"
    MaxConcurrentRecvs:         1
    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 2, B-Channel 1
    HylafaxDeviceName:          faxCAPI21
    RecvFileMode:               0644
    FAXNumber:                  +1.2.3456789
    LocalIdentifier:            "company name"
    MaxConcurrentRecvs:         1
    OutgoingController:         2
    OutgoingMSN:
    SuppressMSN:                0
    NumberPrefix:
    UseISDNFaxService:          0
    RingingDuration:            0
    {
        Controller:             2
        AcceptSpeech:           1
        UseDDI:                 1
        DDIOffset:              "23456789"
        DDILength:              4
        IncomingDDIs:           "1111-9999"
        IncomingMSNs:
        AcceptGlobalCall:       1
    }
}
{
    # Controller 2, B-Channel 2
    HylafaxDeviceName:          faxCAPI22
    RecvFileMode:               0644
    FAXNumber:                  +1.2.3456789
    LocalIdentifier:            "company name"
    MaxConcurrentRecvs:         1
    OutgoingController:         2
    OutgoingMSN:
    SuppressMSN:                0
    NumberPrefix:
    UseISDNFaxService:          0
    RingingDuration:            0
    {
        Controller:             2
        AcceptSpeech:           1
        UseDDI:                 1
        DDIOffset:              "23456789"
        DDILength:              4
        IncomingDDIs:           "1111-9999"
        IncomingMSNs:
        AcceptGlobalCall:       1
    }
}



____________________ 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