tzafrir.cohen at xorco... Guest
|
Posted: Tue Aug 16, 2016 6:26 am Post subject: [asterisk-users] auto_assign_spans=0 [was: Re: DAHDI on Cent |
|
|
On Mon, Aug 15, 2016 at 08:36:43AM -0400, Jerry Geis wrote:
Quote: | What is needed to get DAHDI to start up correctly on CentOS 7 and systemd...
I am using DAHDI-linux-complete 2.11.1
I saw mention in my search that it has been fixed after 2.11.1 but cannot
find
what the fix is.
Thanks,
Jerry
|
There are some good reasons for that. But I'll start with recommending
to set auto_assign_spans=0 . All of our packages have a patch such as:
--- a/drivers/dahdi/dahdi-base.c
+++ b/drivers/dahdi/dahdi-base.c
@@ -7405,7 +7405,7 @@ int dahdi_assign_device_spans(struct dahdi_device *ddev)
return 0;
}
-static int auto_assign_spans = 1;
+static int auto_assign_spans = 0;
static const char *UNKNOWN = "";
Or simpler, applicable at runtime (module load time):
echo options dahdi auto_assign_spans=0 >>/etc/dahdi/modprobe.d/dahdi.conf
For starters, this means you no longer need to disableautomatic module
loading for PCI cards (which was not needed for most systems anyway),
and that on its own avoids most of the need for the init script.
It also avoids unloading the modules at shutdown. Which is a good thing.
Do that, and report what problems you have. Because I don't seem to have
problems with my packages (on Centos 7 and Debian Jessie).
--
Tzafrir Cohen
icq#16849755 jabber:tzafrir.cohen@xorcom.com
+972-50-7952406 mailto:tzafrir.cohen@xorcom.com
http://www.xorcom.com
--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
http://www.asterisk.org/hello
asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users |
|