summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthew Fredrickson <creslin@digium.com>2007-06-27 21:44:13 +0000
committerMatthew Fredrickson <creslin@digium.com>2007-06-27 21:44:13 +0000
commit7f233a8dc28e47f10fa22f5b7dc128e448070c27 (patch)
tree4f739370428479929f36c0afdfabc1db787d8824
parent8d89f741a5a8f6a3a69a22f0ae61c94f1793319f (diff)
Let's NOT create a deadlock scenario here
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@72304 65c4cc65-6c06-0410-ace0-fbb531ad65f3
-rw-r--r--channels/chan_zap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/channels/chan_zap.c b/channels/chan_zap.c
index 083e05335..389d70b87 100644
--- a/channels/chan_zap.c
+++ b/channels/chan_zap.c
@@ -8782,7 +8782,7 @@ static void *ss7_linkset(void *data)
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);