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

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


A NOTE has been added to this issue. 
====================================================================== 
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:                     closed
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.

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

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

_U  branches/1.6.1/
U   branches/1.6.1/channels/chan_dahdi.c

------------------------------------------------------------------------
r199229 | mmichelson | 2009-06-05 08:51:51 -0500 (Fri, 05 Jun 2009) | 20
lines

Merged revisions 199227 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/trunk

........
  r199227 | mmichelson | 2009-06-05 08:51:08 -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=199229 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-06-05 08:51 svnbot         Checkin                                      
2009-06-05 08:51 svnbot         Note Added: 0106045                          
======================================================================




More information about the asterisk-bugs mailing list