mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-05 12:16:00 +00:00
Fix typo for blind transfer (bug #3259)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4696 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -787,7 +787,7 @@ static int dial_exec(struct ast_channel *chan, void *data)
|
||||
memset(tmp, 0, sizeof(struct localuser));
|
||||
if (transfer) {
|
||||
ast_set2_flag(tmp, strchr(transfer, 't'), DIAL_ALLOWREDIRECT_IN);
|
||||
ast_set2_flag(tmp, strchr(transfer, 't'), DIAL_ALLOWREDIRECT_OUT);
|
||||
ast_set2_flag(tmp, strchr(transfer, 'T'), DIAL_ALLOWREDIRECT_OUT);
|
||||
ast_set2_flag(tmp, strchr(transfer, 'r'), DIAL_RINGBACKONLY);
|
||||
ast_set2_flag(tmp, strchr(transfer, 'm'), DIAL_MUSICONHOLD);
|
||||
ast_set2_flag(tmp, strchr(transfer, 'H'), DIAL_ALLOWDISCONNECT_OUT);
|
||||
|
@@ -418,7 +418,6 @@ static int builtin_blindtransfer(struct ast_channel *chan, struct ast_channel *p
|
||||
int res;
|
||||
int len;
|
||||
|
||||
ast_log(LOG_NOTICE, "XXX Blind Transfer %s, %s (sense=%d) XXX\n", chan->name, peer->name, sense);
|
||||
if (sense == FEATURE_SENSE_PEER) {
|
||||
transferer = peer;
|
||||
transferee = chan;
|
||||
|
Reference in New Issue
Block a user