mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-06 04:30:28 +00:00
Channel is masqueraded, don't keep alive
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@160411 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -756,7 +756,7 @@ static int builtin_blindtransfer(struct ast_channel *chan, struct ast_channel *p
|
|||||||
/* We return non-zero, but tell the PBX not to hang the channel when
|
/* We return non-zero, but tell the PBX not to hang the channel when
|
||||||
the thread dies -- We have to be careful now though. We are responsible for
|
the thread dies -- We have to be careful now though. We are responsible for
|
||||||
hanging up the channel, else it will never be hung up! */
|
hanging up the channel, else it will never be hung up! */
|
||||||
return (transferer == peer) ? AST_PBX_KEEPALIVE : AST_PBX_NO_HANGUP_PEER_PARKED;
|
return 0;
|
||||||
} else {
|
} else {
|
||||||
ast_log(LOG_WARNING, "Unable to park call %s\n", transferee->name);
|
ast_log(LOG_WARNING, "Unable to park call %s\n", transferee->name);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user