Uh, don't lock
authorMark Spencer <markster@digium.com>
Mon, 18 Aug 2003 14:05:40 +0000 (14:05 +0000)
committerMark Spencer <markster@digium.com>
Mon, 18 Aug 2003 14:05:40 +0000 (14:05 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1364 65c4cc65-6c06-0410-ace0-fbb531ad65f3

channels/chan_sip.c

index 719a226..87fe841 100755 (executable)
@@ -4474,9 +4474,9 @@ static int attempt_transfer(struct sip_pvt *p1, struct sip_pvt *p2)
        } else {
                ast_log(LOG_NOTICE, "Transfer attempted with no bridged calls to transfer\n");
                if (p1->owner)
-                       ast_softhangup(p1->owner, AST_SOFTHANGUP_DEV);
+                       ast_softhangup_nolock(p1->owner, AST_SOFTHANGUP_DEV);
                if (p2->owner)
-                       ast_softhangup(p2->owner, AST_SOFTHANGUP_DEV);
+                       ast_softhangup_nolock(p2->owner, AST_SOFTHANGUP_DEV);
                return -1;
        }
        return 0;