Sponsor: VoiceMeUp - Corporate & Wholesale VoIP Services

VoIP Mailing List Archives
Mailing list archives for the VoIP community
 SearchSearch 

[asterisk-users] auto_assign_spans=0 [was: Re: DAHDI on CentOS 7]


 
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> Asterisk Users
View previous topic :: View next topic  
Author Message
tzafrir.cohen at xorco...
Guest





PostPosted: Tue Aug 16, 2016 6:26 am    Post subject: [asterisk-users] auto_assign_spans=0 [was: Re: DAHDI on Cent Reply with quote

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
Back to top
Display posts from previous:   
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> Asterisk Users All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group

VoiceMeUp - Corporate & Wholesale VoIP Services