[asterisk-bugs] [Asterisk 0018103]: Need to 'unload' Asterisk before DAHDI

Asterisk Bug Tracker noreply at bugs.digium.com
Thu Oct 7 07:28:35 CDT 2010


The following issue has been RESOLVED. 
====================================================================== 
https://issues.asterisk.org/view.php?id=18103 
====================================================================== 
Reported By:                Raffles
Assigned To:                schmidts
====================================================================== 
Project:                    Asterisk
Issue ID:                   18103
Category:                   General
Reproducibility:            always
Severity:                   trivial
Priority:                   normal
Status:                     resolved
Asterisk Version:           1.6.2.13 
JIRA:                        
Regression:                 No 
Reviewboard Link:            
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Request Review:              
Resolution:                 no change required
Fixed in Version:           
====================================================================== 
Date Submitted:             2010-10-07 04:17 CDT
Last Modified:              2010-10-07 07:28 CDT
====================================================================== 
Summary:                    Need to 'unload' Asterisk before DAHDI
Description: 
When I do a reboot or shutdown of my server, it attempts to unload DAHDI
before it unloads Asterisk.

This means that DAHDI can not unload as it is still in use (by Asterisk).

The run levels of DAHDI need to come after Asterisk (or Asterisk before
DAHDI).

The startup scripts were installed with 'make config' for both DAHDI and
Asterisk.

BTW - I am using Debian if that makes a difference.

====================================================================== 

---------------------------------------------------------------------- 
 (0127775) schmidts (manager) - 2010-10-07 07:28
 https://issues.asterisk.org/view.php?id=18103#c127775 
---------------------------------------------------------------------- 
you have in the your /etc several rcX.d directorys for each runlevel. What
you need is runlevel 0 (shutdown) and 6 (reboot) so you have to check if in
rc0.d and rc6.d the Kxxdahdi has a higher value than Kxxasterisk. 
For example
rc0.d/K20asterisk
rc0.d/K30dahdi

this make sure dahdi will be stoped after asterisk. 
On the other side in rc3.d (normal startup without GUI) you should have
something like K15dahdi and K20asterisk.

best regards 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2010-10-07 07:28 schmidts       Note Added: 0127775                          
2010-10-07 07:28 schmidts       Status                   new => resolved     
2010-10-07 07:28 schmidts       Resolution               open => no change
required
2010-10-07 07:28 schmidts       Assigned To               => schmidts        
======================================================================




More information about the asterisk-bugs mailing list