aboutsummaryrefslogtreecommitdiffstats
path: root/channels/chan_zap.c
diff options
context:
space:
mode:
authorfile <file@f38db490-d61c-443f-a65b-d21fe96a405b>2007-05-28 23:16:56 +0000
committerfile <file@f38db490-d61c-443f-a65b-d21fe96a405b>2007-05-28 23:16:56 +0000
commit16cfa2cc9da733e6f2ddf16b69c7f431f9cff7d9 (patch)
treedfca1c711b85a534b0d68c65aea1a1cb3842aaab /channels/chan_zap.c
parent67a6c2868d8d9327031fa20fb94b514f27623b9f (diff)
Make the usedistinctiveringdetection option work again. (issue #9823 reported by premeau)
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@66312 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'channels/chan_zap.c')
-rw-r--r--channels/chan_zap.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/channels/chan_zap.c b/channels/chan_zap.c
index c9ffd9e2e..ea02e99a9 100644
--- a/channels/chan_zap.c
+++ b/channels/chan_zap.c
@@ -206,7 +206,6 @@ static char defaultozz[64] = "";
static char progzone[10] = "";
-static int usedistinctiveringdetection = 0;
static int distinctiveringaftercid = 0;
static int numbufs = 4;
@@ -7376,7 +7375,7 @@ static struct zt_pvt *mkintf(int channel, struct zt_chan_conf conf, struct zt_pr
/* Flag to destroy the channel must be cleared on new mkif. Part of changes for reload to work */
tmp->destroy = 0;
tmp->drings = drings;
- tmp->usedistinctiveringdetection = usedistinctiveringdetection;
+ tmp->usedistinctiveringdetection = conf.chan.usedistinctiveringdetection;
tmp->callwaitingcallerid = conf.chan.callwaitingcallerid;
tmp->threewaycalling = conf.chan.threewaycalling;
tmp->adsi = conf.chan.adsi;