|
Lines 17754-17765
Link Here
|
| 17754 |
ast_log(LOG_WARNING, "Ignoring any changes to '%s' (on reload) at line %d.\n", v->name, v->lineno); |
17754 |
ast_log(LOG_WARNING, "Ignoring any changes to '%s' (on reload) at line %d.\n", v->name, v->lineno); |
| 17755 |
} |
17755 |
} |
| 17756 |
|
17756 |
|
| 17757 |
/* Since confp has already filled invidual dahdi_pvt objects with channels at this point, clear the variables in confp's pvt. */ |
|
|
| 17758 |
if (confp->chan.vars) { |
| 17759 |
ast_variables_destroy(confp->chan.vars); |
| 17760 |
confp->chan.vars = NULL; |
| 17761 |
} |
| 17762 |
|
| 17763 |
if (dahdichan) { |
17757 |
if (dahdichan) { |
| 17764 |
/* Process the deferred dahdichan value. */ |
17758 |
/* Process the deferred dahdichan value. */ |
| 17765 |
if (build_channels(confp, dahdichan->value, reload, dahdichan->lineno, |
17759 |
if (build_channels(confp, dahdichan->value, reload, dahdichan->lineno, |
|
Lines 17774-17779
Link Here
|
| 17774 |
} |
17768 |
} |
| 17775 |
} |
17769 |
} |
| 17776 |
|
17770 |
|
|
|
17771 |
/* Since confp has already filled invidual dahdi_pvt objects with channels at this point, clear the variables in confp's pvt. */ |
| 17772 |
if (confp->chan.vars) { |
| 17773 |
ast_variables_destroy(confp->chan.vars); |
| 17774 |
confp->chan.vars = NULL; |
| 17775 |
} |
| 17776 |
|
| 17777 |
/* mark the first channels of each DAHDI span to watch for their span alarms */ |
17777 |
/* mark the first channels of each DAHDI span to watch for their span alarms */ |
| 17778 |
for (tmp = iflist, y=-1; tmp; tmp = tmp->next) { |
17778 |
for (tmp = iflist, y=-1; tmp; tmp = tmp->next) { |
| 17779 |
if (!tmp->destroy && tmp->span != y) { |
17779 |
if (!tmp->destroy && tmp->span != y) { |