[Asterisk-cvs] asterisk/channels chan_zap.c,1.171.2.11,1.171.2.12
citats at lists.digium.com
citats at lists.digium.com
Wed Mar 10 04:18:30 CST 2004
Update of /usr/cvsroot/asterisk/channels
In directory mongoose.digium.com:/home/citats/cvs/asterisk-stable/channels
Modified Files:
Tag: v1-0_stable
chan_zap.c
Log Message:
Wipe out p->exten in zt_hangup (bug 1115)
Index: chan_zap.c
===================================================================
RCS file: /usr/cvsroot/asterisk/channels/chan_zap.c,v
retrieving revision 1.171.2.11
retrieving revision 1.171.2.12
diff -u -d -r1.171.2.11 -r1.171.2.12
--- chan_zap.c 10 Mar 2004 08:33:29 -0000 1.171.2.11
+++ chan_zap.c 10 Mar 2004 09:11:12 -0000 1.171.2.12
@@ -1711,7 +1711,8 @@
}
if (p->dsp)
ast_dsp_digitmode(p->dsp,DSP_DIGITMODE_DTMF | p->dtmfrelax);
-
+ if (p->exten)
+ strcpy(p->exten, "");
ast_log(LOG_DEBUG, "Hangup: channel: %d index = %d, normal = %d, callwait = %d, thirdcall = %d\n",
p->channel, index, p->subs[SUB_REAL].zfd, p->subs[SUB_CALLWAIT].zfd, p->subs[SUB_THREEWAY].zfd);
More information about the svn-commits
mailing list