[asterisk-bugs] [Asterisk 0015248]: [patch] Multiple Groups Not working

Asterisk Bug Tracker noreply at bugs.digium.com
Fri Jun 5 08:51:10 CDT 2009


The following issue has been RESOLVED. 
====================================================================== 
https://issues.asterisk.org/view.php?id=15248 
====================================================================== 
Reported By:                gentian
Assigned To:                mmichelson
====================================================================== 
Project:                    Asterisk
Issue ID:                   15248
Category:                   Channels/chan_dahdi
Reproducibility:            have not tried
Severity:                   minor
Priority:                   normal
Status:                     resolved
Asterisk Version:           1.6.0.9 
Regression:                 No 
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Request Review:              
Resolution:                 fixed
Fixed in Version:           
====================================================================== 
Date Submitted:             2009-06-02 04:13 CDT
Last Modified:              2009-06-05 08:51 CDT
====================================================================== 
Summary:                    [patch] Multiple Groups Not working
Description: 
I am using chan_dahdi with 1.6.0.9 and mysql as static realtime. Everything
works fine expect the multiple groups definition. With one group it works
fine but if I do:

group=1,2
channel => 1-16

console> dahdi show channels group 1 (or 2)

shows no channels

if I do:

groups=1;2
channel => 1-16

it shows all channels in group 1 but not in 2.

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

---------------------------------------------------------------------- 
 (0106043) svnbot (reporter) - 2009-06-05 08:51
 https://issues.asterisk.org/view.php?id=15248#c106043 
---------------------------------------------------------------------- 
Repository: asterisk
Revision: 199227

U   trunk/channels/chan_dahdi.c

------------------------------------------------------------------------
r199227 | mmichelson | 2009-06-05 08:51:09 -0500 (Fri, 05 Jun 2009) | 14
lines

Correct "dahdi show channels" output when specifying a group.

Since a DAHDI channel may belong to multiple groups, we need to use
a bitwise and instead of equivalence to determine whether to display
the channel information.


(closes issue https://issues.asterisk.org/view.php?id=15248)
Reported by: gentian
Patches:
      15248.patch uploaded by mmichelson (license 60)
Tested by: gentian


------------------------------------------------------------------------

http://svn.digium.com/view/asterisk?view=rev&revision=199227 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-06-05 08:51 svnbot         Note Added: 0106043                          
2009-06-05 08:51 svnbot         Status                   ready for testing =>
assigned
2009-06-05 08:51 svnbot         Assigned To               => mmichelson      
2009-06-05 08:51 svnbot         Status                   assigned => resolved
2009-06-05 08:51 svnbot         Resolution               open => fixed       
======================================================================




More information about the asterisk-bugs mailing list