[asterisk-bugs] [Asterisk 0017441]: [patch] priexclusive in chan_dahdi.conf ignored when reloading dahdi module

Asterisk Bug Tracker noreply at bugs.digium.com
Wed Jul 7 09:49:23 CDT 2010


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=17441 
====================================================================== 
Reported By:                mtryfoss
Assigned To:                rmudgett
====================================================================== 
Project:                    Asterisk
Issue ID:                   17441
Category:                   Channels/chan_dahdi
Reproducibility:            always
Severity:                   feature
Priority:                   normal
Status:                     assigned
Target Version:             1.8
Asterisk Version:           1.6.2.7 
JIRA:                       SWP-1624 
Regression:                 No 
Reviewboard Link:            
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Request Review:              
====================================================================== 
Date Submitted:             2010-06-02 03:06 CDT
Last Modified:              2010-07-07 09:49 CDT
====================================================================== 
Summary:                    [patch] priexclusive in chan_dahdi.conf ignored when
reloading dahdi module
Description: 
Set priexclusive=yes i chan_dahdi.conf.

Steps:
1: restart asterisk
2: make call. Is placed with "Exclusive" in SETUP message
3: reload module (or "reload" in older versions)
4: make new call. Is placed with "Preferred" in SETUP message

This prooves that it should be possible to change that parameter on
regular reload instead for full restart? :-)
====================================================================== 

---------------------------------------------------------------------- 
 (0124306) rmudgett (administrator) - 2010-07-07 09:49
 https://issues.asterisk.org/view.php?id=17441#c124306 
---------------------------------------------------------------------- 
The value of exclusive is undefined.  It is a local variable that must be
initialized every time dahdi_call() is called.  The patch tests the random
value of exclusive for zero before initializing the variable.  The patch
only works for you because the value of exclusive is not likely to be zero,
thus requesting the channel to be exclusive.

I now see what is going on and will have a patch later today. 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2010-07-07 09:49 rmudgett       Note Added: 0124306                          
======================================================================




More information about the asterisk-bugs mailing list