Let's NOT create a deadlock scenario here
authorMatthew Fredrickson <creslin@digium.com>
Wed, 27 Jun 2007 21:44:13 +0000 (21:44 +0000)
committerMatthew Fredrickson <creslin@digium.com>
Wed, 27 Jun 2007 21:44:13 +0000 (21:44 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@72304 65c4cc65-6c06-0410-ace0-fbb531ad65f3

channels/chan_zap.c

index 083e053..389d70b 100644 (file)
@@ -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);