Fix typo for blind transfer (bug #3259)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4696 65c4cc65-6c06-0410-ace0-fbb531ad65f3
1.2-netsec
Mark Spencer 21 years ago
parent 9ff8416c79
commit 51880b7ddc

@ -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;

Loading…
Cancel
Save