Hi,

i don't think the problem is in debian package. I'm using dahdi current version(2.10) compiled from source code and I have the same issue. I've checked the code and I found that the wctdm driver(drivers/dahdi/wctdm.c) don't set the "spantype" so the dahdi core set it as invalid.

From drivers/dahdi/dahdi-base.c:

enum spantypes dahdi_str2spantype(const char *name)
{
    if (strcasecmp("FXS", name) == 0)
        return SPANTYPE_ANALOG_FXS;
    else if (strcasecmp("FXO", name) == 0)
        return SPANTYPE_ANALOG_FXO;
    else if (strcasecmp("ANALOG_MIXED", name) == 0)
        return SPANTYPE_ANALOG_MIXED;
    else if (strcasecmp("E1", name) == 0)
        return SPANTYPE_DIGITAL_E1;
    else if (strcasecmp("T1", name) == 0)
        return SPANTYPE_DIGITAL_T1;
    else if (strcasecmp("J1", name) == 0)
        return SPANTYPE_DIGITAL_J1;
    else if (strcasecmp("BRI_NT", name) == 0)
        return SPANTYPE_DIGITAL_BRI_NT;
    else if (strcasecmp("BRI_TE", name) == 0)
        return SPANTYPE_DIGITAL_BRI_TE;
    else if (strcasecmp("BRI_SOFT", name) == 0)
        return SPANTYPE_DIGITAL_BRI_SOFT;
    else if (strcasecmp("DYNAMIC", name) == 0)
        return SPANTYPE_DIGITAL_DYNAMIC;
    else
        return SPANTYPE_INVALID;
}
EXPORT_SYMBOL(dahdi_str2spantype);

Someone can confirm my opinion?


Luca


--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to