summaryrefslogtreecommitdiff
path: root/channels/chan_zap.c
diff options
context:
space:
mode:
authorMatteo Brancaleoni <mbrancaleoni@espia.it>2003-02-18 18:15:30 +0000
committerMatteo Brancaleoni <mbrancaleoni@espia.it>2003-02-18 18:15:30 +0000
commitcf3b725fe906080f6abf3f2ff16eb565660062aa (patch)
tree0de34ae75587bde85880b54639d681ab4e4b986a /channels/chan_zap.c
parent9ea88c182549a8b4961b3fdd7dd63bd364671d52 (diff)
mar feb 18 19:15:15 CET 2003
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@618 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'channels/chan_zap.c')
-rwxr-xr-xchannels/chan_zap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/channels/chan_zap.c b/channels/chan_zap.c
index 9e8c9c028..59e036d7c 100755
--- a/channels/chan_zap.c
+++ b/channels/chan_zap.c
@@ -5385,9 +5385,9 @@ static void *pri_dchannel(void *vpri)
/* Re-use *69 field for PRI */
snprintf(pri->pvt[chan]->lastcallerid, sizeof(pri->pvt[chan]->lastcallerid), "\"%s\" <%s>", e->facname.callingname, e->facname.callingnum);
pri->pvt[chan]->subs[SUB_REAL].needcallerid =1;
+ zt_enable_ec(pri->pvt[chan]);
}
}
- zt_enable_ec(pri->pvt[chan]);
break;
case PRI_EVENT_ANSWER:
chan = e->answer.channel;