Skip to content
Snippets Groups Projects
Commit a2755568 authored by Richard Mudgett's avatar Richard Mudgett
Browse files

Merged revisions 335852 via svnmerge from

https://origsvn.digium.com/svn/asterisk/branches/10

................
  r335852 | rmudgett | 2011-09-14 11:00:37 -0500 (Wed, 14 Sep 2011) | 18 lines
  
  Merged revisions 335851 via svnmerge from 
  https://origsvn.digium.com/svn/asterisk/branches/1.8
  
  ........
    r335851 | rmudgett | 2011-09-14 10:53:25 -0500 (Wed, 14 Sep 2011) | 11 lines
    
    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
  ........
................


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@335853 65c4cc65-6c06-0410-ace0-fbb531ad65f3
parent ec31b525
No related branches found
No related tags found
No related merge requests found
...@@ -18381,7 +18381,7 @@ static int setup_dahdi_int(int reload, struct dahdi_chan_conf *default_conf, str ...@@ -18381,7 +18381,7 @@ static int setup_dahdi_int(int reload, struct dahdi_chan_conf *default_conf, str
continue; continue;
} }
   
chans = ast_variable_retrieve(ucfg, cat, "dahdichan"); chans = ast_variable_retrieve(cfg, cat, "dahdichan");
if (ast_strlen_zero(chans)) { if (ast_strlen_zero(chans)) {
/* Section is useless without a dahdichan value present. */ /* Section is useless without a dahdichan value present. */
continue; continue;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment