chan_dahdi: Don't ignore setvar when using configuration section scheme.
authorRichard Mudgett <rmudgett@digium.com>
Fri, 19 Dec 2014 17:34:33 +0000 (17:34 +0000)
committerRichard Mudgett <rmudgett@digium.com>
Fri, 19 Dec 2014 17:34:33 +0000 (17:34 +0000)
commitb508b3474eeb6a415a1886571e59d08c228a773e
tree4512df2dda9a3b7c9a36695384a071b820151159
parent07d10123838af4cac65f0378ab96a46d5d5421e4
chan_dahdi: Don't ignore setvar when using configuration section scheme.

When the configuration section scheme of chan_dahdi.conf is used (keyword
dahdichan instead of channel) all setvar= options are completely ignored.
No variable defined this way appears in the created DAHDI channels.

* Move the clearing of setvar values to after the deferred processing of
dahdichan.

AST-1378 #close
Reported by: Guenther Kelleter
Patch by: Guenther Kelleter
........

Merged revisions 429825 from http://svn.asterisk.org/svn/asterisk/branches/11
........

Merged revisions 429829 from http://svn.asterisk.org/svn/asterisk/branches/13

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@429830 65c4cc65-6c06-0410-ace0-fbb531ad65f3
channels/chan_dahdi.c