From: Jeff Peeler Date: Thu, 23 Jul 2009 19:19:53 +0000 (+0000) Subject: Only set the priindication setting when not performing a reload X-Git-Tag: 1.4.26.2~4^2~54 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=594a236e129c7e4feea6125e550ad5ba394b59db;p=thirdparty%2Fasterisk.git Only set the priindication setting when not performing a reload (closes issue #14696) Reported by: fdecher git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@208380 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/channels/chan_dahdi.c b/channels/chan_dahdi.c index eaa537d4a7..8252d3f1ba 100644 --- a/channels/chan_dahdi.c +++ b/channels/chan_dahdi.c @@ -7653,6 +7653,7 @@ static struct dahdi_pvt *mkintf(int channel, const struct dahdi_chan_conf *conf, for (x = 0; x < 3; x++) tmp->subs[x].dfd = -1; tmp->channel = channel; + tmp->priindication_oob = conf->chan.priindication_oob; } if (tmp) { @@ -7953,7 +7954,6 @@ static struct dahdi_pvt *mkintf(int channel, const struct dahdi_chan_conf *conf, tmp->dahditrcallerid = conf->chan.dahditrcallerid; tmp->restrictcid = conf->chan.restrictcid; tmp->use_callingpres = conf->chan.use_callingpres; - tmp->priindication_oob = conf->chan.priindication_oob; tmp->priexclusive = conf->chan.priexclusive; if (tmp->usedistinctiveringdetection) { if (!tmp->use_callerid) {