summaryrefslogtreecommitdiff
path: root/channels
diff options
context:
space:
mode:
Diffstat (limited to 'channels')
-rwxr-xr-xchannels/chan_sip.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/channels/chan_sip.c b/channels/chan_sip.c
index 719a2269a..87fe841e7 100755
--- a/channels/chan_sip.c
+++ b/channels/chan_sip.c
@@ -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;