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] AVM C4 - Cannot send faxes with more than one conrtoller defined



Użytkownik Daniel Siechniewicz napisał:

Hello!

I have a AVM C4 card, installed a Capi4Hylafax 01.02.03, well, I can
send and receive faxes in standalone mode, but from hylafax only
receiving works. When I try to send anything out, I get this error
message:

JOB 113 (sleeping dest +48xxxxxxxxx pri 126 tts 0:00 killtime 2:58:42):
SEND INCOMPLETE: requeue for 7:16; Protocol error layer 1: Mostly your
ISDN cable is not inserted.

[there's NOTHING wrong with the cable, I can send in stand alone mode
without even geting close to the server room]

This only happens when I define more than one interface in
config.faxCAPI, like this:

{
HylafaxDeviceName: faxCAPI21
RecvFileMode: 0600
# FAXNumber:
# LocalIdentifier: ""
MaxConcurrentRecvs: 2


MaxConcurrentRecvs should be 1 for one B channel configuration....

OutgoingController: 2
SuppressMSN: 0
NumberPrefix:
UseISDNFaxService: 1


UseISDNFaxService 0 or you won't be able to establish connections with old analog fax machines

   RingingDuration:            0
   {
       Controller:             2
       AcceptSpeech:           0
       UseDDI:                 0
       DDIOffset:
       DDILength:              0
       IncomingDDIs:
       IncomingMSNs:
       AcceptGlobalCall:   1
   }
}

{
   HylafaxDeviceName:          faxCAPI22
   RecvFileMode:               0600
#    FAXNumber:
#    LocalIdentifier:            ""
   MaxConcurrentRecvs:         2
   OutgoingController:         2
   SuppressMSN:                0
   NumberPrefix:
   UseISDNFaxService:          1
   RingingDuration:            0
   {
       Controller:             2
       AcceptSpeech:           0
       UseDDI:                 0
       DDIOffset:
       DDILength:              0
       IncomingDDIs:
       IncomingMSNs:
       AcceptGlobalCall:   1
   }
}

(I have just one ISDN terminal usable as of now, but there will be 4 of
them anytime now. The cable is plugged in port 2, just for fun :) )



In my system we have 3 C4 cards for 12 2B+D lines. Here is my config for first 4 lines:

hylafaxeh1:/var/spool/hylafax/etc# cat config.faxCAPI
#
# sample of a config file for a AVM C4 or C2 ISDN controller
#
SpoolDir: /var/spool/fax
FaxRcvdCmd: /var/spool/fax/bin/faxrcvd
FaxReceiveUser: uucp
LogFile: /var/spool/fax/log/c4.log
LogTraceLevel: 4
LogFileMode: 0666

{
# Controller 1, B-Channel 1
HylafaxDeviceName: faxCAPI11
RecvFileMode: 0666
FAXNumber:
LocalIdentifier: "C1B1"
MaxConcurrentRecvs: 1
OutgoingController: 1
OutgoingMSN: 2
SuppressMSN: 0
NumberPrefix:
UseISDNFaxService: 0
RingingDuration: 0
{
Controller: 1
AcceptSpeech: 1
UseDDI: 0
DDIOffset: "39976"
DDILength: 3
IncomingMSNs: 2
AcceptGlobalCall: 1
}
}
{
# Controller 1, B-Channel 2
HylafaxDeviceName: faxCAPI12
RecvFileMode: 0666
FAXNumber:
LocalIdentifier: "C1B2"
MaxConcurrentRecvs: 1
OutgoingController: 1
OutgoingMSN: 3
SuppressMSN: 0
NumberPrefix:
UseISDNFaxService: 0
RingingDuration: 0
{
Controller: 1
AcceptSpeech: 1
UseDDI: 0
DDIOffset: "39976"
DDILength: 3
IncomingMSNs: 3
AcceptGlobalCall: 1
}
}
{
# Controller 2, B-Channel 1
HylafaxDeviceName: faxCAPI21
RecvFileMode: 0666
FAXNumber:
LocalIdentifier: " C2B1"
MaxConcurrentRecvs: 1
OutgoingController: 2
OutgoingMSN: 2
SuppressMSN: 0
NumberPrefix:
UseISDNFaxService: 0
RingingDuration: 0
{
Controller: 2
AcceptSpeech: 1
UseDDI: 0
DDIOffset: "39976"
DDILength: 3
IncomingMSNs: 2
AcceptGlobalCall: 1
}
}
{
# Controller 2, B-Channel 2
HylafaxDeviceName: faxCAPI22
RecvFileMode: 0666
FAXNumber:
LocalIdentifier: "C2B2"
MaxConcurrentRecvs: 1
OutgoingController: 2
OutgoingMSN: 3
SuppressMSN: 0
NumberPrefix:
UseISDNFaxService: 0
RingingDuration: 0
{
Controller: 2
AcceptSpeech: 1
UseDDI: 0
DDIOffset: "39976"
DDILength: 3
IncomingMSNs: 3
AcceptGlobalCall: 1
}
}

#
# C2 User should delete the following part
#

{
# Controller 3, B-Channel 1
HylafaxDeviceName: faxCAPI31
RecvFileMode: 0666
FAXNumber:
LocalIdentifier: "C3B1"
MaxConcurrentRecvs: 1
OutgoingController: 3
OutgoingMSN: 2
SuppressMSN: 0
NumberPrefix:
UseISDNFaxService: 0
RingingDuration: 0
{
Controller: 3
AcceptSpeech: 1
UseDDI: 0
DDIOffset: "39976"
DDILength: 3
IncomingMSNs: 2
AcceptGlobalCall: 1
}
}
{
# Controller 3, B-Channel 2
HylafaxDeviceName: faxCAPI32
RecvFileMode: 0666
FAXNumber:
LocalIdentifier: "C3B2"
MaxConcurrentRecvs: 1
OutgoingController: 3
OutgoingMSN: 3
SuppressMSN: 0
NumberPrefix:
UseISDNFaxService: 0
RingingDuration: 0
{
Controller: 3
AcceptSpeech: 1
UseDDI: 0
DDIOffset: "39976"
DDILength: 3
IncomingMSNs: 3
AcceptGlobalCall: 1
}
}
{
# Controller 4, B-Channel 1
HylafaxDeviceName: faxCAPI41
RecvFileMode: 0666
FAXNumber:
LocalIdentifier: "C4B1"
MaxConcurrentRecvs: 1
OutgoingController: 4
OutgoingMSN: 2
SuppressMSN: 0
NumberPrefix:
UseISDNFaxService: 0
RingingDuration: 0
{
Controller: 4
AcceptSpeech: 1
UseDDI: 0
DDIOffset: "39976"
DDILength: 3
IncomingMSNs: 2
AcceptGlobalCall: 1
}
}
{
# Controller 4, B-Channel 2
HylafaxDeviceName: faxCAPI42
RecvFileMode: 0666
FAXNumber:
LocalIdentifier: "C4B2"
MaxConcurrentRecvs: 1
OutgoingController: 4
OutgoingMSN: 3
SuppressMSN: 0
NumberPrefix:
UseISDNFaxService: 0
RingingDuration: 0
{
Controller: 4
AcceptSpeech: 1
UseDDI: 0
DDIOffset: "39976"
DDILength: 3
IncomingMSNs: 3
AcceptGlobalCall: 1
}
}

Regards,
Marcin

With only one device defined it works all right (I can even send a fax
to myself, which means I don't need to define each channel on each
port separately, unless I want to do concurrent sending, I guess), but
actually as the card has 4 ports, and each should be able to do 2
concurrent connections, it's just not what I want to achieve.


I'm a little trapped in all kinds of config, config.c2fax,
config.faxCAPI, symbolic links and all that. Does anyone have a working
setup of that kind (I mean all 4 porst - 8 channels usable for
CONCURRENT receiving and sending).


Currently I'd like to define two devices (one for each channel on port
2) and be able to send two faxes simultanously (well, sending at least
one at a time would also be nice, for a start).

Thank You for any help, and sorry if my writing seems chaotic :-).

Best regards,
Daniel


____________________ 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