[Asterisk-cvs] asterisk/channels chan_zap.c,1.170,1.171

markster at lists.digium.com markster at lists.digium.com
Sat Jan 31 14:13:45 CST 2004


Update of /usr/cvsroot/asterisk/channels
In directory mongoose.digium.com:/tmp/cvs-serv30669/channels

Modified Files:
	chan_zap.c 
Log Message:
Fix add include (bug #966) and small update to bug 890


Index: chan_zap.c
===================================================================
RCS file: /usr/cvsroot/asterisk/channels/chan_zap.c,v
retrieving revision 1.170
retrieving revision 1.171
diff -u -d -r1.170 -r1.171
--- chan_zap.c	31 Jan 2004 19:38:22 -0000	1.170
+++ chan_zap.c	31 Jan 2004 20:22:25 -0000	1.171
@@ -6472,6 +6472,7 @@
 						if (!pri->pvt[chan]->alreadyhungup) {
 							/* we're calling here zt_hangup so once we get there we need to clear p->call after calling pri_hangup */
 							pri->pvt[chan]->alreadyhungup = 1;
+							pri->pvt[chan]->owner->hangupcause = hangup_pri2cause(e->hangup.cause);
 							/* Queue a BUSY instead of a hangup if our cause is appropriate */
 							if (pri->pvt[chan]->owner) {
 								switch(e->hangup.cause) {




More information about the svn-commits mailing list