hylafax:fritzcard_c4-unterstützung

Fritz!Card C4 Unterstützung

auf der Mailingliste hylafax-users gabs einmal folgenden Beitrag (Re: [hylafax-users] AVM C4 - Cannot send faxes with more than one controller defined). Die Originalinformationen finden sich auch im Paket capi4hylafax und liegen bei Ubuntu in /usr/share/doc/capi4hylafax/examples/ in der Datei sample_AVMC4_config.faxCAPI.gz. Ausgabe mit

zless /usr/share/doc/capi4hylafax/examples/sample_AVMC4_config.faxCAPI.gz

Da steht alles komplett zur C2 und zur C4 drin, da ich aber nur das Setup einer C4 brauche, ist es hier angepasst. Jeder konfigurierte B-Kanal kann übrigens Faxe empfangen oder senden.

Datei /etc/hylafax/config.faxCAPI

Mit dem unten stehenden Ansatz muss man dann aber noch mindestens Symlinks für die (mit HylafaxDeviceName definierten) Einzelmodems anlegen.

ln -s config.faxCAPI config.faxCAPI11
ln -s config.faxCAPI config.faxCAPI12

usw. mit ls -l sieht man dann folgende Zeilen:

lrwxrwxrwx 1 root root    14 2007-04-02 11:31 config.faxCAPI11 -> config.faxCAPI
lrwxrwxrwx 1 root root    14 2007-04-02 11:31 config.faxCAPI12 -> config.faxCAPI
lrwxrwxrwx 1 root root    14 2007-04-02 11:31 config.faxCAPI21 -> config.faxCAPI
lrwxrwxrwx 1 root root    14 2007-04-02 11:32 config.faxCAPI22 -> config.faxCAPI
lrwxrwxrwx 1 root root    14 2007-04-02 11:32 config.faxCAPI31 -> config.faxCAPI
lrwxrwxrwx 1 root root    14 2007-04-02 11:32 config.faxCAPI32 -> config.faxCAPI
lrwxrwxrwx 1 root root    14 2007-04-02 11:32 config.faxCAPI41 -> config.faxCAPI
lrwxrwxrwx 1 root root    14 2007-04-02 11:32 config.faxCAPI42 -> 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:            0640

{
    # Controller 1, B-Channel 1
    HylafaxDeviceName:          faxCAPI11
    RecvFileMode:               0640
    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:               0640
    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:               0640
    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:               0640
    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:               0640
    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:               0640
    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:               0640
    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:               0640
    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
    }
}