I’ve had a search but couldn’t find an answer that fixes my problem. I have a Sangoma A102 E1 card and the Wanpipe drivers are installed.
The problem is ZTDUMMY is loading before wanpipe and taking over SPAN1. I tried re-initialising wanpipe by going to the source dir and executing ./Setup install-init. But This had not fixed the problem.
Asterisk appears to work ok. But when it starts is complains that SPAN1 isn’t SPAN1 and says it’s using SPAN2 instead.
Looking at dmesg when Wanrouter starts it complains.
“WARNING: Span number 1 is already used by another device!
Possible cause: Another TDM driver already loaded!
Solution: Unload wanpipe and check currently
used spans in /proc/zaptel directory.
Reconfiguring device wanpipe1 to new span number # 2”
I’ve checked /proc/zaptel and ztdummy is stealing Span1
Does anyone know how to fix it so the system boots up in the correct order?
(I can fix it manually by unloading everything and modprobing ztdummy after I have loaded wanrouter.)
( I’m trying to rule this out as an issue which is causing my ISDN PRI break with this error: “Mar 28 09:13:33 NOTICE chan_zap.c: PRI got event: HDLC Abort (6) on Primary D-channel of span 2