summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xchannels/chan_zap.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/channels/chan_zap.c b/channels/chan_zap.c
index b352a1fa6..3b135e279 100755
--- a/channels/chan_zap.c
+++ b/channels/chan_zap.c
@@ -3200,6 +3200,7 @@ static int attempt_transfer(struct zt_pvt *p)
ast_log(LOG_DEBUG, "Neither %s nor %s are in a bridge, nothing to transfer\n",
p->subs[SUB_REAL].owner->name, p->subs[SUB_THREEWAY].owner->name);
p->subs[SUB_THREEWAY].owner->_softhangup |= AST_SOFTHANGUP_DEV;
+ return -1;
}
return 0;
}