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



Dnia środa, 18 maja 2005 09:15, Daniel Siechniewicz napisał:
> On Tue, 17 May 2005 22:24:08 +0200
>
> Marcin Giedz <marcin.giedz@xxxxxxxxxxxxxx> wrote:
> > In my system we have 3 C4 cards for 12 2B+D lines. Here is my config
> > for first 4 lines:
>
> Thanks a lot, but I still have problems with the card. Could You please
> tell me how and where You initialise the modem(s) (faxmodem faxCAPI or
> faxmodem faxCAPI11, 12, ..., 42) and whether You have a config.c2fax
> and config files (and show me the content please, if You do have them).
> Actually, I still can't figure out which config files are necessary...
OK 

First of all...

1) you need config file called config.faxCAPI in Hylafax installation path - 
in my case /var/spool/hylafax/etc/. The file contains necessary settings for 
the all B channel of each card. Every B channel can send or receive fax. My 
config is rather big but.... here it is:

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:                  4884
    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:                  4884
    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:                  4887
    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:                  4887
    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:                  4888
    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:                  4888
    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:                  4893
    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:                  4893
    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
    }
}

{
    # Controller 1, B-Channel 1
    HylafaxDeviceName:          faxCAPI51
    RecvFileMode:               0666
    FAXNumber:                  4891
    LocalIdentifier:            "C5B1"
    MaxConcurrentRecvs:         1
    OutgoingController:         5
    OutgoingMSN:                2
    SuppressMSN:                0
    NumberPrefix:
    UseISDNFaxService:          0
    RingingDuration:            0
    {
        Controller:             5
        AcceptSpeech:           1
        UseDDI:                 0
        DDIOffset:              "39976"
        DDILength:              3
        IncomingMSNs:           2
        AcceptGlobalCall:       1
    }
}
{
    # Controller 1, B-Channel 2
    HylafaxDeviceName:          faxCAPI52
    RecvFileMode:               0666
    FAXNumber:                  4891
    LocalIdentifier:            "C5B2"
    MaxConcurrentRecvs:         1
    OutgoingController:         5
    OutgoingMSN:                3
    SuppressMSN:                0
    NumberPrefix:
    UseISDNFaxService:          0
    RingingDuration:            0
    {
        Controller:             5
        AcceptSpeech:           1
        UseDDI:                 0
        DDIOffset:              "39976"
        DDILength:              3
        IncomingMSNs:           3
        AcceptGlobalCall:       1
    }
}
{
    # Controller 2, B-Channel 1
    HylafaxDeviceName:          faxCAPI61
    RecvFileMode:               0666
    FAXNumber:                  4865
    LocalIdentifier:            "C6B1"
    MaxConcurrentRecvs:         1
    OutgoingController:         6
    OutgoingMSN:                2
    SuppressMSN:                0
    NumberPrefix:
    UseISDNFaxService:          0
    RingingDuration:            0
    {
        Controller:             6
        AcceptSpeech:           1
        UseDDI:                 0
        DDIOffset:              "39976"
        DDILength:              3
        IncomingMSNs:           2
        AcceptGlobalCall:       1
    }
}
{
    # Controller 2, B-Channel 2
    HylafaxDeviceName:          faxCAPI62
    RecvFileMode:               0666
    FAXNumber:                  4865
    LocalIdentifier:            "C6B2"
    MaxConcurrentRecvs:         1
    OutgoingController:         6
    OutgoingMSN:                3
    SuppressMSN:                0
    NumberPrefix:
    UseISDNFaxService:          0
    RingingDuration:            0
    {
        Controller:             6
        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:          faxCAPI71
    RecvFileMode:               0666
    FAXNumber:                  4866
    LocalIdentifier:            "C7B1"
    MaxConcurrentRecvs:         1
    OutgoingController:         7
    OutgoingMSN:                2
    SuppressMSN:                0
    NumberPrefix:
    UseISDNFaxService:          0
    RingingDuration:            0
    {
        Controller:             7
        AcceptSpeech:           1
        UseDDI:                 0
        DDIOffset:              "39976"
        DDILength:              3
        IncomingMSNs:           2
        AcceptGlobalCall:       1
    }
}
{
    # Controller 3, B-Channel 2
    HylafaxDeviceName:          faxCAPI72
    RecvFileMode:               0666
    FAXNumber:                  4866
    LocalIdentifier:            "C7B2"
    MaxConcurrentRecvs:         1
    OutgoingController:         7
    OutgoingMSN:                3
    SuppressMSN:                0
    NumberPrefix:
    UseISDNFaxService:          0
    RingingDuration:            0
    {
        Controller:             7
        AcceptSpeech:           1
        UseDDI:                 0
        DDIOffset:              "39976"
        DDILength:              3
        IncomingMSNs:           3
        AcceptGlobalCall:       1
    }
}
{
    # Controller 4, B-Channel 1
    HylafaxDeviceName:          faxCAPI81
    RecvFileMode:               0666
    FAXNumber:                  4867
    LocalIdentifier:            "C8B1"
    MaxConcurrentRecvs:         1
    OutgoingController:         8
    OutgoingMSN:                2
    SuppressMSN:                0
    NumberPrefix:
    UseISDNFaxService:          0
    RingingDuration:            0
    {
        Controller:             8
        AcceptSpeech:           1
        UseDDI:                 0
        DDIOffset:              "39976"
        DDILength:              3
        IncomingMSNs:           2
        AcceptGlobalCall:       1
    }
}
{
    # Controller 4, B-Channel 2
    HylafaxDeviceName:          faxCAPI82
    RecvFileMode:               0666
    FAXNumber:                  4867
    LocalIdentifier:            "C8B2"
    MaxConcurrentRecvs:         1
    OutgoingController:         8
    OutgoingMSN:                3
    SuppressMSN:                0
    NumberPrefix:
    UseISDNFaxService:          0
    RingingDuration:            0
    {
        Controller:             8
        AcceptSpeech:           1
        UseDDI:                 0
        DDIOffset:              "39976"
        DDILength:              3
        IncomingMSNs:           3
        AcceptGlobalCall:       1
    }
}

{
    # Controller 1, B-Channel 1
    HylafaxDeviceName:          faxCAPI91
    RecvFileMode:               0666
    FAXNumber:                  4894
    LocalIdentifier:            "C9B1"
    MaxConcurrentRecvs:         1
    OutgoingController:         9
    OutgoingMSN:                2
    SuppressMSN:                0
    NumberPrefix:
    UseISDNFaxService:          0
    RingingDuration:            0
    {
        Controller:             9
        AcceptSpeech:           1
        UseDDI:                 0
        DDIOffset:              "39976"
        DDILength:              3
        IncomingMSNs:           2
        AcceptGlobalCall:       1
    }
}
{
    # Controller 1, B-Channel 2
    HylafaxDeviceName:          faxCAPI92
    RecvFileMode:               0666
    FAXNumber:                  4894
    LocalIdentifier:            "C9B2"
    MaxConcurrentRecvs:         1
    OutgoingController:         9
    OutgoingMSN:                3
    SuppressMSN:                0
    NumberPrefix:
    UseISDNFaxService:          0
    RingingDuration:            0
    {
        Controller:             9
        AcceptSpeech:           1
        UseDDI:                 0
        DDIOffset:              "39976"
        DDILength:              3
        IncomingMSNs:           3
        AcceptGlobalCall:       1
    }
}
{
    # Controller 2, B-Channel 1
    HylafaxDeviceName:          faxCAPI101
    RecvFileMode:               0666
    FAXNumber:                  4869
    LocalIdentifier:            "C10B1"
    MaxConcurrentRecvs:         1
    OutgoingController:         10
    OutgoingMSN:                2
    SuppressMSN:                0
    NumberPrefix:
    UseISDNFaxService:          0
    RingingDuration:            0
    {
        Controller:             10
        AcceptSpeech:           1
        UseDDI:                 0
        DDIOffset:              "39976"
        DDILength:              3
        IncomingMSNs:           2
        AcceptGlobalCall:       1
    }
}
{
    # Controller 2, B-Channel 2
    HylafaxDeviceName:          faxCAPI102
    RecvFileMode:               0666
    FAXNumber:                  4869
    LocalIdentifier:            "C10B2"
    MaxConcurrentRecvs:         1
    OutgoingController:         10
    OutgoingMSN:                3
    SuppressMSN:                0
    NumberPrefix:
    UseISDNFaxService:          0
    RingingDuration:            0
    {
        Controller:             10
        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:          faxCAPI111
    RecvFileMode:               0666
    FAXNumber:                  4892
    LocalIdentifier:            "C11B1"
    MaxConcurrentRecvs:         1
    OutgoingController:         11
    OutgoingMSN:                2
    SuppressMSN:                0
    NumberPrefix:
    UseISDNFaxService:          0
    RingingDuration:            0
    {
        Controller:             11
        AcceptSpeech:           1
        UseDDI:                 0
        DDIOffset:              "39976"
        DDILength:              3
        IncomingMSNs:           2
        AcceptGlobalCall:       1
    }
}
{
    # Controller 3, B-Channel 2
    HylafaxDeviceName:          faxCAPI112
    RecvFileMode:               0666
    FAXNumber:                  4892
    LocalIdentifier:            "C11B2"
    MaxConcurrentRecvs:         1
    OutgoingController:         11
    OutgoingMSN:                3
    SuppressMSN:                0
    NumberPrefix:
    UseISDNFaxService:          0
    RingingDuration:            0
    {
        Controller:             11
        AcceptSpeech:           1
        UseDDI:                 0
        DDIOffset:              "39976"
        DDILength:              3
        IncomingMSNs:           3
        AcceptGlobalCall:       1
    }
}
{
    # Controller 4, B-Channel 1
    HylafaxDeviceName:          faxCAPI121
    RecvFileMode:               0666
    FAXNumber:                  4872
    LocalIdentifier:            "C12B1"
    MaxConcurrentRecvs:         1
    OutgoingController:         12
    OutgoingMSN:                2
    SuppressMSN:                0
    NumberPrefix:
    UseISDNFaxService:          0
    RingingDuration:            0
    {
        Controller:             12
        AcceptSpeech:           1
        UseDDI:                 0
        DDIOffset:              "39976"
        DDILength:              3
        IncomingMSNs:           2
        AcceptGlobalCall:       1
    }
}
{
    # Controller 4, B-Channel 2
    HylafaxDeviceName:          faxCAPI122
    RecvFileMode:               0666
    FAXNumber:                  4872
    LocalIdentifier:            "C12B2"
    MaxConcurrentRecvs:         1
    OutgoingController:         12
    OutgoingMSN:                3
    SuppressMSN:                0
    NumberPrefix:
    UseISDNFaxService:          0
    RingingDuration:            0
    {
        Controller:             12
        AcceptSpeech:           1
        UseDDI:                 0
        DDIOffset:              "39976"
        DDILength:              3
        IncomingMSNs:           3
        AcceptGlobalCall:       1
    }
}

hylafaxeh1:/var/spool/hylafax/etc# 


2) Next do you have running c2faxrecv?: "c2faxrecv -q /var/spool/hylafax" - 
there should be "2x(number of all cards C4) + 2" c2faxrecv processes either 
for sending or receiving. 

3) Hylafax config file /var/spool/hylafax/etc/config should contain 
"SendFaxCmd" option :

LogFacility:            daemon
CountryCode:            48
AreaCode:               22
LongDistancePrefix:
InternationalPrefix:
DialStringRules:        "etc/dialrules"
ServerTracing:          1
SendFaxCmd:             /usr/local/bin/c2faxsend

4) Is your card (C4) initialized OK: try capiinit status - should be something 
like this:

hylafaxeh1:~# capiinit status
1 c4         running  c4-2000          C4 3.11-04 0x2000 28 0xfe6f0000
2 c4         running  c4-2000          C4 3.11-04 0x2000 28 0xfe6f0000
3 c4         running  c4-2000          C4 3.11-04 0x2000 28 0xfe6f0000
4 c4         running  c4-2000          C4 3.11-04 0x2000 28 0xfe6f0000
hylafaxeh1:~#    

if not.... try "capiinit start"

5) I thing that's all you have to do. 

BR,
Marcin
>
> 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