[svn-commits] mattf: trunk r72304 - /trunk/channels/chan_zap.c

SVN commits to the Digium repositories svn-commits at lists.digium.com
Wed Jun 27 16:44:13 CDT 2007


Author: mattf
Date: Wed Jun 27 16:44:13 2007
New Revision: 72304

URL: http://svn.digium.com/view/asterisk?view=rev&rev=72304
Log:
Let's NOT create a deadlock scenario here

Modified:
    trunk/channels/chan_zap.c

Modified: trunk/channels/chan_zap.c
URL: http://svn.digium.com/view/asterisk/trunk/channels/chan_zap.c?view=diff&rev=72304&r1=72303&r2=72304
==============================================================================
--- trunk/channels/chan_zap.c (original)
+++ trunk/channels/chan_zap.c Wed Jun 27 16:44:13 2007
@@ -8782,7 +8782,7 @@
 				ast_mutex_lock(&p->lock);
 				if (p->owner) {
 					p->owner->hangupcause = e->rel.cause;
-					ast_queue_hangup(p->owner);
+					p->owner->_softhangup |= AST_SOFTHANGUP_DEV;
 				} else
 					ast_log(LOG_WARNING, "REL on channel (CIC %d) without owner!\n", p->cic);
 




More information about the svn-commits mailing list