[Asterisk-cvs] asterisk/channels chan_zap.c,1.312,1.313

markster at lists.digium.com markster at lists.digium.com
Thu Jul 29 00:40:38 CDT 2004


Update of /usr/cvsroot/asterisk/channels
In directory localhost.localdomain:/tmp/cvs-serv22387/channels

Modified Files:
	chan_zap.c 
Log Message:
Clear things out for the bearer too


Index: chan_zap.c
===================================================================
RCS file: /usr/cvsroot/asterisk/channels/chan_zap.c,v
retrieving revision 1.312
retrieving revision 1.313
diff -u -d -r1.312 -r1.313
--- chan_zap.c	29 Jul 2004 02:07:03 -0000	1.312
+++ chan_zap.c	29 Jul 2004 04:26:42 -0000	1.313
@@ -2187,6 +2187,7 @@
 			ast_log(LOG_DEBUG, "Freeing up bearer channel %d\n", p->bearer->channel);
 			/* Free up the bearer channel as well, and
 			   don't use its file descriptor anymore */
+			update_conf(p->bearer);
 			p->bearer->owner = NULL;
 			p->bearer = NULL;
 			p->subs[SUB_REAL].zfd = -1;




More information about the svn-commits mailing list