aboutsummaryrefslogtreecommitdiffstats
path: root/channels
diff options
context:
space:
mode:
authorjpeeler <jpeeler@f38db490-d61c-443f-a65b-d21fe96a405b>2009-07-23 19:19:53 +0000
committerjpeeler <jpeeler@f38db490-d61c-443f-a65b-d21fe96a405b>2009-07-23 19:19:53 +0000
commit7741b115c4759bce0fba6d7acb17af8b87eb18e3 (patch)
treea1db6e47d9b2d6e2e5dfdd1f33f006a0316f0e87 /channels
parentf3ca6763bbf06b319d2a51c588a1b292d86f1bfc (diff)
Only set the priindication setting when not performing a reload
(closes issue #14696) Reported by: fdecher git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@208380 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'channels')
-rw-r--r--channels/chan_dahdi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/channels/chan_dahdi.c b/channels/chan_dahdi.c
index eaa537d4a..8252d3f1b 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) {