In combination with the wanpipe ebuild in the freeswitch overlay the updated script now provides support for sangoma cards. Essentially the dahdi-autoconf just needs to start after wanrouter, it will start before but the requires spans in dahdi_scan will be missing, resulting in missing configuration. Starting wanrouter before dahdi-autoconf results in wanpipe being loaded by the init script (forcing it to always be the first spans), but allows dahdi_scan to function correctly. Not many systems will mix/match cards from different providers so the above "restrictions" should not be problematic. Reproducible: Always
Created attachment 292123 [details] dahdi-autoconf.initd For the next version bump thanks Tony.
Created attachment 311179 [details] dahdi-autoconf initd Updated script. Just adds after wanrouter (there is a wanrouter ebuild flying around which isn't yet in-tree ready IMHO, but I do need it on the odd occasion, others might too).
+*dahdi-tools-2.6.1 (08 May 2012) + + 08 May 2012; Tony Vroon <chainsaw@gentoo.org> +dahdi-tools-2.6.1.ebuild, + +files/dahdi-autoconf.init3, -files/dahdi-autoconf.conf, + -files/dahdi-autoconf.init: + Updated autoconf by Jaco Kroon closes bug #390091. Version bump to upstream + release 2.6.1 as requested by Oliver Jaksch in bug #404521.