[asterisk-commits] rmudgett: branch 1.8 r335851 - /branches/1.8/channels/chan_dahdi.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Wed Sep 14 10:53:26 CDT 2011


Author: rmudgett
Date: Wed Sep 14 10:53:25 2011
New Revision: 335851

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=335851
Log:
Fixed cut-n-paste regression using the wrong variable.

Fixes the missing DAHDI channels when using the newer chan_dahdi.conf
sections for channel configuration.

(closes issue ASTERISK-18496)
Reported by: Sean Darcy
Patches:
      jira_asterisk_18496_v1.8.patch (license #5621) patch uploaded by rmudgett
Tested by: Sean Darcy, rmudgett

Modified:
    branches/1.8/channels/chan_dahdi.c

Modified: branches/1.8/channels/chan_dahdi.c
URL: http://svnview.digium.com/svn/asterisk/branches/1.8/channels/chan_dahdi.c?view=diff&rev=335851&r1=335850&r2=335851
==============================================================================
--- branches/1.8/channels/chan_dahdi.c (original)
+++ branches/1.8/channels/chan_dahdi.c Wed Sep 14 10:53:25 2011
@@ -18023,7 +18023,7 @@
 			continue;
 		}
 
-		chans = ast_variable_retrieve(ucfg, cat, "dahdichan");
+		chans = ast_variable_retrieve(cfg, cat, "dahdichan");
 		if (ast_strlen_zero(chans)) {
 			/* Section is useless without a dahdichan value present. */
 			continue;




More information about the asterisk-commits mailing list