Summary: | ASTERISK-14248: [patch] Multiple Groups Not working | ||
Reporter: | Gentian Bajraktari (gentian) | Labels: | |
Date Opened: | 2009-06-02 04:13:55 | Date Closed: | 2009-06-05 08:52:09 |
Priority: | Minor | Regression? | No |
Status: | Closed/Complete | Components: | Channels/chan_dahdi |
Versions: | Frequency of Occurrence | ||
Related Issues: | |||
Environment: | Attachments: | ( 0) 15248.patch | |
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. | ||
Comments: | By: Mark Michelson (mmichelson) 2009-06-04 14:35:37 Give the attached patch (15248.patch) a try. Let me know if it fixes the problem. Thanks! By: Gentian Bajraktari (gentian) 2009-06-05 02:42:43 Tried and It works!! thanks alot! By: Digium Subversion (svnbot) 2009-06-05 08:51:10 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 ASTERISK-14248) Reported by: gentian Patches: 15248.patch uploaded by mmichelson (license 60) Tested by: gentian ------------------------------------------------------------------------ http://svn.digium.com/view/asterisk?view=rev&revision=199227 By: Digium Subversion (svnbot) 2009-06-05 08:51:27 Repository: asterisk Revision: 199228 _U branches/1.6.0/ U branches/1.6.0/channels/chan_dahdi.c ------------------------------------------------------------------------ r199228 | mmichelson | 2009-06-05 08:51:27 -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 ASTERISK-14248) Reported by: gentian Patches: 15248.patch uploaded by mmichelson (license 60) Tested by: gentian ........ ------------------------------------------------------------------------ http://svn.digium.com/view/asterisk?view=rev&revision=199228 By: Digium Subversion (svnbot) 2009-06-05 08:51:52 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 ASTERISK-14248) Reported by: gentian Patches: 15248.patch uploaded by mmichelson (license 60) Tested by: gentian ........ ------------------------------------------------------------------------ http://svn.digium.com/view/asterisk?view=rev&revision=199229 By: Digium Subversion (svnbot) 2009-06-05 08:52:08 Repository: asterisk Revision: 199230 _U branches/1.6.2/ U branches/1.6.2/channels/chan_dahdi.c ------------------------------------------------------------------------ r199230 | mmichelson | 2009-06-05 08:52:08 -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 ASTERISK-14248) Reported by: gentian Patches: 15248.patch uploaded by mmichelson (license 60) Tested by: gentian ........ ------------------------------------------------------------------------ http://svn.digium.com/view/asterisk?view=rev&revision=199230 |