[Asterisk-cvs] asterisk/channels chan_zap.c,1.185,1.186

citats at lists.digium.com citats at lists.digium.com
Wed Mar 10 04:18:23 CST 2004


Update of /usr/cvsroot/asterisk/channels
In directory mongoose.digium.com:/home/citats/cvs/asterisk/channels

Modified Files:
	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.185
retrieving revision 1.186
diff -u -d -r1.185 -r1.186
--- chan_zap.c	10 Mar 2004 08:33:07 -0000	1.185
+++ chan_zap.c	10 Mar 2004 09:11:05 -0000	1.186
@@ -1720,7 +1720,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