Hello,
After weeks of fighting with fax reception errors using Hylafax (many bad lines resulting in distorted faxes), I think I’ve found the root of the problem: DAHDI is not getting the timing sources correctly. According to this configuration:
[quote]span=1,1,0,ccs,hdb3,crc4
bchan=1-15,17-31
hardhdlc=16
span=2,0,0,ccs,hdb3
bchan=32-46,48-62
hardhdlc=47
span=3,0,0,ccs,hdb3
bchan=63-77,79-93
hardhdlc=78
span=4,0,0,ccs,hdb3,crc4
bchan=94-108,110-124
hardhdlc=109
[/quote]
Only span 1 should be taken as a clock source. However, after starting DAHDI with this setup and running dahdi_scan, the four spans have “syncsrc=1”.
The card is a Digium TE410P (4x E1 PCI).
Furthermore, I have set up another server with an identical card and I experience the same problem. For instance, if I use this:
[quote]span=1,3,0,ccs,hdb3,crc4
bchan=1-15,17-31
hardhdlc=16
span=2,2,0,ccs,hdb3,crc4
bchan=32-46,48-62
hardhdlc=47
span=3,1,0,ccs,hdb3,crc4
bchan=63-77,79-93
hardhdlc=78
#span=4,0,0,ccs,hdb3,crc4
#bchan=94-108,110-124
#hardhdlc=109
[/quote]
All spans have “syncsrc=3” (including span 4, unconfigured).
It looks like the wct4xxp driver is messing up with this parameter, taking into account only the first spans’ value and then setting up all the spans competing to be the main clock source, using whichever priority number is configured for span 1.
I’m using DAHDI 2.9.1.1 (latest release).
Is there a workaround for this?